diff --git a/app/Views/addemppaydate.php b/app/Views/addemppaydate.php index ffe7439a..b839fd55 100755 --- a/app/Views/addemppaydate.php +++ b/app/Views/addemppaydate.php @@ -4,6 +4,7 @@ $("#loan_issued_date").datepicker({ minDate: 'now', + orientation: 'bottom', // maxDate : 'now', dateFormat: 'dd-mm-yy', changeMonth: true, @@ -55,24 +56,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/Views/approvalstorerequisitionslip.php b/app/Views/approvalstorerequisitionslip.php index 40e86045..3b5b14a8 100755 --- a/app/Views/approvalstorerequisitionslip.php +++ b/app/Views/approvalstorerequisitionslip.php @@ -1,184 +1,185 @@ - - - +
- - -
- -
-
-

Store Requisition Approval List

-
- - 'form-label-left Approve ','name' => 'Approve','id' => 'Approve'); - - echo form_open(base_url().'storerequisitionlist/SearchRequistLists',$attributes); ?> -
- - - - -
+ + + Comments + ?> + + + Comments ?> + + + + + + + + + + + +
+
- - + //alert("A new date range was chosen: " + start.format('DD-MM-YYYY') + ' to ' + end.format('DD-MM-YYYY')); + }); + + + }); + $(function() { + + $('#Items').DataTable({ + "paging": false, + "lengthChange": true, + "searching": false, + "ordering": false, + "info": false, + "autoWidth": false + + }); + $.fn.dataTable.moment('DD-MM-YYYY'); + $('#Requisition').DataTable({ + "paging": true, + "lengthChange": true, + "searching": true, + "ordering": true, + // "columnDefs" : [{"targets":2, "type":"date-eu"}], + "aaSorting": [ + [2, "desc"] + ], + "info": true, + "autoWidth": true + + }); + }); + + \ No newline at end of file diff --git a/app/Views/capitalpurchaseorder.php b/app/Views/capitalpurchaseorder.php index bbdf2950..db1c3195 100755 --- a/app/Views/capitalpurchaseorder.php +++ b/app/Views/capitalpurchaseorder.php @@ -149,14 +149,13 @@ // changeYear: true, // yearRange: '0:+10' // }); - // $("#Exchangerateon").datepicker({ - // //minDate : d, - // maxDate: 'now', - // dateFormat: 'dd-mm-yy', - // changeMonth: true, - // changeYear: true, - // yearRange: '-100:+0' - // }); + $("#Exchangerateon").datepicker({ + format: 'dd-mm-yyyy', + startDate: new Date(), + autoclose: true, + todayHighlight: true, + clearBtn: true + }); $('#Date').click(function() { //for Dispatch range selection @@ -395,8 +394,8 @@
format('Y-m-d'); - $data = array('type' => 'date', 'name' => 'Deliverydate', 'value' => set_value('Deliverydate', $formattedDate), 'id' => 'Deliverydate', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;'); + $formattedDate = $dt->format('d-m-Y'); + $data = array('type' => 'text', 'name' => 'Deliverydate', 'value' => set_value('Deliverydate', $formattedDate), 'id' => 'Deliverydate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;'); echo form_input($data); ?>
@@ -420,8 +419,8 @@
format('Y-m-d'); - $data = array('type' => 'date', 'name' => 'Exchangerateon', 'value' => set_value('Exchangerateon', $formattedDate), 'id' => 'Exchangerateon', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;'); + $formattedDate = $dt->format('d-m-Y'); + $data = array('type' => 'text', 'name' => 'Exchangerateon', 'value' => set_value('Exchangerateon', $formattedDate), 'id' => 'Exchangerateon', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;'); echo form_input($data); ?>
@@ -454,8 +453,8 @@
format('Y-m-d'); - $data = array('type' => "date", 'name' => 'PODate', 'value' => set_value('PODate', $formattedDate), 'id' => 'PODate', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;'); + $formattedDate = $dt->format('d-m-Y'); + $data = array('type' => "text", 'name' => 'PODate', 'value' => set_value('PODate', $formattedDate), 'id' => 'PODate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;'); echo form_input($data); ?>
@@ -1479,126 +1478,126 @@