export excel second

This commit is contained in:
2024-09-30 17:25:58 +05:45
parent 4683fe67a7
commit ec6bfaf7ff
3 changed files with 46 additions and 11 deletions

View File

@@ -229,7 +229,7 @@ $BIBAccounts = new BIBAccounts();
?>
<div class="col-6 p-0">
<div class="table-responsive">
<table id='myTable' class="table ">
<table id='myTable' class="table">
<thead>
<tr>
<th class="group-name pl-1">Particulars</th>
@@ -250,10 +250,10 @@ $BIBAccounts = new BIBAccounts();
<?php foreach ($AccountGroups as $group) : ?>
<tr>
<td colspan="2" class="p-0">
<div id="group_<?php echo $group->acgroup_id; ?>" class="">
<!-- <div id="group_<?php echo $group->acgroup_id; ?>" class=""> -->
<?php $Accountcategories = $BIBAccounts->getRootCategoriesWithBalances($group->acgroup_id); ?>
<?php $BIBAccounts->renderAccountCategoriesTable($Accountcategories, $ReportOptions, false, array()); ?>
</div>
<!-- </div> -->
</td>
</tr>
@@ -275,15 +275,15 @@ $BIBAccounts = new BIBAccounts();
<tfoot>
<?php $PL = $incomes_totalClosingCr - $incomes_totalClosingDr; ?>
<tr>
<th class="p-1">Total Incomes</th>
<th class="cr closing-cr text-bold">
<td class="p-1">Total Incomes</th>
<td class="cr closing-cr text-bold">
<?php if ($PL > 0) : ?>
<?php echo myCurrency($incomes_totalClosingCr); ?>
<?php else : ?>
<?php echo myCurrency($incomes_totalClosingCr + abs($PL)); ?>
<?php endif; ?>
</th>
</tr>
</tfoot>
</table>
@@ -312,11 +312,11 @@ $BIBAccounts = new BIBAccounts();
<?php foreach ($AccountGroups as $group) : ?>
<tr>
<td colspan="2" class="p-0">
<div id="group_<?php echo $group->acgroup_id; ?>" class="">
<!-- <div id="group_<?php echo $group->acgroup_id; ?>" class=""> -->
<i> <?php $Accountcategories = $BIBAccounts->getRootCategoriesWithBalances($group->acgroup_id); ?>
<?php $BIBAccounts->renderAccountCategoriesTable($Accountcategories, $ReportOptions, false, array()); ?>
</i>
</div>
<!-- </div> -->
</td>
</tr>
<?php