indent testype purchase vat

This commit is contained in:
Sampanna Rimal
2024-08-08 12:16:46 +05:45
parent 52f9c0dd15
commit 9f5ba32db2
17 changed files with 255 additions and 143 deletions

View File

@ -608,10 +608,16 @@ class bibaccounts
<?php } ?>
<tbody>
<?php foreach ($accountCategories as $accountCategory) : ?>
<?php //print_r($accountCategory);die; ?>
<?php if ($ReportOptions['showZeroBalances'] && $accountCategory->isZero == true) continue; ?>
<tr class="<?php echo ($accountCategory->isParent) ? ' parent-row' : ''; ?>" data-toggle="collapse" data-target="#accategory_<?php echo $accountCategory->accategory_id; ?>">
<td class="group-name"><b><?php echo $accountCategory->accategory_name; ?></b></td>
<td class="group-name">
<?php if($accountCategory->parent_category_id): ?>
<?php echo "&nbsp;&nbsp;". $accountCategory->accategory_name; ?>
<?php else: ?>
<b><?php echo $accountCategory->accategory_name; ?></b>
<?php endif; ?>
</td>
<?php if ($ReportOptions['showOB']) : ?>
<td class="group-total text-bold underline" width="<?php echo $ReportOptions['AmountColWidth']; ?>"><?php echo myCurrency(($accountCategory->posting_side == 'DR') ? $accountCategory->opening_balance : 0); ?></td>
<td class="group-total text-bold underline" width="<?php echo $ReportOptions['AmountColWidth']; ?>"><?php echo myCurrency(($accountCategory->posting_side == 'CR') ? $accountCategory->opening_balance : 0); ?></td>