From b79e3b0f3d82c7afbd03214a77b3f28ca11ee6e9 Mon Sep 17 00:00:00 2001 From: vadivel J Date: Tue, 12 Nov 2024 11:16:26 +0530 Subject: [PATCH] changes in stock module-1 12/11/024 -vadivel j --- app/Views/gasStockDetails.php | 82 +++++++++++++++++++++++++++++------ 1 file changed, 69 insertions(+), 13 deletions(-) diff --git a/app/Views/gasStockDetails.php b/app/Views/gasStockDetails.php index afff7556..6fc6ecbe 100644 --- a/app/Views/gasStockDetails.php +++ b/app/Views/gasStockDetails.php @@ -156,8 +156,9 @@ height: 20px; } - #bagStockDetailsTableId th:nth-child(1), - #bagStockDetailsTableId td:nth-child(1) { + #gasStockDetailsTableId th:nth-child(1), + #gasStockDetailsTableId td:nth-child(1), + { position: sticky; left: 0; background-color: #00a65a; @@ -220,19 +221,16 @@
- +
- - + - + + - - - - + @@ -243,8 +241,6 @@ - - @@ -269,8 +265,68 @@ + $gasStockDetail){ + ?> + + + + + + + + + + + + + + + + + modify('first day of this month')->format('Y-m-d'); + $endDate = $date->modify('last day of this month')->format('Y-m-d'); + + $datesInMonth = []; + + + $period = new DatePeriod( + new DateTime($startDate), + new DateInterval('P1D'), + (new DateTime($endDate))->modify('+1 day') + ); + + foreach ($period as $day) { + $datesInMonth[] = $day->format('Y-m-d'); + } + + foreach ($datesInMonth as $datesInMonthIndex => $dateInMonth) { + + + ?> + + + + + + + + + + + + + + + + +
RIPL
SEP- GAS CONSUMPTION-422 & 425 kg
RIPL
Gas Stock Trp Machine Sand TRP Rotary Drier