diff --git a/resources/js/warehouse_management/opnames/index.js b/resources/js/warehouse_management/opnames/index.js index 47f336f..ddb3958 100755 --- a/resources/js/warehouse_management/opnames/index.js +++ b/resources/js/warehouse_management/opnames/index.js @@ -43,12 +43,17 @@ function initializeDatepickers() { console.log("Initializing datepickers..."); // Initialize start date picker - $("#date_from").datepicker({ - dateFormat: "yy-mm-dd", + $("#date_from .datepicker").datepicker({ + dateFormat: "yyyy-mm-dd", changeMonth: true, changeYear: true, maxDate: new Date(), yearRange: "-5:+0", + autoclose: true, + todayHighlight: true, + orientation: "bottom auto", + language: "id", + clearBtn: true, onSelect: function (selectedDate) { console.log("Start date selected:", selectedDate); enableEndDatePicker(selectedDate); @@ -91,7 +96,7 @@ function enableEndDatePicker(startDate) { $("#date_to").datepicker("destroy"); // Re-initialize with new minDate - $("#date_to").datepicker({ + $("#date_to .datepicker").datepicker({ dateFormat: "yy-mm-dd", changeMonth: true, changeYear: true, @@ -112,7 +117,7 @@ function enableEndDatePicker(startDate) { */ function initializeEndDatePicker() { $("#date_to").datepicker({ - dateFormat: "yy-mm-dd", + dateFormat: "yyyy-mm-dd", changeMonth: true, changeYear: true, maxDate: new Date(), diff --git a/resources/views/warehouse_management/mutations/index.blade.php b/resources/views/warehouse_management/mutations/index.blade.php index 78faa10..8a08594 100755 --- a/resources/views/warehouse_management/mutations/index.blade.php +++ b/resources/views/warehouse_management/mutations/index.blade.php @@ -26,7 +26,7 @@
-
+ {{--
@@ -62,7 +62,45 @@
-
+
--}} + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
@@ -89,101 +127,124 @@ @section('styles') diff --git a/resources/views/warehouse_management/opnames/index.blade.php b/resources/views/warehouse_management/opnames/index.blade.php index 868d6c6..b89bf43 100755 --- a/resources/views/warehouse_management/opnames/index.blade.php +++ b/resources/views/warehouse_management/opnames/index.blade.php @@ -24,22 +24,22 @@
-
+
-
-
+
+
- +
-
-
+
+
- +
-
-
+
+
-
-
+
+
@@ -84,19 +84,123 @@ @section('styles')