monthly gst total issue fixed
This commit is contained in:
parent
9f8f8f6ae8
commit
02051be709
@ -230,27 +230,27 @@
|
|||||||
<td style="text-align:center"><span><?php echo $rel->doc_type;?></span></td>
|
<td style="text-align:center"><span><?php echo $rel->doc_type;?></span></td>
|
||||||
<td style="text-align:center"><span><?php echo $rel->hsn_code;?></span></td>
|
<td style="text-align:center"><span><?php echo $rel->hsn_code;?></span></td>
|
||||||
<td style="text-align:right"><span><?php
|
<td style="text-align:right"><span><?php
|
||||||
$tot_val= $tot_val + round($rel->value,2);
|
$tot_val= $tot_val + $rel->value;
|
||||||
echo $rel->value;
|
echo $rel->value;
|
||||||
?></span></td>
|
?></span></td>
|
||||||
<td style="text-align:right"><span><?php
|
<td style="text-align:right"><span><?php
|
||||||
$tot_oth= $tot_oth + round($rel->others,2);
|
$tot_oth= $tot_oth + $rel->others;
|
||||||
echo $rel->others;
|
echo $rel->others;
|
||||||
?></span></td>
|
?></span></td>
|
||||||
<td style="text-align:right"><span><?php
|
<td style="text-align:right"><span><?php
|
||||||
$tot_sgst= $tot_sgst + round($rel->sgst,2);
|
$tot_sgst= $tot_sgst + $rel->sgst;
|
||||||
echo $rel->sgst;
|
echo $rel->sgst;
|
||||||
?></span></td>
|
?></span></td>
|
||||||
<td style="text-align:right"><span><?php
|
<td style="text-align:right"><span><?php
|
||||||
$tot_cgst= $tot_cgst + round($rel->cgst,2);
|
$tot_cgst= $tot_cgst + $rel->cgst;
|
||||||
echo $rel->cgst;
|
echo $rel->cgst;
|
||||||
?></span></td>
|
?></span></td>
|
||||||
<td style="text-align:right"><span><?php
|
<td style="text-align:right"><span><?php
|
||||||
$tot_igst= $tot_igst + round($rel->igst,2);
|
$tot_igst= $tot_igst + $rel->igst;
|
||||||
echo $rel->igst;
|
echo $rel->igst;
|
||||||
?></span></td>
|
?></span></td>
|
||||||
<td style="text-align:right"><span><?php
|
<td style="text-align:right"><span><?php
|
||||||
$tot_tot= $tot_tot + round($rel->total,2);
|
$tot_tot= $tot_tot + $rel->total;
|
||||||
echo $rel->total;
|
echo $rel->total;
|
||||||
?></span></td>
|
?></span></td>
|
||||||
|
|
||||||
@ -294,7 +294,7 @@
|
|||||||
<strong>
|
<strong>
|
||||||
<?php
|
<?php
|
||||||
{
|
{
|
||||||
echo number_format($tot_sgst,2,'.','');
|
echo $tot_sgst;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user