GWM : View igr total

This commit is contained in:
Gowtham M 2025-03-07 17:09:50 +05:30
parent dd3a61beb3
commit dbaaa6fccd
2 changed files with 6 additions and 6 deletions

View File

@ -408,7 +408,7 @@ class Inwardgateregister_model extends Model
FROM t_igr_details IGRD
LEFT JOIN t_purchaseorder_lineitem POL ON PONO = POL.PONO AND IGRD.MaterialCode = POL.MaterialCode
LEFT JOIN t_revenue_tax tax ON tax.LineItemNo = POL.LineItemNo
WHERE IGRD.IGRNO = igr.IGRNO AND IGRD.QuantityAsPerInvoice != 0
WHERE IGRD.IGRNO = igr.IGRNO AND IGRD.QuantityAsPerInvoice != 0 and igr.PONO = POL.PONO
GROUP BY POL.PONO
LIMIT 1
)
@ -420,7 +420,7 @@ class Inwardgateregister_model extends Model
FROM t_igr_details IGRD
LEFT JOIN t_purchaseorder_lineitem POL ON PONO = POL.PONO AND IGRD.MaterialCode = POL.MaterialCode
LEFT JOIN t_service_tax tax ON tax.LineItemNo = POL.LineItemNo
WHERE IGRD.IGRNO = igr.IGRNO AND IGRD.QuantityAsPerInvoice != 0
WHERE IGRD.IGRNO = igr.IGRNO AND IGRD.QuantityAsPerInvoice != 0 and igr.PONO = POL.PONO
GROUP BY POL.PONO
LIMIT 1
)

View File

@ -226,9 +226,9 @@
<!-- Rec qty changed to invoice qty -->
<th>Invoice Qty</th>
<th>Net weight</th>
<!-- <th>Taxable Amt</th>
<th>Taxable Amt</th>
<th>Tax Amt</th>
<th>Total Amt</th> -->
<th>Total Amt</th>
<th>Vechicle No</th>
<th>Driver</th>
<th>Transporter</th>
@ -281,9 +281,9 @@
<td align="right"><?php echo (int)$record->ReceivedQuantity ?></td>
<td align="right"><?php echo (int)$record->NetWeight ?></td>
<!-- <td align="right"><?php echo (int)$record->taxable_value ?></td>
<td align="right"><?php echo (int)$record->taxable_value ?></td>
<td align="right"><?php echo (int)$record->gst_amount ?></td>
<td align="right"><?php echo ((int)$record->taxable_value + (int)$record->gst_amount) ?></td> -->
<td align="right"><?php echo ((int)$record->taxable_value + (int)$record->gst_amount) ?></td>
<td><?php echo $record->VehicleNo ?></td>
<td><?php echo $record->DriverName ?></td>