This commit is contained in:
Raju Shrestha
2024-08-09 09:39:49 +05:45
parent b06ce0569a
commit 169a49c376
10 changed files with 188 additions and 133 deletions

View File

@ -9,9 +9,8 @@ $AccountCategories = $this->myaccounts->getChildAccountCategories();
}
</style>
<div class="content-wrapper">
<div class="container-fluid">
</div>
<div class="container-fluid">
</div>
<div class="content">
<div class="container-fluid">
<div class="row">
@ -27,6 +26,8 @@ $AccountCategories = $this->myaccounts->getChildAccountCategories();
<th>Account</th>
<th width="<?php echo $drWidth; ?>">Dr</th>
<th width="<?php echo $crWidth; ?>">Cr</th>
<th class="col-1 text-center">Balance</th>
<th class="col-1 text-center">Action</th>
</tr>
</thead>
<tbody>
@ -45,6 +46,8 @@ $AccountCategories = $this->myaccounts->getChildAccountCategories();
</td>
<td width="<?php echo $drWidth; ?>"><?php echo myCurrency($AccountCategory->dr); ?></td>
<td width="<?php echo $crWidth; ?>"><?php echo myCurrency($AccountCategory->cr); ?></td>
<td class="text-right">Balance</td>
<td class="text-center"><a href="#" class="btn btn-info btn-xs"><i class="fas fa-edit"></i> </a></td>
</tr>
<?php endforeach; ?>
</tbody>
@ -53,19 +56,17 @@ $AccountCategories = $this->myaccounts->getChildAccountCategories();
<th>Total</th>
<td width="<?php echo $drWidth; ?>"><?php echo myCurrency($drTotal); ?></td>
<td width="<?php echo $crWidth; ?>"><?php echo myCurrency($crTotal); ?></td>
<td ></td>
<td ></td>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<script>
function toggleSubTable(row) {
@ -73,5 +74,4 @@ $AccountCategories = $this->myaccounts->getChildAccountCategories();
subTable.style.display = subTable.style.display === 'none' ? 'table-row' : 'none';
}
</script>
</div>