daily & hourly report
This commit is contained in:
@@ -1110,15 +1110,17 @@ $(function() {
|
||||
});
|
||||
if (inclusive_tax >0){
|
||||
inclusive_total = total_price / inclusive_tax;
|
||||
total_price = total_price;
|
||||
}
|
||||
if (exclusive_tax >0){
|
||||
exclusive_total = total_price * exclusive_tax;
|
||||
total_price = total_price + exclusive_total;
|
||||
}
|
||||
total_price = total_price + exclusive_total + inclusive_total;
|
||||
|
||||
var fixed_total_price = parseFloat(total_price).toFixed(2);
|
||||
var fixed_taxable_amount = parseFloat(taxable_amount).toFixed(2);
|
||||
$('#total_tax').empty();
|
||||
$('#total_tax').append(exclusive_total + inclusive_total);
|
||||
$('#total_tax').append(parseInt(exclusive_total) + parseInt(inclusive_total));
|
||||
|
||||
$('#sub_total').empty();
|
||||
$('#sub_total').append(fixed_total_price);
|
||||
|
||||
Reference in New Issue
Block a user