From 50f425d464e3e4674b9afe9049bab94c65e6facc Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Thu, 9 Jan 2025 10:05:23 +0530 Subject: [PATCH] stock module latest today vadivel J 08-1-2025 --- app/Views/trpProductionStockDetails.php | 47 +++++++++++++++++++++---- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/app/Views/trpProductionStockDetails.php b/app/Views/trpProductionStockDetails.php index 9844d960..bc8b8f9b 100644 --- a/app/Views/trpProductionStockDetails.php +++ b/app/Views/trpProductionStockDetails.php @@ -1162,15 +1162,40 @@ burnerFiringHours = result[1]; + trpPlusDrierGasConsumption = parseInt( parseFloat(physicalGasConsumption) - + ( parseFloat(drierGasConsumption) + parseFloat(coatingGasConsumption) ) ); + trpPhysicalGasPerTon = parseFloat(trpPlusDrierGasConsumption) / (parseFloat(trpProduction)/1000) ; + panelGasPerTon = parseFloat(panelGasConsumption) / (parseFloat(trpProduction)/1000) ; - + trpProductionPerHour = parseFloat(trpProduction) / parseFloat(sandFeedingHours) ; + ebReadingPerUnitTon = parseFloat(ebReading) / (parseFloat(trpProduction)/1000) ; + + + + + + // Final updation of value into td + + tr.find('td:eq(7)').text(sandFeedingHours); + + tr.find('td:eq(6)').text(burnerFiringHours); + + tr.find('td:eq(13)').text(trpPlusDrierGasConsumption); + + tr.find('td:eq(14)').text(trpPhysicalGasPerTon); + + tr.find('td:eq(15)').text(panelGasPerTon); + + tr.find('td:eq(28)').text(trpProductionPerHour); + + tr.find('td:eq(38)').text(ebReadingPerUnitTon); + + - - } catch(error){ @@ -1267,12 +1292,22 @@