edit css
This commit is contained in:
@ -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">
|
||||
<!-- button with a dropdown -->
|
||||
<div class="btn-group">
|
||||
@ -116,16 +100,12 @@
|
||||
Filters
|
||||
</button>
|
||||
<div class="dropdown-menu" role="menu">
|
||||
|
||||
|
||||
<div class="form-group p-2 pb-0">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="fromDate"><?php myLang("Starting Period"); ?></label>
|
||||
<input type="text" class="form-control nepaliDatePicker" name="fromDate" value="<?php echo (isset($_POST['fromDate'])) ? $_POST['fromDate'] : NepaliDate($this->session->FiscalYear->fiscalyear_from); ?>" id="fromDate" aria-describedby="helpId_fromDate" placeholder="Starting Period">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="toDate"><?php myLang("Ending Period"); ?></label>
|
||||
<input type="text" class="form-control nepaliDatePicker" name="toDate" value="<?php echo (isset($_POST['toDate'])) ? $_POST['toDate'] : NepaliDate($this->session->FiscalYear->fiscalyear_to); ?>" id="toDate" aria-describedby="helpId_toDate" placeholder="Ending Period">
|
||||
@ -133,7 +113,6 @@
|
||||
</div>
|
||||
<div class="dropdown-divider"></div>
|
||||
<div class="form-check">
|
||||
|
||||
<input class="form-check-input" type="checkbox">
|
||||
<label class="form-check-label">Select
|
||||
All</label>
|
||||
@ -171,28 +150,21 @@
|
||||
<a href="#" class="dropdown-item">View calendar</a>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<table class="table table-bordered table-striped dataTable">
|
||||
<thead>
|
||||
<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>
|
||||
@ -205,15 +177,14 @@
|
||||
<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>
|
||||
|
||||
<?php $Total = 0;$PTotal=0;$STotal=0;$CTotal=0;
|
||||
foreach ($StockRecords as $TableRow) : ?>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
<td></td>
|
||||
<td><?php echo ($TableRow->Item)?$TableRow->Item->title:"N/A"; ?></td>
|
||||
<td><?php echo getFieldfromValue("tbl_units", "title", "unit_id", $TableRow->Item->units_id); ?></td>
|
||||
<td class="text-right"><?php echo $TableRow->Summary->Opening->qty; ?></td>
|
||||
@ -232,14 +203,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>
|
||||
@ -247,6 +216,7 @@
|
||||
<td><?php echo myCurrency($STotal); ?></td>
|
||||
<td colspan="2"></td>
|
||||
<td><?php echo myCurrency($CTotal); ?></td>
|
||||
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user