amendment po changes-2 vadivel J 04-12-2024
This commit is contained in:
parent
7f62538c55
commit
9c5a41152c
@ -269,7 +269,16 @@
|
|||||||
|
|
||||||
$date = Datetime::createFromFormat('Y-m-d',$gasStockDetail['date'])->format('d-m-Y')
|
$date = Datetime::createFromFormat('Y-m-d',$gasStockDetail['date'])->format('d-m-Y')
|
||||||
?>
|
?>
|
||||||
<tr>
|
<!-- implementing date highlighter -->
|
||||||
|
<tr
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$currentDate = date('d-m-Y');
|
||||||
|
if ($date === $currentDate) { echo 'style="background: #cef0ad;"'; }
|
||||||
|
?>
|
||||||
|
|
||||||
|
>
|
||||||
<td class="celda_normal"><?=$date??'-'?></td>
|
<td class="celda_normal"><?=$date??'-'?></td>
|
||||||
|
|
||||||
<!-- only setting opening stock editable for first day of the month -->
|
<!-- only setting opening stock editable for first day of the month -->
|
||||||
@ -330,6 +339,8 @@
|
|||||||
$dateInMonthDmYFormat = Datetime::createFromFormat('Y-m-d',$dateInMonth)->format('d-m-Y');
|
$dateInMonthDmYFormat = Datetime::createFromFormat('Y-m-d',$dateInMonth)->format('d-m-Y');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<!-- implementing date highlighter -->
|
||||||
<tr
|
<tr
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -338,6 +349,8 @@
|
|||||||
if ($dateInMonthDmYFormat === $currentDate) { echo 'style="background: #cef0ad;"'; }
|
if ($dateInMonthDmYFormat === $currentDate) { echo 'style="background: #cef0ad;"'; }
|
||||||
?>
|
?>
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
<td class="celda_normal"><?=$dateInMonthDmYFormat??'-'?></td>
|
<td class="celda_normal"><?=$dateInMonthDmYFormat??'-'?></td>
|
||||||
<!-- only setting opening stock editable for first day of the month -->
|
<!-- only setting opening stock editable for first day of the month -->
|
||||||
<td class="celda_normal openingStock"
|
<td class="celda_normal openingStock"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user