latest commit 20-05-2025
This commit is contained in:
parent
a30f939c8c
commit
551e1a0eb1
@ -3443,6 +3443,7 @@ if (!empty($INRSYMBOL)) {
|
||||
|
||||
var Total = (parseFloat(basicval) + parseFloat(AfterCgst) + parseFloat(AfterSgst) + parseFloat(AfterIgst) + parseFloat(OtherAmt) - parseFloat(AfterDisVal) + parseFloat(AfterFreightAmountloc)).toFixed(2);
|
||||
|
||||
Total = isNaN(Total) ? 0 : Total ;
|
||||
|
||||
var TotalOrderValuePerkg = $("#txtTotalOrderValue").val();
|
||||
|
||||
|
||||
@ -1006,7 +1006,20 @@ $(document).ready(function () {
|
||||
<?php if ($CapitalRange == '1') { ?>
|
||||
<td style="text-align:right !important"><?php echo $record->ServiceTaxamount; ?></td>
|
||||
<td style="text-align:right !important">
|
||||
<?php echo number_format($record->Rate * $record->Quantity + $record->ServiceTaxamount + $record->otherallowance + $record->Afvalue - $record->Afterdiscountval, 2, '.', '') ?>
|
||||
<?php
|
||||
$rate = (float) $record->Rate;
|
||||
$quantity = (float) $record->Quantity;
|
||||
$serviceTax = (float) $record->ServiceTaxamount;
|
||||
$otherAllowance = (float) $record->otherallowance;
|
||||
$afValue = (float) $record->Afvalue;
|
||||
$afterDiscount = (float) $record->Afterdiscountval;
|
||||
|
||||
$total = $rate * $quantity + $serviceTax + $otherAllowance + $afValue - $afterDiscount;
|
||||
|
||||
echo is_nan($total) || !is_finite($total)
|
||||
? '0.00'
|
||||
: number_format($total, 2, '.', '');
|
||||
?>
|
||||
</td>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user