Compare commits
2 Commits
f488c286bd
...
78670b1b95
Author | SHA1 | Date | |
---|---|---|---|
|
78670b1b95 | ||
|
8c5bfd147b |
@ -117,7 +117,7 @@
|
||||
<table class="table table-bordered table-striped longdataTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%"><?php myLang('S.N'); ?></th>
|
||||
<th width="5%" class="text-center"><?php myLang('S.N'); ?></th>
|
||||
<th width="25%"><?php myLang('Name'); ?></th>
|
||||
<th width="10%"><?php myLang('Code'); ?></th>
|
||||
<th width="10%"><?php myLang('Units'); ?></th>
|
||||
@ -134,7 +134,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->item_code; ?></td>
|
||||
<td><?php echo getFieldfromValue("tbl_units", "title", "unit_id", $TableRow->units_id); ?></td>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<div class="col">
|
||||
<div class="card card-primary card-outline">
|
||||
<div class="card-header">
|
||||
<h5 class="m-0"><?php echo $pageTitle; ?> <a href="<?php echo site_url($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/create"); ?>" class="btn btn-sm btn-primary float-right">Create New <?php echo $pageTitle; ?></a></h5>
|
||||
<h5 class="m-0 card-title"><?php echo $pageTitle; ?> </h5><a href="<?php echo site_url($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/create"); ?>" class="btn btn-sm btn-primary float-right">Create New <?php echo $pageTitle; ?></a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<?php $TableData = $this->db->query("select * from tbl_sales where status=1")->result(); ?>
|
||||
@ -16,7 +16,7 @@
|
||||
<th class="col-1"><?php myLang('Date'); ?></th>
|
||||
<th><?php myLang('Transaction'); ?></th>
|
||||
<th class="table-col col-1 text-center"><?php myLang('Amount'); ?></th>
|
||||
<th class="text-center col-1"><?php myLang('Action'); ?></th>
|
||||
<th class="text-center" width="5%"> <?php myLang('Action'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -25,8 +25,6 @@
|
||||
<td class="text-center"><?php echo $TableRow->sales_id; ?></td>
|
||||
<td><?php echo $TableRow->sales_date; ?></td>
|
||||
<td><?php echo $this->myaccounts->getAccountDetails($TableRow->accounts_id)->account_name; ?>
|
||||
|
||||
|
||||
</td>
|
||||
<td><?php echo myCurrency($TableRow->totalsales); ?></td>
|
||||
<td class="text-center"><?php showDetailsButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/details/$TableRow->sales_id"); ?>
|
||||
|
@ -2,21 +2,14 @@
|
||||
<!-- <div class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="card card-primary ">
|
||||
|
||||
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><?php //echo $pageTitle;
|
||||
?> </h3>
|
||||
|
||||
<div class="card-tools">
|
||||
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
<form method="post" action="" id="FilterForm">
|
||||
<div class="row align-items-end">
|
||||
@ -62,7 +55,6 @@
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="form-group d-flex justify-content-end">
|
||||
|
||||
<button type="submit" class="btn btn-primary mr-2">Choose</button>
|
||||
<button type="submit" class="btn btn-primary mr-2">Filter</button>
|
||||
<button type="submit" class="btn btn-success mr-2">Export</button>
|
||||
@ -70,7 +62,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<script>
|
||||
function resetForm() {
|
||||
@ -89,10 +80,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="content">
|
||||
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
@ -100,15 +88,11 @@
|
||||
<div class="card-header">
|
||||
<h5 class="card-title">
|
||||
<?php echo $pageTitle; ?>
|
||||
|
||||
|
||||
|
||||
<!-- <?php //echo $pageTitle;
|
||||
?> <a href="<?php //echo site_url("inventory/purchases/add");
|
||||
?>" class="btn btn-sm btn-primary float-right">Create New <?php //echo $pageTitle;
|
||||
?></a> -->
|
||||
</h5>
|
||||
|
||||
<div class="card-tools">
|
||||
<form method="post" action="" id="FilterForm">
|
||||
<!-- button with a dropdown -->
|
||||
@ -190,18 +174,13 @@
|
||||
<tr>
|
||||
<th rowspan="2" width="40" style="vertical-align: middle;"><?php myLang('S.No.'); ?></th>
|
||||
<th rowspan="2" style="vertical-align: middle;"> <?php myLang('Item'); ?></th>
|
||||
|
||||
<th rowspan="2" width="80" style="vertical-align: middle;"><?php myLang('Units'); ?></th>
|
||||
|
||||
<th colspan="3" class="text-center"><?php myLang('Opening'); ?></th>
|
||||
<th colspan="3" class="text-center"><?php myLang('Purchase'); ?></th>
|
||||
<th colspan="3" class="text-center"><?php myLang('Sales'); ?></th>
|
||||
<th colspan="3" class="text-center"><?php myLang('Closing'); ?></th>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
|
||||
<th class="text-center" width="80"><?php myLang('Qty'); ?></th>
|
||||
<th class="text-center" width="80"><?php myLang('Avg. Rate'); ?></th>
|
||||
<th class="text-center" width="80"><?php myLang('Amount'); ?></th>
|
||||
@ -214,7 +193,6 @@
|
||||
<th class="text-center" width="80"><?php myLang('Qty'); ?></th>
|
||||
<th class="text-center" width="80"><?php myLang('Avg. Rate'); ?></th>
|
||||
<th class="text-center" width="80"><?php myLang('Amount'); ?></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -243,14 +221,12 @@
|
||||
<td class="text-right"><?php echo $TableRow->Summary->Closing->rate; ?></td>
|
||||
<td><?php echo myCurrency($cTotal = $TableRow->Summary->Closing->amount);
|
||||
$CTotal += $cTotal; ?></td>
|
||||
|
||||
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="4" class="text-right"><b><?php echo myLang("Total"); ?></b></td>
|
||||
<td colspan="5" class="text-right"><b><?php echo myLang("Total"); ?></b></td>
|
||||
<td><?php echo myCurrency($Total); ?></td>
|
||||
<td colspan="2"></td>
|
||||
<td><?php echo myCurrency($PTotal); ?></td>
|
||||
@ -258,6 +234,7 @@
|
||||
<td><?php echo myCurrency($STotal); ?></td>
|
||||
<td colspan="2"></td>
|
||||
<td><?php echo myCurrency($CTotal); ?></td>
|
||||
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
@ -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"); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user