This commit is contained in:
Raju Shrestha
2024-08-25 16:17:28 +05:45
parent 2ebd3a2ea9
commit 8c5bfd147b
4 changed files with 16 additions and 48 deletions

View File

@ -5,7 +5,7 @@
<div class="col-3">
<div class="card card-primary card-outline">
<div class="card-header">
<h5 class="m-0"><?php echo isset($unit) ? 'Edit' : 'Add'; ?>
<h5 class="m-0 card-title"><?php echo isset($unit) ? 'Edit' : 'Add'; ?>
<?php myLang('Inventory Unit'); ?>
<?php //echo $pageTitle; ?>
<?php //showListButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/list","List ".$pageTitle); ?>
@ -59,7 +59,7 @@
<div class="col-9">
<div class="card card-primary card-outline">
<div class="card-header">
<h5 class="m-0"> <?php myLang(' List Inventory Units'); ?> <?php //echo $pageTitle; ?>
<h5 class="m-0 card-title"> <?php myLang(' List Inventory Units'); ?> <?php //echo $pageTitle; ?>
<?php //showCreateButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/add", "Create New " . $pageTitle); ?>
</h5>
</div>
@ -68,10 +68,10 @@
<table class="table table-bordered table-striped longdataTable">
<thead>
<tr>
<th class="col-1"><?php myLang('S.N'); ?></th>
<th class="col-5"><?php myLang('Unit Name '); ?></th>
<th class="col-5"><?php myLang('Unit Code'); ?></th>
<th class="col-1 text-center">Action</th>
<th class="text-center" width="5%"><?php myLang('S.N'); ?></th>
<th class="col-5" width="30%"><?php myLang('Unit Name '); ?></th>
<th class="col-5" width="57%"><?php myLang('Unit Code'); ?></th>
<th class="col-1 text-center" >Action</th>
</tr>
</thead>
<tbody>
@ -80,7 +80,7 @@
<?php foreach ($TableRow as $cols) : $id = $cols;
break;
endforeach; ?><tr>
<td><?php echo $a; ?></td>
<td class="text-center"><?php echo $a; ?></td>
<td><?php echo $TableRow->title; ?></td>
<td><?php echo $TableRow->description; ?></td>
<td class="text-center"><?php showEditButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/edit/$id"); ?>