sno remove for datesort
This commit is contained in:
parent
e0dc5f46d7
commit
9701f5d7ad
@ -61,7 +61,7 @@ class servicepurchaseorder extends BaseController
|
|||||||
$HTML="";
|
$HTML="";
|
||||||
for ($i = 0; $i < count($result); $i++)
|
for ($i = 0; $i < count($result); $i++)
|
||||||
{
|
{
|
||||||
$SNo = $i + 1;
|
//$SNo = $i + 1;
|
||||||
$ReqNo = $result[$i]['ReqNo'];
|
$ReqNo = $result[$i]['ReqNo'];
|
||||||
$Reqedby = $result[$i]['FirstName'];
|
$Reqedby = $result[$i]['FirstName'];
|
||||||
$ReqDate = $result[$i]['ReqDate'];
|
$ReqDate = $result[$i]['ReqDate'];
|
||||||
@ -77,7 +77,7 @@ class servicepurchaseorder extends BaseController
|
|||||||
|
|
||||||
|
|
||||||
$HTML.="<tr id='".$SNo."'>
|
$HTML.="<tr id='".$SNo."'>
|
||||||
<td align='left'>".$SNo."</td>
|
|
||||||
<td align='left'>". $ReqNo."</td>
|
<td align='left'>". $ReqNo."</td>
|
||||||
<td align='left'>".$Reqedby."</td>
|
<td align='left'>".$Reqedby."</td>
|
||||||
<td align='left'>".$ReqDate."</td>
|
<td align='left'>".$ReqDate."</td>
|
||||||
|
|||||||
@ -16,7 +16,8 @@ class configmodel extends CI_Model
|
|||||||
$this->db->select('Config.Config_ID, Config.ConfigName ,Config.Comments,Config.CreatedDate');
|
$this->db->select('Config.Config_ID, Config.ConfigName ,Config.Comments,Config.CreatedDate');
|
||||||
$this->db->from('T_ConfigMaster as Config');
|
$this->db->from('T_ConfigMaster as Config');
|
||||||
// $this->db->join('t_configdetails as Con','Con.Config_ID=Config.Config_ID');
|
// $this->db->join('t_configdetails as Con','Con.Config_ID=Config.Config_ID');
|
||||||
|
$this->db->order_by('Config.CreatedDate','desc');
|
||||||
|
//$this->db->order_by('hourlyid','desc');
|
||||||
|
|
||||||
$query = $this->db->get();
|
$query = $this->db->get();
|
||||||
$result = $query->result();
|
$result = $query->result();
|
||||||
|
|||||||
@ -267,7 +267,7 @@ join ip_invoice_items on ip_invoice_items .invoice_id =ip_invoices.invoice_id
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$sql .= "ORDER BY ip_invoices.invoice_date_created DESC";
|
||||||
$query = $this->db->query($sql);
|
$query = $this->db->query($sql);
|
||||||
return $query->result();
|
return $query->result();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="background-color:#ddf">
|
<tr style="background-color:#ddf">
|
||||||
<th>#</th>
|
<!-- <th>#</th> -->
|
||||||
<th>PONO#</th>
|
<th>PONO#</th>
|
||||||
<th>PO Type</th>
|
<th>PO Type</th>
|
||||||
<th>PO Date</th>
|
<th>PO Date</th>
|
||||||
@ -44,7 +44,7 @@
|
|||||||
$index = $index + 1;
|
$index = $index + 1;
|
||||||
?>
|
?>
|
||||||
<tr id="<?php echo $index ; ?>">
|
<tr id="<?php echo $index ; ?>">
|
||||||
<td align="left"><?php echo $index ; ?></td>
|
<!-- <td align="left"><?php echo $index ; ?></td> -->
|
||||||
<td><?php echo $record->PONO ?></td>
|
<td><?php echo $record->PONO ?></td>
|
||||||
<td><?php echo $record->ReqType ?></td>
|
<td><?php echo $record->ReqType ?></td>
|
||||||
<td align="right"><?php $Pdt = new DateTime($record->PODate);
|
<td align="right"><?php $Pdt = new DateTime($record->PODate);
|
||||||
@ -104,18 +104,18 @@
|
|||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$('#example1').DataTable({
|
$('#example1').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 2, "desc" ]],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
|
|||||||
@ -68,18 +68,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$('#histtable').DataTable({
|
$('#histtable').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"columnDefs" : [{"targets":9, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":9, "type":"date-eu"}],
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 7, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="background-color:#ddf">
|
<tr style="background-color:#ddf">
|
||||||
<th>#</th>
|
<!-- <th>#</th> -->
|
||||||
<th>Id</th>
|
<th>Id</th>
|
||||||
<th>Product Name</th>
|
<th>Product Name</th>
|
||||||
<th>Quantity</th>
|
<th>Quantity</th>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
$index = $index + 1;
|
$index = $index + 1;
|
||||||
?>
|
?>
|
||||||
<tr id="<?php echo $index ; ?>">
|
<tr id="<?php echo $index ; ?>">
|
||||||
<td><?php echo $index ; ?></td>
|
<!-- <td><?php echo $index ; ?></td> -->
|
||||||
<td><?php echo "FP".$record->FPId ?></td>
|
<td><?php echo "FP".$record->FPId ?></td>
|
||||||
<td><?php echo $record->product_description."-".$record->product_name; ?></td> <td><?php echo $record->Quantity; ?></td>
|
<td><?php echo $record->product_description."-".$record->product_name; ?></td> <td><?php echo $record->Quantity; ?></td>
|
||||||
<td><?php echo $record->Price ?></td>
|
<td><?php echo $record->Price ?></td>
|
||||||
@ -84,7 +84,7 @@
|
|||||||
// "columnDefs" : [{"targets":3, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
"bInfo": true,
|
"bInfo": true,
|
||||||
|
|
||||||
"aaSorting": [[ 5, "desc" ]],
|
"aaSorting": [[ 4, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
});
|
});
|
||||||
|
|||||||
@ -355,6 +355,7 @@
|
|||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
||||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
||||||
|
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -368,6 +369,10 @@ $.fn.dataTable.moment( 'DD-MM-YYYY' );
|
|||||||
"language": {
|
"language": {
|
||||||
"emptyTable":"<center> Data Not Found ! </center>"
|
"emptyTable":"<center> Data Not Found ! </center>"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"aaSorting": [[ 0, "desc" ]],
|
||||||
|
"autoWidth": false,
|
||||||
|
orderCellsTop: true,
|
||||||
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
|
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
|
||||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||||
|
|||||||
@ -72,17 +72,18 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$('#datatable').DataTable({
|
$('#datatable').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"columnDefs" : [{"targets":7, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":7, "type":"date-eu"}],
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 7, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
@ -90,5 +91,5 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<!-- <script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script> -->
|
||||||
|
|
||||||
|
|||||||
@ -154,7 +154,11 @@ if(!empty($amountpaid))
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<td align="left" id="date"><span><?php echo $ap->Podate?></span></td>
|
<!-- <td align="left" id="date"><span><?php echo $ap->Podate?></span></td> -->
|
||||||
|
|
||||||
|
<td align="right"><?php $dt = new DateTime($ap->Podate);
|
||||||
|
$Podate = $dt->format('d-m-Y'); echo $Podate ?> </td>
|
||||||
|
|
||||||
<td align="left" id="pono"><a href="<?= base_url() ?>cashbook/mappingdebit?sid=<?php echo $ap->PONO;?>"><span><?php echo $ap->PONO?></span></a></td>
|
<td align="left" id="pono"><a href="<?= base_url() ?>cashbook/mappingdebit?sid=<?php echo $ap->PONO;?>"><span><?php echo $ap->PONO?></span></a></td>
|
||||||
<!--<td align="left"><a href="<?= base_url() ?>cashbook/bankreceipt?sid=<?php echo $t->PONO;?>"><span><?php echo $t->PONO?></span></a></td>-->
|
<!--<td align="left"><a href="<?= base_url() ?>cashbook/bankreceipt?sid=<?php echo $t->PONO;?>"><span><?php echo $t->PONO?></span></a></td>-->
|
||||||
|
|
||||||
@ -195,12 +199,13 @@ if(!empty($amountpaid))
|
|||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
||||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
||||||
|
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
|
||||||
table = $('#req').DataTable( {
|
table = $('#req').DataTable( {
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 0, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
|
|||||||
@ -38,10 +38,17 @@
|
|||||||
<td><?php echo $record->Config_ID?></td>
|
<td><?php echo $record->Config_ID?></td>
|
||||||
<td><?php echo $record->ConfigName ?></td>
|
<td><?php echo $record->ConfigName ?></td>
|
||||||
<td><?php echo $record->Comments ?> </td>
|
<td><?php echo $record->Comments ?> </td>
|
||||||
<td><?php echo $record->CreatedDate?></td>
|
<!-- <td><?php echo $record->CreatedDate?></td> -->
|
||||||
<!-- <td align="right"><?php
|
|
||||||
$date = new DateTime($record->CreatedDate);
|
<!-- <td align="right"><?php $dt = new DateTime($record->CreatedDate);
|
||||||
echo $date->format('d-m-Y'); ?></td> -->
|
$CreatedDate = $dt->format('d-m-Y'); echo $CreatedDate ?> </td> -->
|
||||||
|
|
||||||
|
<?php if(date('d-m-Y',strtotime($record->CreatedDate))=="30-11--0001"){
|
||||||
|
$cdate = '00-00-0000';
|
||||||
|
}else{
|
||||||
|
$cdate = date('d-m-Y',strtotime($record->CreatedDate));
|
||||||
|
} ?>
|
||||||
|
<td align="right"><?php echo $cdate;?> </td>
|
||||||
|
|
||||||
<td><a href="<?php echo base_url().'configurationctrl/editOldconfig?ConfigID='.$record->Config_ID; ?>"><i class="fa fa-pencil"></i> </a>
|
<td><a href="<?php echo base_url().'configurationctrl/editOldconfig?ConfigID='.$record->Config_ID; ?>"><i class="fa fa-pencil"></i> </a>
|
||||||
<a><i class="fa fa-trash"></i> </a></td>
|
<a><i class="fa fa-trash"></i> </a></td>
|
||||||
@ -60,16 +67,18 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||||
|
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$('#configtable').DataTable({
|
$('#configtable').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 3, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
|
|||||||
@ -70,17 +70,18 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$('#datatable').DataTable({
|
$('#datatable').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 3, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
@ -88,5 +89,5 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<!-- <script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script> -->
|
||||||
|
|
||||||
|
|||||||
@ -132,7 +132,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
|
|
||||||
<th>S.No</th>
|
<!-- <th>S.No</th> -->
|
||||||
<th>OrderedDate</th>
|
<th>OrderedDate</th>
|
||||||
<th>DispatchDate</th>
|
<th>DispatchDate</th>
|
||||||
<th>CustomerName</th>
|
<th>CustomerName</th>
|
||||||
@ -155,7 +155,7 @@
|
|||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td style="text-align:left;"><span><?php echo ++$i;?></span></td>
|
<!-- <td style="text-align:left;"><span><?php echo ++$i;?></span></td> -->
|
||||||
<td ><?php
|
<td ><?php
|
||||||
$itemdate=date("d-m-Y",strtotime($rel->invoice_date_created));
|
$itemdate=date("d-m-Y",strtotime($rel->invoice_date_created));
|
||||||
echo $itemdate;
|
echo $itemdate;
|
||||||
@ -254,19 +254,23 @@
|
|||||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
||||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script>
|
||||||
|
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
||||||
// Bootstrap datepicker
|
// Bootstrap datepicker
|
||||||
// Set up your table
|
// Set up your table
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
table = $('#cc').DataTable( {
|
table = $('#cc').DataTable( {
|
||||||
"language": {
|
"language": {
|
||||||
"emptyTable": "<center> Data Not Found ! </center>"
|
"emptyTable": "<center> Data Not Found ! </center>"
|
||||||
},
|
},
|
||||||
"aaSorting": [[ 2, "desc" ]],
|
"aaSorting": [[ 1, "desc" ]],
|
||||||
"autoWidth": false,
|
"autoWidth": false,
|
||||||
orderCellsTop: true,
|
orderCellsTop: true,
|
||||||
|
|
||||||
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
|
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
|
||||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||||
|
|||||||
@ -185,7 +185,7 @@ $(document).ready(function() {
|
|||||||
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
table = $('#inexlist').DataTable( {
|
table = $('#inexlist').DataTable( {
|
||||||
|
|
||||||
|
"aaSorting": [[ 1, "desc" ]],
|
||||||
"autoWidth": false,
|
"autoWidth": false,
|
||||||
//"columnDefs" : [{"targets":1, "type":"date-eu"}],
|
//"columnDefs" : [{"targets":1, "type":"date-eu"}],
|
||||||
orderCellsTop: true,
|
orderCellsTop: true,
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="background-color:#ddf">
|
<tr style="background-color:#ddf">
|
||||||
<th>#</th>
|
<!-- <th>#</th> -->
|
||||||
<th>Material Adjustment No</th>
|
<th>Material Adjustment No</th>
|
||||||
<th>Material Code</th>
|
<th>Material Code</th>
|
||||||
<th>Supplier Name</th>
|
<th>Supplier Name</th>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
$index = $index + 1;
|
$index = $index + 1;
|
||||||
?>
|
?>
|
||||||
<tr id="<?php echo $index ; ?>">
|
<tr id="<?php echo $index ; ?>">
|
||||||
<td><?php echo $index ; ?></td>
|
<!-- <td><?php echo $index ; ?></td> -->
|
||||||
<td><?php echo "Adj".$record->AdjustmentId ?></td>
|
<td><?php echo "Adj".$record->AdjustmentId ?></td>
|
||||||
<td><a data-toggle="modal" data-target="#materialreport" data-userid="<?php echo $record->AdjustmentId?>" data-id="<%=index%>" data-dismiss="modal"><?php echo $record->MaterialCode."-".$record->MaterialName; ?></a></td>
|
<td><a data-toggle="modal" data-target="#materialreport" data-userid="<?php echo $record->AdjustmentId?>" data-id="<%=index%>" data-dismiss="modal"><?php echo $record->MaterialCode."-".$record->MaterialName; ?></a></td>
|
||||||
<td><?php echo $record->SupplierID."-".$record->SupplierName; ?></td>
|
<td><?php echo $record->SupplierID."-".$record->SupplierName; ?></td>
|
||||||
@ -189,7 +189,7 @@
|
|||||||
"scrollCollapse" : true,
|
"scrollCollapse" : true,
|
||||||
"searching" : true,
|
"searching" : true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"aaSorting": [[ 5, "desc" ]],
|
"aaSorting": [[ 4, "desc" ]],
|
||||||
// "columnDefs" : [{"targets":3, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
"bInfo": true
|
"bInfo": true
|
||||||
});
|
});
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="background-color:#ddf">
|
<tr style="background-color:#ddf">
|
||||||
<th>#</th>
|
<!-- <th>#</th> -->
|
||||||
<th>Complaint Id</th>
|
<th>Complaint Id</th>
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
<th>Customer Name</th>
|
<th>Customer Name</th>
|
||||||
@ -50,7 +50,7 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<tr id="<?php echo $index ; ?>">
|
<tr id="<?php echo $index ; ?>">
|
||||||
<td align="left"><?php echo $index ; ?></td>
|
<!-- <td align="left"><?php echo $index ; ?></td> -->
|
||||||
<!-- <td contenteditable="true"><?php echo $nc->CId?></td> -->
|
<!-- <td contenteditable="true"><?php echo $nc->CId?></td> -->
|
||||||
<td><a target="_blank" href="<?php echo base_url() ?>purchaseorder/EditComplaint?CId=<?php echo $nc->CId ?>" data-id="<%=index%>" data-userid="<?php echo $nc->CId ?>" ><u><?php echo "COM".$nc->CId ?></u> </a>
|
<td><a target="_blank" href="<?php echo base_url() ?>purchaseorder/EditComplaint?CId=<?php echo $nc->CId ?>" data-id="<%=index%>" data-userid="<?php echo $nc->CId ?>" ><u><?php echo "COM".$nc->CId ?></u> </a>
|
||||||
</td>
|
</td>
|
||||||
@ -106,17 +106,17 @@
|
|||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<!-- <script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script> -->
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$('#example1').DataTable({
|
$('#example1').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||||
|
"aaSorting": [[ 1, "desc" ]],
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="background-color:#ddf">
|
<tr style="background-color:#ddf">
|
||||||
<th>#</th>
|
<!-- <th>#</th> -->
|
||||||
<th>OGR No</th>
|
<th>OGR No</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
<th>PO/INVOICE No</th>
|
<th>PO/INVOICE No</th>
|
||||||
@ -48,7 +48,7 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<tr id="<?php echo $index ; ?>">
|
<tr id="<?php echo $index ; ?>">
|
||||||
<td><?php echo $index;?></td>
|
<!-- <td><?php echo $index;?></td> -->
|
||||||
<td><?php echo "OGR".$ogr->OGRNO;?></td>
|
<td><?php echo "OGR".$ogr->OGRNO;?></td>
|
||||||
<td><?php echo $ogr->OgrType;?></td>
|
<td><?php echo $ogr->OgrType;?></td>
|
||||||
<td><?php echo $ogr->PONO_INV;?></td>
|
<td><?php echo $ogr->PONO_INV;?></td>
|
||||||
@ -95,7 +95,7 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"aaSorting": [[ 6, "desc" ]],
|
"aaSorting": [[ 5, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
});
|
});
|
||||||
|
|||||||
@ -111,7 +111,7 @@
|
|||||||
<table id="StatusTable" class="table table-bordered table-hover editabletable IGR_Line" style="background-color:#fff;font-size:12px;">
|
<table id="StatusTable" class="table table-bordered table-hover editabletable IGR_Line" style="background-color:#fff;font-size:12px;">
|
||||||
<thead style="background-color:#ddf">
|
<thead style="background-color:#ddf">
|
||||||
<tr>
|
<tr>
|
||||||
<th>S.NO</th>
|
<!-- <th>S.NO</th> -->
|
||||||
<th>Req No</th>
|
<th>Req No</th>
|
||||||
<th>Req By</th>
|
<th>Req By</th>
|
||||||
<th>Req Date</th>
|
<th>Req Date</th>
|
||||||
@ -138,8 +138,22 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
|
|
||||||
|
$('#Inwardgateregistertable').DataTable({
|
||||||
|
"paging": true,
|
||||||
|
"lengthChange": true,
|
||||||
|
"searching": true,
|
||||||
|
"ordering": true,
|
||||||
|
"aaSorting": [[ 2, "desc" ]],
|
||||||
|
"info": true,
|
||||||
|
"autoWidth": true
|
||||||
|
|
||||||
|
});
|
||||||
$('#PONO').change(function() {
|
$('#PONO').change(function() {
|
||||||
$("#tblAppend").empty();
|
$("#tblAppend").empty();
|
||||||
|
|
||||||
|
|||||||
@ -88,7 +88,7 @@ span.highlight {
|
|||||||
|
|
||||||
<td><?php echo $record->StatusName ?></td>
|
<td><?php echo $record->StatusName ?></td>
|
||||||
<td align="right"><?php $dt = new DateTime($record->ReqDate);
|
<td align="right"><?php $dt = new DateTime($record->ReqDate);
|
||||||
$ReqDate = $dt->format('d-m-Y'); echo $ReqDate ?>
|
$ReqDate = $dt->format('d-m-Y'); echo $ReqDate ?> </td>
|
||||||
|
|
||||||
|
|
||||||
<td> <a data-toggle="tooltip" href="<?php echo base_url().'EditStoreRequisition?StoreReqNo='.$record->StoreReqNo; ?>"><i class="fa fa-pencil" data-toggle="tooltip" title="<?php echo $record->StoreReqNo; ?> - Click here to view addstorerequisitionslip"></i> </a> <a data-toggle="tooltip" onclick="DeleteRow('<?php echo $record->StoreReqNo; ?>' )" ><span class="glyphicon glyphicon-trash" title="<?php echo $record->StoreReqNo; ?> - Click here to Delete Requisition details"></span></a> </td>
|
<td> <a data-toggle="tooltip" href="<?php echo base_url().'EditStoreRequisition?StoreReqNo='.$record->StoreReqNo; ?>"><i class="fa fa-pencil" data-toggle="tooltip" title="<?php echo $record->StoreReqNo; ?> - Click here to view addstorerequisitionslip"></i> </a> <a data-toggle="tooltip" onclick="DeleteRow('<?php echo $record->StoreReqNo; ?>' )" ><span class="glyphicon glyphicon-trash" title="<?php echo $record->StoreReqNo; ?> - Click here to Delete Requisition details"></span></a> </td>
|
||||||
@ -143,21 +143,22 @@ $ReqDate = $dt->format('d-m-Y'); echo $ReqDate ?>
|
|||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
||||||
$('#Requisition').DataTable({
|
$('#Requisition').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"columnDefs" : [{"targets":5, "type":"date-eu"}],
|
// "columnDefs" : [{"targets":5, "type":"date-eu"}],
|
||||||
|
|
||||||
// "info": true,
|
// "info": true,
|
||||||
// "autoWidth": true
|
// "autoWidth": true
|
||||||
|
|
||||||
|
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 5, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
@ -165,5 +166,5 @@ $ReqDate = $dt->format('d-m-Y'); echo $ReqDate ?>
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<!-- <script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script> -->
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
<table id="Inwardgateregistertable" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
<table id="Inwardgateregistertable" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
||||||
<thead style="background-color:#ddf">
|
<thead style="background-color:#ddf">
|
||||||
<tr>
|
<tr>
|
||||||
<th>S.No</th>
|
<!-- <th>S.No</th> -->
|
||||||
<th>IGR No</th>
|
<th>IGR No</th>
|
||||||
<th>PO No</th>
|
<th>PO No</th>
|
||||||
<th>Supplier Name</th>
|
<th>Supplier Name</th>
|
||||||
@ -50,7 +50,7 @@
|
|||||||
$index = $index +1;
|
$index = $index +1;
|
||||||
?>
|
?>
|
||||||
<tr id="<?php echo $index ?>" >
|
<tr id="<?php echo $index ?>" >
|
||||||
<td style="text-align: center;"><?php echo $index?></td>
|
<!-- <td style="text-align: center;"><?php echo $index?></td> -->
|
||||||
<td><a data-toggle="modal" data-target="#Igrshow" data-id="<%=index%>" data-userid="<?php echo $record->IGRNO ?>" > <u><?php echo $record->IGRNO ?></u></a></td>
|
<td><a data-toggle="modal" data-target="#Igrshow" data-id="<%=index%>" data-userid="<?php echo $record->IGRNO ?>" > <u><?php echo $record->IGRNO ?></u></a></td>
|
||||||
<td><?php echo $record->PONO ?></a></td>
|
<td><?php echo $record->PONO ?></a></td>
|
||||||
<td><?php echo $record->SupplierName ?></td>
|
<td><?php echo $record->SupplierName ?></td>
|
||||||
@ -245,7 +245,7 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"aaSorting": [[ 5, "desc" ]],
|
"aaSorting": [[ 4, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
* NOTE: If you change these, also change the error_reporting() code below
|
* NOTE: If you change these, also change the error_reporting() code below
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('ENVIRONMENT', 'testing');
|
define('ENVIRONMENT', 'development');
|
||||||
/*
|
/*
|
||||||
*---------------------------------------------------------------
|
*---------------------------------------------------------------
|
||||||
* ERROR REPORTING
|
* ERROR REPORTING
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user