changes for bbnepal

This commit is contained in:
2024-10-07 11:41:27 +05:45
parent e3c8a3b5fe
commit 967642f2be
12 changed files with 151 additions and 25 deletions

View File

@ -12,17 +12,22 @@
<table class="table table-bordered table-striped dataTable">
<thead>
<tr>
<th class=" col-1 text-center"><?php myLang('ID'); ?></th>
<th class=" col-1 text-center"><?php myLang('Sales Voucher #'); ?></th>
<th class=" col-1 text-center"><?php myLang('Item'); ?></th>
<th class="col-1"><?php myLang('Date'); ?></th>
<th><?php myLang('Transaction'); ?></th>
<th class="table-col col-1 text-center"><?php myLang('Amount'); ?></th>
<th class="text-center" width="5%"> <?php myLang('Action'); ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($SalesRecords as $TableRow) : ?>
<tbody>
<?php $n=0 ; ?>
<?php foreach ($SalesRecords as $key=>$TableRow) : ?>
<tr>
<td class="text-center"><?php echo ++$n; ?></td>
<td class="text-center"><?php echo $TableRow->sales_id; ?></td>
<td class="text-center"><?php echo ($TableRow->Details[$key]->Item->title) ?? ""; ?></td>
<td><?php echo $TableRow->sales_date; ?></td>
<td><?php echo $this->myaccounts->getAccountDetails($TableRow->accounts_id)->account_name; ?>
</td>