This commit is contained in:
Raju Shrestha
2024-08-09 15:07:46 +05:45
parent c08ed22b78
commit 2ebd3a2ea9
5 changed files with 15 additions and 11 deletions

View File

@ -25,7 +25,7 @@
<div class="card card-primary card-outline">
<div class="card-header">
<h5 class="m-0"><?php echo $pageTitle; ?>
<h5 class="m-0 card-title"><?php echo $pageTitle; ?>
<!-- <a href="<?php //echo site_url("accounts/setup/addsingleentryvoucher"); ?>" class="btn btn-sm btn-primary float-right">Create New <?php //echo $pageTitle; ?></a> -->
</h5>
@ -37,7 +37,7 @@
<table class="table table-bordered table-striped dataTable">
<thead>
<tr>
<th >Sn</th>
<th class="text-center">Sn</th>
<th class="col-2">Voucher Name</th>
<th class="col-4">Default Debits</th>
<th class="col-4">Default Credits</th>
@ -51,7 +51,7 @@
<?php foreach ($TableRow as $cols) : $id = $cols;
break;
endforeach; ?><tr class="<?php echo ($TableRow->status == 0) ? "table-danger" : ""; ?>">
<td><?php echo $sn; ?></td>
<td class="text-center"><?php echo $sn; ?></td>
<td><?php echo $TableRow->voucher_name; ?></td>
<td><?php echo showAccountCategoriesByIds(($TableRow->default_debits!="")?explode(",",$TableRow->default_debits):array()); ?></td>
<td><?php echo showAccountCategoriesByIds(($TableRow->default_credits!="")?explode(",",$TableRow->default_credits):array()); ?></td>