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'); } ?>
" class="form-control mt-2" data-provide="datepicker" data-date-format="M-yyyy" data-date-min-view-mode="1">
$bagStockDetails){ ?> format('d-m-Y'); if ($dateInMonthDmYFormat === $currentDate) { echo 'style="background: #cef0ad;"';} ?> > $bagStock){ ?> format('d-m-Y'); ?> $dateInMonth){ ?> format('d-m-Y'); if ($dateInMonthDmYFormat === $currentDate) { echo 'style="background: #cef0ad;"';} ?> > $bagMaterial){ ?> format('d-m-Y'); ?>
material
Customer
Date Opening Stock Receipt Used Balance Stock
oninput="openingStockChange(this)" contenteditable="true" >
oninput="openingStockChange(this)" contenteditable="true" > 0 0