stock changes 23-04-2025

This commit is contained in:
vadivelJ96 2025-04-24 10:10:01 +05:30
parent ea0d9afaaf
commit 0f54bd4cdd
5 changed files with 29 additions and 1 deletions

View File

@ -1411,6 +1411,13 @@ foreach ($period as $day) {
let dropdown = document.getElementById("customizeHeader");
let selectedOption = dropdown.options[dropdown.selectedIndex];
let containerId = `${selectedOption.value}_container`
let alreadyPresent = document.getElementById(containerId);
if(alreadyPresent){
return ;
}
if (selectedOption.value !== "") {
let materialCode = selectedOption.value;
let materialName = selectedOption.text;

View File

@ -1890,6 +1890,13 @@ foreach ($period as $day) {
let dropdown = document.getElementById("customizeHeader");
let selectedOption = dropdown.options[dropdown.selectedIndex];
let containerId = `${selectedOption.value}_container`
let alreadyPresent = document.getElementById(containerId);
if(alreadyPresent){
return ;
}
if (selectedOption.value !== "") {
let machineId = selectedOption.value;
let materialName = selectedOption.text;

View File

@ -686,7 +686,7 @@
<td class="celda_normal consumption"
data-id="footer consumption"><?= $summary['consumption'] == 0 ? "" : $summary['consumption'] ?></td>
<td class="celda_normal balanceStock"
data-id="footer balanceStock" ><?= $summary['total'] - $summary['consumption'] == 0 ? "" : $summary['total'] - $summary['consumption'] ?></td>
data-id="footer balanceStock" ></td>
<td class="celda_normal tenTonGasConsumption"
data-id="footer tenTonGasConsumption"><?= $summary['drierMachineGasConsumption'] == 0 ? "" : $summary['drierMachineGasConsumption'] ?></td>
<td class="celda_normal sandDried"

View File

@ -1765,6 +1765,13 @@ foreach ($period as $day) {
let dropdown = document.getElementById("customizeHeader");
let selectedOption = dropdown.options[dropdown.selectedIndex];
let containerId = `${selectedOption.value}_container`
let alreadyPresent = document.getElementById(containerId);
if(alreadyPresent){
return ;
}
if (selectedOption.value !== "") {
let materialCode = selectedOption.value;
let materialName = selectedOption.text;

View File

@ -1389,6 +1389,13 @@ foreach ($period as $day) {
let dropdown = document.getElementById("customizeHeader");
let selectedOption = dropdown.options[dropdown.selectedIndex];
let containerId = `${selectedOption.value}_container`
let alreadyPresent = document.getElementById(containerId);
if(alreadyPresent){
return ;
}
if (selectedOption.value !== "") {
let materialCode = selectedOption.value;
let materialName = selectedOption.text;