From 07da1d369b7a28a45c065431aceeee39aafb1132 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Mon, 24 Mar 2025 18:03:01 +0530 Subject: [PATCH 1/7] stock module - 24-03-2025 --- app/Models/TrpProductionModel.php | 64 ++++---- app/Views/stock/CoatingMachineDetail.php | 92 +++++++---- app/Views/stock/bagStockDetails.php | 130 +++++++++------ app/Views/stock/dieselStockDetails.php | 143 ++++++++++------ app/Views/stock/drierMachineDetails.php | 113 +++++++++---- app/Views/stock/dustAndRoughStockDetails.php | 105 +++++++----- app/Views/stock/gasStockDetails.php | 89 ++++++---- app/Views/stock/incomingSilicaSandDetails.php | 97 +++++------ app/Views/stock/powerConsumptionDetails.php | 155 +++++++++++------- app/Views/stock/resinStockDetails.php | 148 +++++++++++------ app/Views/stock/trpProductionStockDetails.php | 27 ++- app/Views/stock/trpSandUseStockDetails.php | 105 ++++++++---- 12 files changed, 807 insertions(+), 461 deletions(-) diff --git a/app/Models/TrpProductionModel.php b/app/Models/TrpProductionModel.php index 5302d616..8b8366ae 100644 --- a/app/Models/TrpProductionModel.php +++ b/app/Models/TrpProductionModel.php @@ -166,38 +166,42 @@ class TrpProductionModel extends Model ->getResultArray(); - $crsClientList = array_column($crsClientList, 'client_name'); + $crsClientList = array_column($crsClientList, 'client_name'); - // Initialize an empty array for dynamic SQL conditions - $caseStatementsCrs = []; + // Initialize an empty array for dynamic SQL conditions + $caseStatementsCrs = []; + + // Loop through the client list and build dynamic SUM(CASE WHEN...) + foreach ($crsClientList as $index => $client) { + + $crsClientList[$index] = $client."_crs"; + $clientCrs = $client."_crs"; + + // Add the condition to the array + $caseStatementsCrs[] = "SUM(CASE WHEN clients.client_name = " . $this->db->escape($client) . " THEN invItems.item_quantity ELSE 0 END) AS `$clientCrs`"; + } + + // Convert array to a comma-separated string + $caseSQLCrs = implode(', ', $caseStatementsCrs); + + // Subquery: Get unique invoice_id with item_date_added and total item_quantity per invoice + $subquery = $this->db->table('ip_invoice_items') + ->select('invoice_id, item_date_added, item_quantity') + ->whereIn('item_product_id', [81, 93]) + ->groupBy(['invoice_id']) + ->getCompiledSelect(); // Convert to raw SQL for subquery + + // Main Query: Use the subquery as invItems and join with ip_invoices and ip_clients + $subquery3 = $this->db->table("($subquery) invItems") + ->select(array_merge(['invItems.item_date_added'], $caseStatementsCrs)) // Add dynamic SUM(CASE WHEN..) + ->join('ip_invoices inv', 'inv.invoice_id = invItems.invoice_id', 'left') + ->join('ip_clients clients', 'clients.client_id = inv.client_id', 'left') + ->where("invItems.item_date_added BETWEEN '$startDate' AND '$endDate'", null, false) // Use BETWEEN for date filtering + ->groupBy('invItems.item_date_added') + ->getCompiledSelect(false); // Convert Query Builder to raw SQL; + - // Loop through the client list and build dynamic SUM(CASE WHEN...) - foreach ($crsClientList as $index => $client) { - - $crsClientList[$index] = $client."_crs"; - $clientCrs = $client."_crs"; - - // Add the condition to the array - $caseStatementsCrs[] = "SUM(CASE WHEN clients.client_name = " . $this->db->escape($client) . " THEN invItems.item_quantity ELSE 0 END) AS `$clientCrs`"; - } - - // Convert array to a comma-separated string - $caseSQLCrs = implode(', ', $caseStatementsCrs); - - - - $subquery3 = $this->db->table('ip_invoice_items invItems') - ->select([ - 'invItems.item_date_added', - $caseSQLCrs - ]) - ->join('ip_invoices inv', 'inv.invoice_id = invItems.invoice_id', 'left') - ->join('ip_clients clients', 'clients.client_id = inv.client_id', 'left') - ->whereIn('invItems.item_product_id', [81, 93]) - ->where("invItems.item_date_added BETWEEN '$startDate' AND '$endDate'", null, false) // Use BETWEEN for date filtering - ->groupBy('invItems.item_date_added') - - ->getCompiledSelect(false); // Convert Query Builder to raw SQL; + $builder->join("({$subquery3}) invItems", 'invItems.item_date_added = tpmd.date', 'left'); diff --git a/app/Views/stock/CoatingMachineDetail.php b/app/Views/stock/CoatingMachineDetail.php index 28473619..6fe97770 100644 --- a/app/Views/stock/CoatingMachineDetail.php +++ b/app/Views/stock/CoatingMachineDetail.php @@ -43,8 +43,15 @@ } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .fht-table { @@ -226,7 +233,7 @@ .table-responsive { overflow-y: auto; - max-height: 500px; + max-height: 700px; } .fht-table thead th { @@ -239,6 +246,13 @@ background-color:rgb(235, 236, 203); } + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + .card-body{ padding-bottom: 0;} + .card{ margin-bottom: 5px;} + +
@@ -267,10 +281,7 @@ Add Production Batch Card --> - +
@@ -292,46 +303,54 @@
-
+
-
+
+ value="" name="month" + class="form-control monthpicker" id="monthpicker" readonly> +
+ +
+ + + + + +
+ + +
+ + + +
+ +
+ +
-
- -
- -
- -
- @@ -1548,6 +1567,11 @@ \ No newline at end of file + + + diff --git a/app/Views/stock/bagStockDetails.php b/app/Views/stock/bagStockDetails.php index 3c9bfb45..8944fde6 100644 --- a/app/Views/stock/bagStockDetails.php +++ b/app/Views/stock/bagStockDetails.php @@ -26,8 +26,15 @@ } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .fht-table { @@ -239,6 +246,14 @@ background-color:rgb(235, 236, 203); } + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + .card-body{ + padding-top : 0; + padding-bottom: 0; + } + .card{ margin-bottom: 5px;} @@ -302,46 +317,67 @@
-
-
+ -
- " - class="form-control mt-2" - data-date-format="M-yyyy" data-date-min-view-mode="1" readonly> -
-
- - - - - - +
+
+ " + class="form-control mt-2" + style="z-index:30;" readonly> +
-
-
- -
+ - + + + + + + +
+ + + +
+ +
+ + + +
+ + + +
+
+ + + + +
+ + + +
+ +
@@ -422,16 +458,14 @@
- " - class="form-control mt-2" data-provide="datepicker" - data-date-format="M-yyyy" data-date-min-view-mode="1"> + " >
-
+
@@ -712,14 +746,6 @@
-
- -
-
- -
-
-
@@ -1291,6 +1317,10 @@ + + \ No newline at end of file diff --git a/app/Views/stock/drierMachineDetails.php b/app/Views/stock/drierMachineDetails.php index 0c9b55cc..5340bf52 100644 --- a/app/Views/stock/drierMachineDetails.php +++ b/app/Views/stock/drierMachineDetails.php @@ -46,8 +46,15 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .fht-table { @@ -242,6 +249,15 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); background-color:rgb(235, 236, 203); } + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + .card-body{ + padding-top : 10px; + padding-bottom: 0; + } + .card{ margin-bottom: 5px;} +
@@ -261,12 +277,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
-
- -
+
@@ -293,33 +304,41 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
-
+
-
+
-
-
- +
+ + - -
-
+ +
+ + + + +
+ +
+ + +
+
@@ -327,7 +346,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
- +
@@ -1355,3 +1374,39 @@ function convertToDate(dateString) { + + + + + + \ No newline at end of file diff --git a/app/Views/stock/dustAndRoughStockDetails.php b/app/Views/stock/dustAndRoughStockDetails.php index a1499b11..3796827b 100644 --- a/app/Views/stock/dustAndRoughStockDetails.php +++ b/app/Views/stock/dustAndRoughStockDetails.php @@ -31,8 +31,15 @@ } */ .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .fht-table { @@ -241,6 +248,19 @@ } + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + + .card-body{ + padding-top : 0; + padding-bottom : 0; + } + + .card{ margin-bottom: 5px;} + + + @@ -277,30 +297,37 @@
-
-
+ + + +
-
- " - class="form-control datepicker mt-2 " data-provide="datepicker" - data-date-format="M-yyyy" data-date-min-view-mode="1" readonly> +
+ + +
+ + -
- +
+
-
- + +
+
-
+ +
@@ -308,7 +335,7 @@
-
+
@@ -460,14 +487,6 @@
-
- -
-
- -
-
-
@@ -731,16 +750,22 @@ diff --git a/app/Views/stock/gasStockDetails.php b/app/Views/stock/gasStockDetails.php index 4318183e..950b81f0 100644 --- a/app/Views/stock/gasStockDetails.php +++ b/app/Views/stock/gasStockDetails.php @@ -18,8 +18,15 @@ } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .fht-table { @@ -208,7 +215,7 @@ .table-responsive { overflow-x: auto; overflow-y: auto; - max-height: 500px; /* Adjust as needed */ + max-height: 700px; /* Adjust as needed */ position: relative; } @@ -221,6 +228,11 @@ background-color:rgb(235, 236, 203); } + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + .card-body{ padding-bottom: 0;} + .card{ margin-bottom: 5px;} @@ -259,42 +271,48 @@
-
+
-
- " - class="form-control mt-2" data-provide="datepicker" - data-date-format="M-yyyy" data-date-min-view-mode="1" readonly> +
+ + + +
+ + -
- + +
+ + +
-
- +
+ + +
- +
- - +
- +
@@ -638,15 +656,8 @@
-
-
- -
-
- -
-
+ @@ -1199,4 +1210,12 @@ function convertToDate(dateString) { } }); + + + \ No newline at end of file diff --git a/app/Views/stock/incomingSilicaSandDetails.php b/app/Views/stock/incomingSilicaSandDetails.php index ba75ec5f..011e99f8 100644 --- a/app/Views/stock/incomingSilicaSandDetails.php +++ b/app/Views/stock/incomingSilicaSandDetails.php @@ -25,10 +25,18 @@ } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ } + .fht-table tr:hover { + background-color: rgb(170, 222, 167) ; + color:rgb(2, 2, 2); + } + + /* .fht-table td[contenteditable="true"] { background-color: lightyellow; color:rgb(13, 7, 7); @@ -214,7 +222,7 @@ .table-responsive { overflow-y: auto; - max-height: 500px; + max-height: 700px; } .fht-table thead th { @@ -235,12 +243,18 @@ #meshTableId tbody tr td{ padding : 3px !important ; } - + + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + .card-body{ padding-bottom: 0;} + .card{ margin-bottom: 5px;} +
@@ -291,51 +305,39 @@ -
+
-
+
- -
+
- -
+
- - " class="form-control mt-2" data-provide="datepicker" data-date-format="M-yyyy" data-date-min-view-mode="1" readonly> + " class="form-control " data-provide="datepicker" data-date-format="M-yyyy" data-date-min-view-mode="1" readonly>
-
- + -
- +
+
+
+
- - - - - - -
- - +
+ @@ -458,8 +460,9 @@ - @@ -728,13 +731,6 @@ -
- -
-
- -
-
@@ -1890,4 +1886,13 @@ $(document).ready(function() { $('#reportNotice').text("* Please save the changes to download"); }) - \ No newline at end of file + + + + diff --git a/app/Views/stock/powerConsumptionDetails.php b/app/Views/stock/powerConsumptionDetails.php index a4f8ce03..24f32516 100644 --- a/app/Views/stock/powerConsumptionDetails.php +++ b/app/Views/stock/powerConsumptionDetails.php @@ -25,16 +25,19 @@ cursor: grabbing; /* Closed-hand cursor when dragging */ } - /* .fht-table td[contenteditable="true"] { - background-color: lightyellow; - color:rgb(13, 7, 7); - } */ - .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ } + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + } + + .fht-table { border: 0 none; height: auto; @@ -226,7 +229,7 @@ .table-responsive { overflow-x: auto; overflow-y: auto; - max-height: 500px; + max-height: 700px; /* Adjust as needed */ position: relative; } @@ -240,6 +243,15 @@ background-color:rgb(235, 236, 203); } + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + .card-body{ + padding-top : 0; + padding-bottom: 0; + } + .card{ margin-bottom: 5px;} + @@ -302,46 +314,66 @@ foreach ($period as $day) {
-
-
+ -
- " - class="form-control mt-2" data-provide="datepicker" - style="z-index:30;" - data-date-format="M-yyyy" data-date-min-view-mode="1" readonly> -
-
- +
- - - - - +
+ " + class="form-control mt-2" + style="z-index:30;" readonly> +
-
-
- -
+ + + + + + + +
+ + + +
+ +
+ + + +
+ + + +
+
+ + + + +
+ + + +
+
@@ -423,16 +455,15 @@ foreach ($period as $day) {
- " - class="form-control mt-2" data-provide="datepicker" - data-date-format="M-yyyy" data-date-min-view-mode="1"> + " + >
-
- + +
+
@@ -501,7 +532,7 @@ foreach ($period as $day) { $currentDate = date('d-m-Y'); $dateInMonthDmYFormat = DateTime::createFromFormat('Y-m-d', $powerStockDetails[0]['date'])->format('d-m-Y'); if ($dateInMonthDmYFormat === $currentDate) { - echo 'style="background: #cef0ad;"'; + echo 'style="background: rgb(232, 245, 231);"'; } ?>> @@ -736,7 +767,7 @@ foreach ($period as $day) { $currentDate = date('d-m-Y'); $dateInMonthDmYFormat = DateTime::createFromFormat('Y-m-d', $dateInMonth)->format('d-m-Y'); if ($dateInMonthDmYFormat === $currentDate) { - echo 'style="background: #cef0ad;"'; + echo 'style="background: rgb(232, 245, 231);"'; } ?>> @@ -879,15 +910,7 @@ foreach ($period as $day) {
-
- -
- -
-
- -
-
+
@@ -1541,4 +1564,18 @@ foreach ($period as $day) { $('#customizeHeader').select2(); }) + + + \ No newline at end of file diff --git a/app/Views/stock/resinStockDetails.php b/app/Views/stock/resinStockDetails.php index b4c12ed4..3c626781 100644 --- a/app/Views/stock/resinStockDetails.php +++ b/app/Views/stock/resinStockDetails.php @@ -18,8 +18,15 @@ } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .grab { @@ -226,7 +233,7 @@ .table-responsive { overflow-x: auto; overflow-y: auto; - max-height: 500px; + max-height: 700px; /* Adjust as needed */ position: relative; } @@ -239,6 +246,19 @@ tfoot tr { background-color:rgb(235, 236, 203); } + + + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + + .card-body{ + padding-top : 0; + padding-bottom : 0; + } + + .card{ margin-bottom: 5px;} + @@ -294,55 +314,73 @@ foreach ($period as $day) { -
+
-
-
+ -
- " - class="form-control mt-2" data-provide="datepicker" - data-date-format="M-yyyy" data-date-min-view-mode="1" readonly> -
-
- +
- - +
+ " + class="form-control mt-2" + style="z-index:30;" readonly> +
- - - -
-
- -
+ - + + + +
+ + + +
+ +
+ + + +
+ + + +
+
+ + + + +
+ + + +
+ +
@@ -432,8 +470,8 @@ foreach ($period as $day) { -
- +
+
@@ -487,7 +525,7 @@ foreach ($period as $day) { $currentDate = date('d-m-Y'); $dateInMonthDmYFormat = DateTime::createFromFormat('Y-m-d', $resinStockDetails[0]['date'])->format('d-m-Y'); if ($dateInMonthDmYFormat === $currentDate) { - echo 'style="background: #cef0ad;"'; + echo 'style="background: rgb(232, 245, 231);"'; } ?>> $resinStock) { @@ -609,7 +647,7 @@ foreach ($period as $day) { $currentDate = date('d-m-Y'); $dateInMonthDmYFormat = DateTime::createFromFormat('Y-m-d', $dateInMonth)->format('d-m-Y'); if ($dateInMonthDmYFormat === $currentDate) { - echo 'style="background: #cef0ad;"'; + echo 'style="background: rgb(232, 245, 231);"'; } ?>> -
- -
-
- -
-
- @@ -1243,4 +1273,18 @@ foreach ($period as $day) { $('#customizeHeader').select2(); }) + + + \ No newline at end of file diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php index d49d994d..17355936 100644 --- a/app/Views/stock/trpProductionStockDetails.php +++ b/app/Views/stock/trpProductionStockDetails.php @@ -19,8 +19,15 @@ } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .fht-table { @@ -226,6 +233,18 @@ background-color:rgb(235, 236, 203); } + + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + + .card-body{ + padding-top : 0; + padding-bottom : 0; + } + + .card{ margin-bottom: 5px;} + @@ -343,7 +362,7 @@ $timeOtions[] = "12:00 AM";
-
+
@@ -1326,7 +1345,7 @@ $timeOtions[] = "12:00 AM";
-
+
diff --git a/app/Views/stock/trpSandUseStockDetails.php b/app/Views/stock/trpSandUseStockDetails.php index a60188c9..59e8770f 100644 --- a/app/Views/stock/trpSandUseStockDetails.php +++ b/app/Views/stock/trpSandUseStockDetails.php @@ -18,8 +18,15 @@ } .fht-table td:hover { - background-color: #50bbd9; - color: #ffffff; + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); + transform: scale(1.25); /* Increases size by 25% */ + transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + } + + .fht-table tr:hover { + background-color: rgb(170, 222, 167); + color:rgb(2, 2, 2); } .fht-table { @@ -227,6 +234,21 @@ background-color:rgb(235, 236, 203); } + + + body[data-layout-mode = horizontal] .container-fluid{ + max-width: 100%; + } + + .card-body{ + padding-top : 0; + padding-bottom : 0; + } + + .card{ margin-bottom: 5px;} + + + @@ -264,37 +286,45 @@
- -
+ -
- " - class="form-control mt-2" data-provide="datepicker" + +
+ +
+ + +
+ +
+ + + + + +
+ +
+ +
+ +
+ +
+
-
- -
-
-
- -
-
+ +
-
Particulars
+
@@ -485,13 +515,6 @@
-
- -
-
- -
-
@@ -759,4 +782,22 @@ + From ca3a8d5ee2eece46b9795ac1027e81a46e6e2d7f Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Tue, 25 Mar 2025 09:17:05 +0530 Subject: [PATCH 2/7] stock module - 25-03-2025 --- app/Views/stock/CoatingMachineDetail.php | 2 +- app/Views/stock/bagStockDetails.php | 2 +- app/Views/stock/dieselStockDetails.php | 2 +- app/Views/stock/drierMachineDetails.php | 2 +- app/Views/stock/dustAndRoughStockDetails.php | 2 +- app/Views/stock/gasStockDetails.php | 2 +- app/Views/stock/incomingSilicaSandDetails.php | 2 +- app/Views/stock/powerConsumptionDetails.php | 2 +- app/Views/stock/resinStockDetails.php | 2 +- app/Views/stock/trpProductionStockDetails.php | 2 +- app/Views/stock/trpSandUseStockDetails.php | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/Views/stock/CoatingMachineDetail.php b/app/Views/stock/CoatingMachineDetail.php index 6fe97770..3a8b2bd5 100644 --- a/app/Views/stock/CoatingMachineDetail.php +++ b/app/Views/stock/CoatingMachineDetail.php @@ -46,7 +46,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/bagStockDetails.php b/app/Views/stock/bagStockDetails.php index 8944fde6..dcf46883 100644 --- a/app/Views/stock/bagStockDetails.php +++ b/app/Views/stock/bagStockDetails.php @@ -29,7 +29,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/dieselStockDetails.php b/app/Views/stock/dieselStockDetails.php index 31a959cb..0efe820a 100644 --- a/app/Views/stock/dieselStockDetails.php +++ b/app/Views/stock/dieselStockDetails.php @@ -30,7 +30,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/drierMachineDetails.php b/app/Views/stock/drierMachineDetails.php index 5340bf52..d32fdadf 100644 --- a/app/Views/stock/drierMachineDetails.php +++ b/app/Views/stock/drierMachineDetails.php @@ -49,7 +49,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/dustAndRoughStockDetails.php b/app/Views/stock/dustAndRoughStockDetails.php index 3796827b..50b4f194 100644 --- a/app/Views/stock/dustAndRoughStockDetails.php +++ b/app/Views/stock/dustAndRoughStockDetails.php @@ -34,7 +34,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/gasStockDetails.php b/app/Views/stock/gasStockDetails.php index 950b81f0..1af33fa9 100644 --- a/app/Views/stock/gasStockDetails.php +++ b/app/Views/stock/gasStockDetails.php @@ -21,7 +21,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/incomingSilicaSandDetails.php b/app/Views/stock/incomingSilicaSandDetails.php index 011e99f8..4958a6e9 100644 --- a/app/Views/stock/incomingSilicaSandDetails.php +++ b/app/Views/stock/incomingSilicaSandDetails.php @@ -28,7 +28,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/powerConsumptionDetails.php b/app/Views/stock/powerConsumptionDetails.php index 24f32516..e23a0f89 100644 --- a/app/Views/stock/powerConsumptionDetails.php +++ b/app/Views/stock/powerConsumptionDetails.php @@ -29,7 +29,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/resinStockDetails.php b/app/Views/stock/resinStockDetails.php index 3c626781..b56555ee 100644 --- a/app/Views/stock/resinStockDetails.php +++ b/app/Views/stock/resinStockDetails.php @@ -21,7 +21,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php index 17355936..94598e3b 100644 --- a/app/Views/stock/trpProductionStockDetails.php +++ b/app/Views/stock/trpProductionStockDetails.php @@ -22,7 +22,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { diff --git a/app/Views/stock/trpSandUseStockDetails.php b/app/Views/stock/trpSandUseStockDetails.php index 59e8770f..04b0b62f 100644 --- a/app/Views/stock/trpSandUseStockDetails.php +++ b/app/Views/stock/trpSandUseStockDetails.php @@ -21,7 +21,7 @@ background-color: rgb(170, 222, 167); color:rgb(2, 2, 2); transform: scale(1.25); /* Increases size by 25% */ - transition: transform 0.2s ease-in-out; /* Smooth scaling effect */ + transition: transform 0.5s ease-in-out; /* Smooth scaling effect */ } .fht-table tr:hover { From 24d23f61ffce215c460f1412bc3ecf96f3b22e6b Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Tue, 25 Mar 2025 09:40:50 +0530 Subject: [PATCH 3/7] stock module - 25-03-2025 --- app/Views/stock/incomingSilicaSandDetails.php | 6 +- app/Views/stock/powerConsumptionDetails.php | 2 +- app/Views/stock/trpProductionStockDetails.php | 68 +++++++++---------- 3 files changed, 38 insertions(+), 38 deletions(-) diff --git a/app/Views/stock/incomingSilicaSandDetails.php b/app/Views/stock/incomingSilicaSandDetails.php index 4958a6e9..cd4e44d2 100644 --- a/app/Views/stock/incomingSilicaSandDetails.php +++ b/app/Views/stock/incomingSilicaSandDetails.php @@ -461,7 +461,7 @@ - " - class="form-control mt-2" data-provide="datepicker" - data-date-format="M-yyyy" data-date-min-view-mode="1" readonly> -
-
- -
-
-
- -
-
+
+ " + class="form-control mt-2" + style="z-index:30;" readonly> +
+ +
+ + + + + +
+ +
+ + + +
+ +
+ + + +
+
+ @@ -1302,18 +1310,6 @@ $timeOtions[] = "12:00 AM";
- - -
- - - -
-
- -
-
-
From 65083b1dceb4912fcdaa1317fe502b671e5e269e Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Tue, 25 Mar 2025 11:00:50 +0530 Subject: [PATCH 4/7] stock module - 25-03-2025 --- app/Views/stock/trpProductionStockDetails.php | 61 ++++++++++--------- 1 file changed, 33 insertions(+), 28 deletions(-) diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php index f94550e4..4fe5917c 100644 --- a/app/Views/stock/trpProductionStockDetails.php +++ b/app/Views/stock/trpProductionStockDetails.php @@ -164,7 +164,7 @@ /* */ text-align: center; border: 1px solid #ccc; - padding: 10px 6px; + padding: 6px 4px; } @@ -1312,34 +1312,45 @@ $timeOtions[] = "12:00 AM";
- +
+
-
-
- - -
-
- -

Abstract for the month

- +
-
+
+
+
+ + +

Abstract for the month

+
+ +
+ + + + + + + + + +
+
+
+ + + +
+ +
@@ -1677,12 +1688,6 @@ $timeOtions[] = "12:00 AM";
-
-
- -
-
-
From 2a1924fd137d8887ff0e9aadc36bca62c729dfa7 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Tue, 25 Mar 2025 11:15:06 +0530 Subject: [PATCH 5/7] stock module - 25-03-2025 --- app/Views/stock/trpProductionStockDetails.php | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php index 4fe5917c..ebff3590 100644 --- a/app/Views/stock/trpProductionStockDetails.php +++ b/app/Views/stock/trpProductionStockDetails.php @@ -330,7 +330,7 @@ $timeOtions[] = "12:00 AM";
-
+
@@ -1315,6 +1315,7 @@ $timeOtions[] = "12:00 AM";

+
@@ -1340,7 +1341,7 @@ $timeOtions[] = "12:00 AM"; - +
@@ -2361,8 +2362,19 @@ $timeOtions[] = "12:00 AM"; - - + From dfb7e39f03e9add39b72dbb592d75ca7d2e45555 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Tue, 25 Mar 2025 11:23:01 +0530 Subject: [PATCH 6/7] stock module - 25-03-2025 --- app/Views/stock/bagStockDetails.php | 2 +- app/Views/stock/dieselStockDetails.php | 2 +- app/Views/stock/incomingSilicaSandDetails.php | 10 ++++++---- app/Views/stock/powerConsumptionDetails.php | 2 +- app/Views/stock/resinStockDetails.php | 2 +- app/Views/stock/trpProductionStockDetails.php | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/app/Views/stock/bagStockDetails.php b/app/Views/stock/bagStockDetails.php index dcf46883..b4d84419 100644 --- a/app/Views/stock/bagStockDetails.php +++ b/app/Views/stock/bagStockDetails.php @@ -369,7 +369,7 @@ } ?> - +
diff --git a/app/Views/stock/dieselStockDetails.php b/app/Views/stock/dieselStockDetails.php index 0efe820a..4d9fcea8 100644 --- a/app/Views/stock/dieselStockDetails.php +++ b/app/Views/stock/dieselStockDetails.php @@ -362,7 +362,7 @@ foreach ($period as $day) { } ?> - +
diff --git a/app/Views/stock/incomingSilicaSandDetails.php b/app/Views/stock/incomingSilicaSandDetails.php index cd4e44d2..bc07f9b4 100644 --- a/app/Views/stock/incomingSilicaSandDetails.php +++ b/app/Views/stock/incomingSilicaSandDetails.php @@ -329,7 +329,7 @@
- +
@@ -450,7 +450,7 @@ - + @@ -548,8 +548,10 @@ - + + + + diff --git a/app/Views/stock/powerConsumptionDetails.php b/app/Views/stock/powerConsumptionDetails.php index bb7236d0..2b3fe04b 100644 --- a/app/Views/stock/powerConsumptionDetails.php +++ b/app/Views/stock/powerConsumptionDetails.php @@ -366,7 +366,7 @@ foreach ($period as $day) { } ?> - +
diff --git a/app/Views/stock/resinStockDetails.php b/app/Views/stock/resinStockDetails.php index b56555ee..a7e4922a 100644 --- a/app/Views/stock/resinStockDetails.php +++ b/app/Views/stock/resinStockDetails.php @@ -372,7 +372,7 @@ foreach ($period as $day) { } ?> - +
diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php index ebff3590..3ccc7501 100644 --- a/app/Views/stock/trpProductionStockDetails.php +++ b/app/Views/stock/trpProductionStockDetails.php @@ -359,7 +359,7 @@ $timeOtions[] = "12:00 AM";
- +
@@ -1341,7 +1341,7 @@ $timeOtions[] = "12:00 AM"; - +
From 89df707fcb19a31cf6d487130241a3e99b191362 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Tue, 25 Mar 2025 12:33:44 +0530 Subject: [PATCH 7/7] stock module - 24-03-2025 --- app/Views/editconfig.php | 47 +++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/app/Views/editconfig.php b/app/Views/editconfig.php index f1cbac68..3c1f97c4 100755 --- a/app/Views/editconfig.php +++ b/app/Views/editconfig.php @@ -69,7 +69,7 @@ if (!empty($master)) { echo form_open(base_url() . 'configurationctrl/updateconfig', $attributes); ?>
-
+
*
-
+
*
-
+
*
- -
- -
- - -
-
-
-
+
" method="post"> - - style="width: 18px; height: 18px;"> - - -
-
- + + style="width: 18px; height: 18px;"> + + +
+
+
+
@@ -599,7 +591,8 @@ if (!empty($master)) { style="cursor: pointer; color: #4d3a6d;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> ${item.MaterialCode} - ${item.MaterialName} + ${item.MaterialName} ${item.MaterialType} ${item.IsActive?"Active":"InActive"}