This commit is contained in:
Sampanna Rimal
2024-08-11 17:29:32 +05:45
parent 0f5bafdf3e
commit 16246fbdeb
8 changed files with 28 additions and 15 deletions

View File

@ -209,11 +209,10 @@
</tr>
</thead>
<tbody>
<?php $Total = 0;$PTotal=0;$STotal=0;$CTotal=0;
foreach ($StockRecords as $TableRow) : ?>
foreach ($StockRecords as $index=>$TableRow) : ?>
<tr>
<td></td>
<td><?php echo $index+1; ?></td>
<td><?php echo ($TableRow->Item)?$TableRow->Item->title:"N/A"; ?></td>
<td><?php echo getFieldfromValue("tbl_units", "title", "unit_id", $TableRow->Item->units_id); ?></td>
<td class="text-right"><?php echo $TableRow->Summary->Opening->qty; ?></td>