94 lines
2.8 KiB
PHP
94 lines
2.8 KiB
PHP
|
|
<style>
|
|
.pagination {
|
|
margin:0px !important;
|
|
}
|
|
|
|
</style>
|
|
<div class="content-wrapper">
|
|
<!-- Content Header (Page header) -->
|
|
|
|
<!-- Main content -->
|
|
<section class="content">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="box">
|
|
<div class="box-header">
|
|
<center><h3 class="box-title">Siddharth Industries - Material Adjustment List</h3></center>
|
|
</div>
|
|
<!-- /.box-header -->
|
|
<div class="box-body">
|
|
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
|
<thead>
|
|
<tr style="background-color:#ddf">
|
|
<th>#</th>
|
|
<th>Material Adjustment No</th>
|
|
<th>Material Code</th>
|
|
<th>Supplier Name</th>
|
|
<th>Adjusted Qty</th>
|
|
<th>Adjustment</th>
|
|
<th>Adjusted On</th>
|
|
<th>Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><?php
|
|
if(!empty($materailAdjustmentlist))
|
|
{
|
|
$index = 0;
|
|
foreach($materailAdjustmentlist as $record)
|
|
{
|
|
$index = $index + 1;
|
|
?>
|
|
<tr id="<?php echo $index ; ?>">
|
|
<td><?php echo $index ; ?></td>
|
|
<td><?php echo "Adj".$record->AdjustmentId ?></td>
|
|
<td><?php echo $record->MaterialCode."-".$record->MaterialName; ?></td>
|
|
<td><?php echo $record->SupplierID."-".$record->SupplierName; ?></td>
|
|
<td><?php echo $record->Quantity ?></td>
|
|
|
|
<td><?php echo "Adjust"; ?></td>
|
|
|
|
<td><?php echo $record->CreatedOn ?></td>
|
|
|
|
|
|
|
|
<td> <a data-toggle="tooltip" href="<?php echo base_url().'EditMaterialAdjustment?AdjustmentId='.$record->AdjustmentId; ?>" ><i class="fa fa-pencil" data-toggle="tooltip" title="<?php echo $record->AdjustmentId; ?> - Click here to Edit details"></i> </a> </td>
|
|
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
<!-- /.box-body -->
|
|
</div>
|
|
<!-- /.box -->
|
|
|
|
</div>
|
|
<!-- /.col -->
|
|
</div>
|
|
<!-- /.row -->
|
|
</section>
|
|
<!-- /.content -->
|
|
</div>
|
|
<!-- /.content-wrapper -->
|
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
|
|
|
<script>
|
|
|
|
$(function () {
|
|
|
|
$('#dataTableHistoriek').DataTable({
|
|
"paging" : true,
|
|
"ordering" : true,
|
|
"scrollCollapse" : true,
|
|
"searching" : true,
|
|
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
|
"bInfo": true
|
|
});
|
|
});
|
|
</script>
|