BBnepal-Accounts/account/application/views/acgroups/list.php

40 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2024-07-10 12:43:19 +00:00
<div class="content-wrapper">
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="card card-primary card-outline">
<div class="card-header">
<h5 class="m-0"><?php echo $pageTitle; ?>
<!-- <?php showCreateButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/add","Create New ".$pageTitle); ?> -->
</h5>
</div>
<div class="card-body"> <?php $TableData = $this->db->query("select * from tbl_acgroups where status=1")->result(); ?>
<table class="table table-bordered table-striped dataTable">
<thead>
<tr>
<th width="100"> Type Code</th>
<th>Account Types Name</th>
<th>Posting Side</th>
</tr>
</thead>
<tbody>
<?php $a=0; foreach ($TableData as $TableRow) : $a++; ?>
<?php foreach ($TableRow as $cols) : $id = $cols;
break;
endforeach; ?><tr>
<td><?php echo $TableRow->acgroup_code; ?></td>
<td><?php echo $TableRow->acgroup_name; ?></td>
<td><?php echo $TableRow->posting_side; ?></td>
</td>
</tr>
<?php endforeach; ?>
<tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>