stock module latest today vadivel J 08-02-2025

This commit is contained in:
vadivelJ96 2025-02-08 10:18:00 +05:30
parent 42f396c186
commit 2eb60b4816
2 changed files with 5 additions and 5 deletions

View File

@ -1235,7 +1235,7 @@ foreach ($period as $day) {
let dataId = `${otherDate} ${machine_id}`;
document.querySelector(`td.openingReading[data-id="${dataId}"]`).innerText = closingReading == 0 ? " " : closingReading ;
document.querySelector(`td.openingReading[data-id="${dataId}"]`).innerText = closingReading == 0 ? " " : (closingReading).toFixed(2) ;
let openingReading = validateInput(document.querySelector(`td.openingReading[data-id="${dataId}"]`).innerText);
@ -1253,7 +1253,7 @@ foreach ($period as $day) {
document.querySelector(`td.mileage[data-id="${dataId}"]`).innerText = mileage == 0 ? " " : mileage ;
document.querySelector(`td.closingReading[data-id="${dataId}"]`).innerText = closingReading == 0 ? " " : closingReading ;
document.querySelector(`td.closingReading[data-id="${dataId}"]`).innerText = closingReading == 0 ? " " : (closingReading).toFixed(2) ;
}

View File

@ -436,7 +436,7 @@ foreach ($period as $day) {
</td>
<td class="celda_normal averagePfTP"
<td class="celda_normal averagePfTP" contenteditable="true"
data-id="<?=$totalPower[$groupedIndex]['date']?>"
>
@ -444,7 +444,7 @@ foreach ($period as $day) {
</td>
<td class="celda_normal presentPfTP"
<td class="celda_normal presentPfTP" contenteditable="true"
data-id="<?=$totalPower[$groupedIndex]['date']?>"
>
@ -452,7 +452,7 @@ foreach ($period as $day) {
</td>
<td class="celda_normal mdTP"
<td class="celda_normal mdTP" contenteditable="true"
oninput="mdTPStockChange(this)"
data-id="<?=$totalPower[$groupedIndex]['date']?>"
>