diff --git a/app/Views/rawmaterialListing.php b/app/Views/rawmaterialListing.php
index 10b57846..4ea7e148 100755
--- a/app/Views/rawmaterialListing.php
+++ b/app/Views/rawmaterialListing.php
@@ -49,11 +49,20 @@
-
+
Material Master Details
+
+
+
-
+
-
+
@@ -944,8 +946,8 @@
Total Coating |
Total Coating Sand(kg) |
Total Gas Consumption |
-
Hour Gas |
-
Hour QTY(kg) |
+
Per Hour Gas |
+
Per Hour QTY(kg) |
Action |
@@ -984,7 +986,8 @@
|
-
|
+
|
|
@@ -994,9 +997,9 @@
|
-
|
+
|
-
|
+
|
@@ -1069,8 +1072,8 @@
| = $summary['totalCoating'] ?> |
= $summary['totalCoatingSandInKg'] ?> |
= $summary['totalGasConsumption'] ?> |
-
= number_format($summary['totalGasConsumption'] / $summary['totalMachineRunningHrs'], 2) ?> (avg) |
-
= number_format($summary['totalCoatingSandInKg'] / $summary['totalMachineRunningHrs'], 2) ?> (avg) |
+
= round($summary['totalGasConsumption'] / $summary['totalMachineRunningHrs']) ?> (A) |
+
= round($summary['totalCoatingSandInKg'] / $summary['totalMachineRunningHrs']) ?> (A) |
@@ -1085,14 +1088,22 @@
-
-
+
+
+
+
No Coating Machine Details present in this month
+
+
+
Note :- (A) -> Average
+
+
+
@@ -1838,8 +1849,10 @@
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
@@ -1912,3 +1925,26 @@
+
+
diff --git a/app/Views/stock/bagStockDetails.php b/app/Views/stock/bagStockDetails.php
index f819e15e..4fd3fc3f 100644
--- a/app/Views/stock/bagStockDetails.php
+++ b/app/Views/stock/bagStockDetails.php
@@ -212,7 +212,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
padding: 10px;
white-space: normal;
/* Allows text to wrap */
@@ -1364,13 +1364,15 @@ foreach ($period as $day) {
}).catch(err => console.log("Error enabling fullscreen:", err));
} else {
document.exitFullscreen().then(() => {
+ div.style.width = "100%";
+ div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
-
-
}).catch(err => console.log("Error exiting fullscreen:", err));
}
diff --git a/app/Views/stock/dieselStockDetails.php b/app/Views/stock/dieselStockDetails.php
index 08e5781a..abefaa59 100644
--- a/app/Views/stock/dieselStockDetails.php
+++ b/app/Views/stock/dieselStockDetails.php
@@ -213,7 +213,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
padding: 10px;
}
@@ -1733,8 +1733,10 @@ foreach ($period as $day) {
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
diff --git a/app/Views/stock/drierMachineDetails.php b/app/Views/stock/drierMachineDetails.php
index 3e2976ef..c48584fb 100644
--- a/app/Views/stock/drierMachineDetails.php
+++ b/app/Views/stock/drierMachineDetails.php
@@ -462,7 +462,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
-
-
+
@@ -618,7 +618,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
@@ -752,7 +752,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
-
+
@@ -867,22 +867,22 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
-
+
|
-
+
|
-
+
|
-
+
|
@@ -942,7 +942,10 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
$summary['input_sand_qty'] += $a['input_sand_qty'] == "-" ? 0 : (float) $a['input_sand_qty'];
$summary['moisture_loss_qty'] += $a['moisture_loss_qty'] == "-" ? 0 : (float) $a['moisture_loss_qty'];
$summary['sand_dried_qty'] += $a['sand_dried_qty'] == "-" ? 0 : (float) $a['sand_dried_qty'];
+ $summary['gas_per_ton'] = round(($summary['total_gas_consumption'] / $summary['sand_dried_qty']));
+ $summary['qty_per_hrs'] = round( ($summary['sand_dried_qty'] / $summary['drier_running_hours']) );
$summary['dust_qty'] += $a['dust_qty'] == "-" ? 0 : (float) $a['dust_qty'];
+
} ?>
@@ -962,8 +965,8 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
- |
= $summary['sand_dried_qty'] ?> |
= $summary['total_gas_consumption'] ?> |
- |
- |
+ = $summary['gas_per_ton']?>(A) |
+ = $summary['qty_per_hrs']?>(A) |
= $summary['moisture_loss_qty'] ?> |
= $summary['dust_qty'] ?> |
@@ -979,7 +982,12 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
-
+
+
+ Note :- (A) -> Average
+
+
+
@@ -1471,8 +1479,10 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
@@ -1543,4 +1553,27 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
+
+
+
\ No newline at end of file
diff --git a/app/Views/stock/dustAndRoughStockDetails.php b/app/Views/stock/dustAndRoughStockDetails.php
index 331eb25e..5f545965 100644
--- a/app/Views/stock/dustAndRoughStockDetails.php
+++ b/app/Views/stock/dustAndRoughStockDetails.php
@@ -217,7 +217,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
padding: 10px;
}
@@ -342,7 +342,7 @@
-
+
"
class="form-control "
@@ -394,7 +394,7 @@
-
@@ -967,8 +967,10 @@
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
diff --git a/app/Views/stock/gasStockDetails.php b/app/Views/stock/gasStockDetails.php
index 029b2079..e2253d7d 100644
--- a/app/Views/stock/gasStockDetails.php
+++ b/app/Views/stock/gasStockDetails.php
@@ -202,7 +202,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
padding: 10px;
}
@@ -222,7 +222,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
- max-height: 500px;
+ max-height: 450px;
max-width: 100%;
position: relative;
}
@@ -453,16 +453,15 @@
| RIPL |
Gas Stock |
- FBD 10 Ton Dryer |
- Sand Dried |
- Coating Machine |
- Sand Coated |
- TRP |
+ FBD 10 Ton Dryer |
+ Coating Machine |
+ TRP |
Sand TRP |
Rotary Drier |
+
| Date |
Opening Stock |
Purchase(Bharath) |
@@ -470,10 +469,12 @@
Total |
Consumption |
Balance Stock |
+
+
Consumption |
- Ton |
+ Sand Dried Qty |
Consumption |
- Ton |
+ Sand Coated Qty |
Panel Consumption |
Physical Consumption |
Ton |
@@ -1272,8 +1273,10 @@
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
diff --git a/app/Views/stock/incomingSilicaSandDetails.php b/app/Views/stock/incomingSilicaSandDetails.php
index 7a015ea9..9a22384a 100644
--- a/app/Views/stock/incomingSilicaSandDetails.php
+++ b/app/Views/stock/incomingSilicaSandDetails.php
@@ -1958,8 +1958,10 @@
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
diff --git a/app/Views/stock/powerConsumptionDetails.php b/app/Views/stock/powerConsumptionDetails.php
index 3d052ec8..3db3d7d1 100644
--- a/app/Views/stock/powerConsumptionDetails.php
+++ b/app/Views/stock/powerConsumptionDetails.php
@@ -213,7 +213,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
padding: 10px;
}
@@ -261,6 +261,11 @@
.card {
margin-bottom: 5px;
}
+
+ #powerStockDetailsTableId { /* Replace with your table's actual ID or selector */
+ border-collapse: collapse;
+ }
+
@@ -595,7 +600,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: rgb(232, 245, 231);"';
+ echo 'style="background: #cef0ad;"';
}
?>>
@@ -830,7 +835,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: rgb(232, 245, 231);"';
+ echo 'style="background: #cef0ad;"';
}
?>>
@@ -1617,14 +1622,16 @@ foreach ($period as $day) {
tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error enabling fullscreen:", err));
- } else {
+ } else {
document.exitFullscreen().then(() => {
div.style.width = "100%";
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
diff --git a/app/Views/stock/resinStockDetails.php b/app/Views/stock/resinStockDetails.php
index e06bc111..0663ac6f 100644
--- a/app/Views/stock/resinStockDetails.php
+++ b/app/Views/stock/resinStockDetails.php
@@ -213,7 +213,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
padding: 10px;
}
@@ -583,7 +583,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: rgb(232, 245, 231);"';
+ echo 'style="background: #cef0ad;"';
}
?>>
$resinStock) {
@@ -705,7 +705,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: rgb(232, 245, 231);"';
+ echo 'style="background: #cef0ad ;"';
}
?>>
console.log("Error enabling fullscreen:", err));
} else {
- document.exitFullscreen().then(() => {
- div.style.width = "100%";
- div.style.height = "100%";
+ document.exitFullscreen().then(() => {
+ div.style.width = "100%";
+ div.style.height = "100%";
- // Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
- }
- }).catch(err => console.log("Error exiting fullscreen:", err));
- }
+ // Reset .table-responsive height when exiting fullscreen
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
+ }
+ }).catch(err => console.log("Error exiting fullscreen:", err));
+ }
}
$("#searchInput").on("keyup", function () {
diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php
index 194b1364..f6e7ceac 100644
--- a/app/Views/stock/trpProductionStockDetails.php
+++ b/app/Views/stock/trpProductionStockDetails.php
@@ -210,7 +210,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
white-space: normal;
/* Allows text to wrap */
word-wrap: break-word;
@@ -305,6 +305,12 @@
.card {
margin-bottom: 5px;
}
+
+ #trpProductionStockDetailsTableId { /* Replace with your table's actual ID or selector */
+ border-collapse: collapse;
+ }
+
+
@@ -2566,12 +2572,14 @@ $timeOtions[] = "12:00 AM";
}).catch(err => console.log("Error enabling fullscreen:", err));
} else {
document.exitFullscreen().then(() => {
- div.style.width = "100%";
- div.style.height = "100%";
+ div.style.width = "100%";
+ div.style.height = "auto";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}
diff --git a/app/Views/stock/trpSandUseStockDetails.php b/app/Views/stock/trpSandUseStockDetails.php
index cdaa356b..c3e9efe8 100644
--- a/app/Views/stock/trpSandUseStockDetails.php
+++ b/app/Views/stock/trpSandUseStockDetails.php
@@ -202,7 +202,7 @@
background-color: #50bbd9;
/* Green background */
color: #ffffff;
- border: 1px solid #ddd;
+ border: 2px solid ;
padding: 10px;
}
@@ -328,7 +328,7 @@
-
+
"
class="form-control "
@@ -380,7 +380,7 @@
-
@@ -998,8 +998,10 @@
div.style.height = "100%";
// Reset .table-responsive height when exiting fullscreen
- if (tableResponsive) {
- tableResponsive.style.height = "auto";
+ // If .table-responsive exists, set its height to 90vh
+ if (tableResponsive) {
+ tableResponsive.style.maxHeight = "450px";
+ tableResponsive.style.overflowY = "auto"; // Allow scrolling if needed
}
}).catch(err => console.log("Error exiting fullscreen:", err));
}