From a2cb0fe14aa5e50a229bb463213e9f015350a011 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Thu, 5 Dec 2024 15:03:16 +0530 Subject: [PATCH] supplier changes-1 vadivel J 05-12-2024 --- app/Views/bagStockDetails.php | 191 +++++++++++++++++++++++++++++----- app/Views/editSupplier.php | 25 +++++ app/Views/gasStockDetails.php | 17 ++- 3 files changed, 204 insertions(+), 29 deletions(-) diff --git a/app/Views/bagStockDetails.php b/app/Views/bagStockDetails.php index 996b2757..2dd36a9c 100644 --- a/app/Views/bagStockDetails.php +++ b/app/Views/bagStockDetails.php @@ -166,10 +166,35 @@ color: #ffffff; } - .modal { - padding-right: 30% ! important; - } + + + + + + 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'); + } + + ?> + +
@@ -214,6 +239,19 @@
+
+
+ +
@@ -232,7 +270,7 @@ - + @@ -348,28 +386,6 @@ with initial values 0 for entire month --> - 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'); - } - - ?> - $dateInMonth){ ?> + +
+ + + + + + + +