From 6e9d9f7ea1182b3b82548186705d8c59d3f8154e Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Wed, 29 Jan 2025 18:11:31 +0530 Subject: [PATCH 1/5] stock module latest today vadivel J 29-01-2025 --- app/Views/trpProductionStockDetails.php | 200 ++++++++++++++++++------ 1 file changed, 150 insertions(+), 50 deletions(-) diff --git a/app/Views/trpProductionStockDetails.php b/app/Views/trpProductionStockDetails.php index 37504006..cf1529c4 100644 --- a/app/Views/trpProductionStockDetails.php +++ b/app/Views/trpProductionStockDetails.php @@ -100,6 +100,17 @@ } + + .celda_encabezado_general { + background-color: #00a65a; + border: 1px solid #ccc; + color: #ffffff; + font-weight: bold; + padding: 6px 10px;; + text-align: center; + } + + .celda_encabezado_general { background-color: #00a65a; border: 1px solid #ccc; @@ -122,13 +133,7 @@ width: 4px; } - .celda_normal { - /*background-color: #fff;*/ - /* */ - text-align: center; - border: 1px solid #ccc; - padding: 2px 4px; - } + /*style excel*/ .excel_cell { @@ -156,19 +161,92 @@ height: 20px; } - #trpProductionStockDetailsTableId th:nth-child(1), - #trpProductionStockDetailsTableId td:nth-child(1) { + + .celda_encabezado_general { + background-color: #00a65a; + border: 1px solid #ccc; + color: #ffffff; + font-weight: bold; + padding: 2px 4px; + text-align: center; + } + + .celda_encabezado_total { + background-color:#ffffff !important; + border: 1px solid #ffffff; + color: #ffffff !important; + font-weight: bold; + padding: 6px 10px; + text-align: center; + } + + .celda_normal { + /*background-color: #fff;*/ + /* */ + text-align: center; + border: 1px solid #ccc; + padding: 10px 6px; + } + + + /* Make entire thead sticky */ + .fht-table thead { + position: sticky; + top: 0; + z-index: 20; /* Ensure the entire header stays above table rows */ + background-color: #00a65a; /* Header background color */ + } + + .dropdown-menu { + z-index :25 ; + } + + + + /* Ensure each in thead stays sticky */ + .fht-table thead th { + position: sticky; + top: 0; + z-index: 11; /* Higher than table rows but lower than first column */ + background-color: #00a65a; /* Green background */ + color: #ffffff; + border: 1px solid #ddd; + padding: 10px; + white-space: normal; /* Allows text to wrap */ + word-wrap: break-word; /* Breaks long words if needed */ + text-align: center; /* Centers text for better alignment */ + max-width: 150px; /* Set a max width to control wrapping */ + } + + /* Sticky First Column */ + .fht-table th:nth-child(1), + .fht-table td:nth-child(1) { position: sticky; left: 0; background-color: #00a65a; - z-index: 2; + z-index: 15; /* Ensures it stays above other cells */ border-right: 2px solid #ddd; color: #ffffff; } - .modal { - padding-right: 30% ! important; + /* Table Wrapper for Scrolling */ + .table-responsive { + overflow-x: auto; + overflow-y: auto; + max-height: 450px; /* Adjust as needed */ + position: relative; } + + td{ + min-width: 100px; + max-width: 100px; + } + + th{ + min-width: 100px; + max-width: 100px; + } + @@ -359,7 +437,7 @@ - BG + BG PG @@ -1132,28 +1210,28 @@ function calculateSandFeedingHours(totalHours,coldStart,breakdownHours){ - -let [totalHoursF, coldStartF, breakdownHoursF] = [totalHours, coldStart, breakdownHours].map((time) => { - if (time === "" || time == null) return "0.00"; - if (typeof time === "number") return time.toFixed(2); - if (!time.includes(".")) return `${time}.00`; - return time; - }); + + let [totalHoursF, coldStartF, breakdownHoursF] = [totalHours, coldStart, breakdownHours].map((time) => { + if (time === "" || time == null) return "0.00"; + if (typeof time === "number") return time.toFixed(2); + if (!time.includes(".")) return `${time}.00`; + return time; + }); -let sandFeedingHours = 0; + let sandFeedingHours = 0; -let totalHoursInt = milliSecondsFormat((totalHours)); -let coldStartInt = milliSecondsFormat(coldStart); -let breakdownHoursInt = milliSecondsFormat(breakdownHours); + let totalHoursInt = milliSecondsFormat((totalHoursF)); + let coldStartInt = milliSecondsFormat(coldStartF); + let breakdownHoursInt = milliSecondsFormat(breakdownHoursF); -let burnerFiringHoursInt = totalHoursInt - breakdownHoursInt ; + let burnerFiringHoursInt = totalHoursInt - breakdownHoursInt ; -sandFeedingHours = milliSecondsToHourMinuteFormat(burnerFiringHoursInt - coldStartInt); + sandFeedingHours = milliSecondsToHourMinuteFormat(burnerFiringHoursInt - coldStartInt); -burnerFiringHours = milliSecondsToHourMinuteFormat(burnerFiringHoursInt); + burnerFiringHours = milliSecondsToHourMinuteFormat(burnerFiringHoursInt); -return [sandFeedingHours,burnerFiringHours]; + return [sandFeedingHours,burnerFiringHours]; } @@ -1205,27 +1283,27 @@ return totalHours; let tr = $(tdElement).closest('tr'); - let totalHours = tr.find('td:eq(3)').text().trim() ?? 0; - let coldStart = tr.find('td:eq(4)').text().trim() ?? 0; - let breakdownHours = tr.find('td:eq(5)').text().trim() ?? 0; + let totalHours = validateInput(tr.find('td:eq(3)').text().trim()) ?? 0; + let coldStart = validateInput(tr.find('td:eq(4)').text().trim()) ?? 0; + let breakdownHours = validateInput(tr.find('td:eq(5)').text().trim()) ?? 0; let burnerFiringHours = tr.find('td:eq(6)').text().trim() ?? 0; let sandFeedingHours = tr.find('td:eq(7)').text().trim() ?? 0; let gasReceiptBg = tr.find('td:eq(8)').text().trim() ?? 0; let gasReceiptPg = tr.find('td:eq(9)').text().trim() ?? 0; - let physicalGasConsumption = tr.find('td:eq(10)').text().trim()?? 0; - let drierGasConsumption = tr.find('td:eq(11)').text().trim()?? 0; - let coatingGasConsumption = tr.find('td:eq(12)').text().trim()?? 0; + let physicalGasConsumption = validateInput(tr.find('td:eq(10)').text().trim())?? 0; + let drierGasConsumption = validateInput(tr.find('td:eq(11)').text().trim())?? 0; + let coatingGasConsumption = validateInput(tr.find('td:eq(12)').text().trim())?? 0; let trpPlusDrierGasConsumption = tr.find('td:eq(13)').text().trim()?? 0; let trpPhysicalGasPerTon = tr.find('td:eq(14)').text().trim()?? 0; - let panelGasConsumption = tr.find('td:eq(15)').text().trim()?? 0; + let panelGasConsumption = validateInput(tr.find('td:eq(15)').text().trim())?? 0; let panelGasPerTon = tr.find('td:eq(16)').text().trim()?? 0; let edRunningHours = tr.find('td:eq(24)').text().trim()?? 0; let edProduction = tr.find('td:eq(25)').text().trim()?? 0; let edUsage = tr.find('td:eq(26)').text().trim()?? 0; - let trpProduction = tr.find('td:eq(27)').text().trim()?? 0; + let trpProduction = validateInput(tr.find('td:eq(27)').text().trim())?? 0; let trpProductionPerHour = tr.find('td:eq(28)').text().trim()?? 0; let coating = tr.find('td:eq(29)').text().trim()?? 0; @@ -1242,35 +1320,33 @@ return totalHours; burnerFiringHours = result[1]; trpPlusDrierGasConsumption = parseInt( parseFloat(physicalGasConsumption) - - ( parseFloat(drierGasConsumption) + parseFloat(coatingGasConsumption) ) ); + ( parseFloat(drierGasConsumption) + parseFloat(coatingGasConsumption) ) ) ; - trpPhysicalGasPerTon = parseFloat(trpPlusDrierGasConsumption) / (parseFloat(trpProduction)/1000) ; + trpPhysicalGasPerTon = trpProduction == 0 ? " " : parseFloat(trpPlusDrierGasConsumption) / (parseFloat(trpProduction)/1000) ; - panelGasPerTon = parseFloat(panelGasConsumption) / (parseFloat(trpProduction)/1000) ; + panelGasPerTon = trpProduction == 0 ? " " : parseFloat(panelGasConsumption) / (parseFloat(trpProduction)/1000) ; - trpProductionPerHour = parseFloat(trpProduction) / parseFloat(sandFeedingHours) ; + trpProductionPerHour = sandFeedingHours == 0 ? " " : parseFloat(trpProduction) / parseFloat(sandFeedingHours) ; - ebReadingPerUnitTon = parseFloat(ebReading) / (parseFloat(trpProduction)/1000) ; - - + ebReadingPerUnitTon = trpProduction == 0 ? " " : parseFloat(ebReading) / (parseFloat(trpProduction)/1000) ; // Final updation of value into td - tr.find('td:eq(7)').text(sandFeedingHours); + tr.find('td:eq(7)').text(Number.isNaN(sandFeedingHours)? " " : sandFeedingHours); - tr.find('td:eq(6)').text(burnerFiringHours); + tr.find('td:eq(6)').text(Number.isNaN(burnerFiringHours)? " " : burnerFiringHours); - tr.find('td:eq(13)').text(trpPlusDrierGasConsumption); + tr.find('td:eq(13)').text(Number.isNaN(trpPlusDrierGasConsumption)? " " : trpPlusDrierGasConsumption); - tr.find('td:eq(14)').text(trpPhysicalGasPerTon); + tr.find('td:eq(14)').text(Number.isNaN(trpPhysicalGasPerTon)? " " : trpPhysicalGasPerTon); - tr.find('td:eq(15)').text(panelGasPerTon); + tr.find('td:eq(15)').text(Number.isNaN(panelGasPerTon)? " " : panelGasPerTon); - tr.find('td:eq(28)').text(trpProductionPerHour); + tr.find('td:eq(28)').text(Number.isNaN(trpProductionPerHour)? " " : (trpProductionPerHour).toFixed(2)); - tr.find('td:eq(38)').text(ebReadingPerUnitTon); + tr.find('td:eq(38)').text(Number.isNaN(ebReadingPerUnitTon)? " " : ebReadingPerUnitTon); @@ -1369,8 +1445,32 @@ return totalHours; + + From 381ca7e975f2faea6de24ef64f17def2d4b0d42d Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Thu, 30 Jan 2025 06:51:14 +0000 Subject: [PATCH 2/5] minor bugs in igr : ps --- app/Controllers/Inwardgateregister.php | 3 +- app/Models/Inwardgateregister_model.php | 12 +++- app/Views/inwardgateregister.php | 72 +++++++++++----------- app/Views/viewinwardgateregister.php | 79 +++++++++---------------- 4 files changed, 77 insertions(+), 89 deletions(-) diff --git a/app/Controllers/Inwardgateregister.php b/app/Controllers/Inwardgateregister.php index 65d02aaf..3a0b1cc7 100755 --- a/app/Controllers/Inwardgateregister.php +++ b/app/Controllers/Inwardgateregister.php @@ -146,6 +146,7 @@ class Inwardgateregister extends BaseController $result = $this->inwardgateregister_model->getpurchaseorder(); $result1 = $this->inwardgateregister_model->transporter(); + $data['driverlist'] = $this->inwardgateregister_model->getdriverlist(); $data['transporter'] = array_filter($result1 , function($item) { return ($item->isactive == 1); }); @@ -158,7 +159,7 @@ class Inwardgateregister extends BaseController }); $data['emp_data'] = []; // $data['emp_data'] = $this->inwardgateregister_model->getAdditionalIGRFile(); - // dd($data['PO_NO']);die; + // dd($data['driverlist']);die; $this->loadViews("inwardgateregister", $this->global, $data, NULL); } diff --git a/app/Models/Inwardgateregister_model.php b/app/Models/Inwardgateregister_model.php index 70901a0e..e8ab69ad 100755 --- a/app/Models/Inwardgateregister_model.php +++ b/app/Models/Inwardgateregister_model.php @@ -193,7 +193,7 @@ class Inwardgateregister_model extends Model function viewpurchaseorder($PO) { - $subQuery = 'SELECT distinct POM.PONO, POL.MaterialCode, POL.Quantity, POL.ReceivedQuantity, (POL.Quantity - POL.ReceivedQuantity) as PendingQty, QuantityRejected, POL.PONO, MM.MaterialName, MM.UOM + $subQuery = 'SELECT distinct POM.PONO, POL.MaterialCode, POL.Quantity, POL.ReceivedQuantity, (POL.Quantity - POL.ReceivedQuantity) as PendingQty, QuantityRejected, POL.PONO, MM.MaterialName, MM.UOM,POL.Rate FROM t_purchaseorder_master POM LEFT JOIN t_purchaseorder_lineitem POL ON POL.PONO = POM.PONO LEFT JOIN t_igr_master IGM ON IGM.PONO = POL.PONO @@ -1196,6 +1196,16 @@ class Inwardgateregister_model extends Model ]; } + public function getdriverlist() + { + + $query = $this->db->query('SELECT DriverName,DriverMobileNumber + FROM t_igr_master + WHERE DriverName != "" + GROUP BY DriverName,DriverMobileNumber'); + $result = $query->getResultArray(); + return $result; + } } \ No newline at end of file diff --git a/app/Views/inwardgateregister.php b/app/Views/inwardgateregister.php index d5fe33f6..58f5bfc0 100755 --- a/app/Views/inwardgateregister.php +++ b/app/Views/inwardgateregister.php @@ -17,37 +17,6 @@ \ No newline at end of file + + \ No newline at end of file diff --git a/app/Views/viewinwardgateregister.php b/app/Views/viewinwardgateregister.php index bd6d17b9..e67dd612 100755 --- a/app/Views/viewinwardgateregister.php +++ b/app/Views/viewinwardgateregister.php @@ -105,35 +105,6 @@ changeYear: true, yearRange: '-100:+0' }); - $('#Driver_Name').autocomplete({ - - onSearchStart: function(query) { - //alert(query); - $('#Driver_Name').autocomplete("option", "minLength", 0); - }, - - serviceUrl: "drivernameautocomplete", - onSelect: function(suggestion) { - var data = suggestion.DriverName; - - } - }); - $('#DriverMobileNumber').autocomplete({ - serviceUrl: "drivermobileautocomplete", - params: { - driverName: function() { - return $('#Driver_Name').val(); // Pass the value of the DriverName input field - } - }, - onSearchStart: function(query) { - $('#DriverMobileNumber').autocomplete("option", "minLength", 0); - }, - onSelect: function(suggestion) { - var data = suggestion.DriverMobileNumber; - } - }); - - }); @@ -254,48 +230,48 @@ - modify('first day of this month')->format('Y-m-d'); - $endDate = $date->modify('last day of this month')->format('Y-m-d'); +$startDate = $date->modify('first day of this month')->format('Y-m-d'); +$endDate = $date->modify('last day of this month')->format('Y-m-d'); - $datesInMonth = []; +$datesInMonth = []; - $period = new DatePeriod( - new DateTime($startDate), - new DateInterval('P1D'), - (new DateTime($endDate))->modify('+1 day') - ); +$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'); - } +foreach ($period as $day) { + $datesInMonth[] = $day->format('Y-m-d'); +} - ?> +?> - +?> @@ -344,633 +320,1201 @@
-
- -
+
+ +
- +
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - $trpProductionDetail) - { - + - $trpProductionDetail) { - + + format('d-m-Y'); - if ($dateInMonthDmYFormat === $currentDate) { echo 'style="background: #cef0ad;"';} - ?> - - > - - - - - - - - + ?>> - - - - + + + + - - - + + + + + + + - - - + + + - - - + + + - - - + + + - + + + - - - + + + - + + + - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + + + - - - - - - - - - - - - - - - + + + - + + + - - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0, + 'coldStart' => 0, + 'breakdownHours' => 0, + 'burnerFiringHours' => 0, + 'sandFeedingHours' => 0, + 'gasReceiptBg' => 0, + 'gasReceiptPg' => 0, + 'physicalGasConsumption' => 0, + 'drierGasConsumption' => 0, + 'coatingGasConsumption' => 0, + 'trpPlusDrierGasConsumption' => 0, + 'trpPhysicalGasPerTon' => 0, + 'panelGasConsumption' => 0, + 'panelGasPerTon' => 0, + 'ALs_wcs' => 0, + 'ALe_wcs' => 0, + 'ME_wcs' => 0, + 'SI_wcs' => 0, + 'caparo_wcs' => 0, + 'Nemak_wcs' => 0, + 'DR_wcs' => 0, + 'edRunningHours' => 0, + 'edProduction' => 0, + 'edUsage' => 0, + 'trpProduction' => 0, + 'trpProductionPerHour' => 0, + 'coating' => 0, + 'ALs_crs' => 0, + 'Nemak_crs' => 0, + 'ME_crs' => 0, + 'BI_crs' => 0, + 'Karmen_crs' => 0, + 'waterReceipt' => 0, + 'waterConsumption' => 0, + 'ebReading' => 0, + 'ebReadingPerUnitTon' => 0, + 'workingPersonEngineers' => 0, + 'workingPersonSupervisiors' => 0, + 'workingPersonOperators' => 0, + 'msSeperation' => 0, + 'edWaste' => 0, + 'coolerBags' => 0, + 'edPlus20Waste' => 0, + 'cycloneWaste' => 0 + + ]; + } + + // Sum values for the material + + $summary['totalHours'] += is_numeric($trpProductionDetail['totalHours']) ? $trpProductionDetail['totalHours'] : 0; + $summary['coldStart'] += is_numeric($trpProductionDetail['coldStart']) ? $trpProductionDetail['coldStart'] : 0; + $summary['breakdownHours'] += is_numeric($trpProductionDetail['breakdownHours']) ? $trpProductionDetail['breakDownHours'] : 0; + $summary['burnerFiringHours'] += is_numeric($trpProductionDetail['burnerFiringHours']) ? $trpProductionDetail['burnerFiringHours'] : 0; + $summary['sandFeedingHours'] += is_numeric($trpProductionDetail['sandFeedingHours']) ? $trpProductionDetail['sandFeedingHours'] : 0; + $summary['gasReceiptBg'] += is_numeric($trpProductionDetail['gasReceiptBg']) ? $trpProductionDetail['gasReceiptBg'] : 0; + $summary['gasReceiptPg'] += is_numeric($trpProductionDetail['gasReceiptPg']) ? $trpProductionDetail['gasReceiptPg'] : 0; + $summary['physicalGasConsumption'] += is_numeric($trpProductionDetail['physicalGasConsumption']) ? $trpProductionDetail['physicalGasConsumption'] : 0; + $summary['drierGasConsumption'] += is_numeric($trpProductionDetail['drierGasConsumption']) ? $trpProductionDetail['drierGasConsumption'] : 0; + $summary['coatingGasConsumption'] += is_numeric($trpProductionDetail['coatingGasConsumption']) ? $trpProductionDetail['coatingGasConsumption'] : 0; + $summary['trpPlusDrierGasConsumption'] += is_numeric($trpProductionDetail['trpPlusDrierGasConsumption'])? $trpProductionDetail['trpPlusDrierGasConsumption'] : 0; + $summary['trpPhysicalGasPerTon'] += is_numeric($trpProductionDetail['trpPhysicalGasPerTon']) ? $trpProductionDetail['trpPhysicalGasPerTon'] : 0; + $summary['panelGasConsumption'] += is_numeric($trpProductionDetail['panelGasConsumption']) ? $trpProductionDetail['panelGasConsumption'] : 0; + $summary['panelGasPerTon'] += is_numeric($trpProductionDetail['panelGasPerTon']) ? $trpProductionDetail['panelGasPerTon'] : 0; + $summary['ALs_wcs'] += is_numeric($trpProductionDetail['ALs_wcs']) ? $trpProductionDetail['ALs_wcs'] : 0; + $summary['ALe_wcs'] += is_numeric($trpProductionDetail['ALe_wcs']) ? $trpProductionDetail['ALe_wcs'] : 0; + $summary['ME_wcs'] += is_numeric($trpProductionDetail['ME_wcs']) ? $trpProductionDetail['ME_wcs'] : 0; + $summary['SI_wcs'] += is_numeric($trpProductionDetail['SI_wcs']) ? $trpProductionDetail['SI_wcs'] : 0; + $summary['caparo_wcs'] += is_numeric($trpProductionDetail['caparo_wcs']) ? $trpProductionDetail['caparo_wcs'] : 0; + $summary['Nemak_wcs'] += is_numeric($trpProductionDetail['Nemak_wcs']) ? $trpProductionDetail['Nemak_wcs'] : 0; + $summary['DR_wcs'] += is_numeric($trpProductionDetail['DR_wcs']) ? $trpProductionDetail['DR_wcs'] : 0; + $summary['edRunningHours'] += is_numeric($trpProductionDetail['edRunningHours']) ? $trpProductionDetail['edRunningHours'] : 0; + $summary['edProduction'] += is_numeric($trpProductionDetail['edProduction']) ? $trpProductionDetail['edProduction'] : 0; + $summary['edUsage'] += is_numeric($trpProductionDetail['edUsage']) ? $trpProductionDetail['edUsage'] : 0; + $summary['trpProduction'] += is_numeric($trpProductionDetail['trpProduction']) ? $trpProductionDetail['trpProduction'] : 0; + $summary['trpProductionPerHour'] += is_numeric($trpProductionDetail['trpProductionPerHour']) ? $trpProductionDetail['trpProductionPerHour'] : 0; + $summary['coating'] += is_numeric($trpProductionDetail['coating']) ? $trpProductionDetail['coating'] : 0; + $summary['ALs_crs'] += is_numeric($trpProductionDetail['ALs_crs']) ? $trpProductionDetail['ALs_crs'] : 0; + $summary['Nemak_crs'] += is_numeric($trpProductionDetail['Nemak_crs']) ? $trpProductionDetail['Nemak_crs'] : 0; + $summary['ME_crs'] += is_numeric($trpProductionDetail['ME_crs']) ? $trpProductionDetail['ME_crs'] : 0; + $summary['BI_crs'] += is_numeric($trpProductionDetail['BI_crs']) ? $trpProductionDetail['BI_crs'] : 0; + $summary['Karmen_crs'] += is_numeric($trpProductionDetail['Karmen_crs']) ? $trpProductionDetail['Karmen_crs'] : 0; + $summary['waterReceipt'] += is_numeric($trpProductionDetail['waterReceipt']) ? $trpProductionDetail['waterReceipt'] : 0; + $summary['waterConsumption'] += is_numeric($trpProductionDetail['waterConsumption']) ? $trpProductionDetail['waterConsumption'] : 0; + $summary['ebReading'] += is_numeric($trpProductionDetail['ebReading']) ? $trpProductionDetail['ebReading'] : 0; + $summary['ebReadingPerUnitTon'] += is_numeric($trpProductionDetail['ebReadingPerUnitTon']) ? $trpProductionDetail['ebReadingPerUnitTon'] : 0; + $summary['workingPersonEngineers'] += is_numeric($trpProductionDetail['workingPersonEngineers']) ? $trpProductionDetail['workingPersonEngineers'] : 0; + $summary['workingPersonSupervisiors'] += is_numeric($trpProductionDetail['workingPersonSupervisiors']) ? $trpProductionDetail['workingPersonSupervisiors'] : 0; + $summary['workingPersonOperators'] += is_numeric($trpProductionDetail['workingPersonOperators']) ? $trpProductionDetail['workingPersonOperators'] : 0; + $summary['msSeperation'] += is_numeric($trpProductionDetail['msSeperation']) ? $trpProductionDetail['msSeperation'] : 0; + $summary['edWaste'] += is_numeric($trpProductionDetail['edWaste']) ? $trpProductionDetail['edWaste'] : 0; + $summary['coolerBags'] += is_numeric($trpProductionDetail['coolerBags']) ? $trpProductionDetail['coolerBags'] : 0; + $summary['edPlus20Waste'] += is_numeric($trpProductionDetail['edPlus20Waste']) ? $trpProductionDetail['edPlus20Waste'] : 0; + $summary['cycloneWaste'] += is_numeric($trpProductionDetail['cycloneWaste']) ? $trpProductionDetail['cycloneWaste'] : 0; + } ?> + + + + +
Date Opening Time Closing Time Total Hours Cold Start Break Down Hours Burner Firing Hours Sand Feeding Hours Gas Receipt Physical Gas Consumption Drier Gas Consumption Coating Gas Consumption TRP plus Drier Gas Consumption TRP Physical Gas Per Ton Panel Gas Consumption Panel Gas Per Ton Incoming Sand/ Lump details ED details TRP Sand Usage Water EB Reading EB Unit Per Ton Working Persons Maintanence Details Description MS Seperation ED Waste Cooler Bags ED +20 Waste Cyclone Waste Date Opening Time Closing Time Total Hours Cold Start Break Down Hours Burner Firing Hours Sand Feeding Hours Gas Receipt Physical Gas Consumption Drier Gas Consumption Coating Gas Consumption TRP plus Drier Gas Consumption TRP Physical Gas Per Ton Panel Gas Consumption Panel Gas Per Ton Incoming Sand/ Lump details ED details TRP Sand Usage Water EB Reading EB Unit Per Ton Working Persons Maintanence Details Description MS Seperation ED Waste Cooler Bags ED +20 Waste Cyclone Waste
BGPG AL(S) AL(E) ME SI caparo Nemak DRRunning Hours Production Usage Production Production Per Hour Coating Hindhuja NemakME BI Karmen Receipt Consumption Engineers SupervisorsOperators Roller Drivers Nature Of Maintenance Location
BGPG AL(S) AL(E) ME SI caparo Nemak DRRunning Hours Production Usage Production Production Per Hour Coating Hindhuja NemakME BI Karmen Receipt Consumption Engineers SupervisorsOperators Roller Drivers Nature Of Maintenance Location
- - - - - + + + + + - - - - - - - - - - - - - - - - + + - - + + - - + + + + - - + + + + - - - - - - - - + + - - - - - - - - - - - - - - + + - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - - - - - - - + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date Opening Time Closing Time Total Hours Cold Start Break Down Hours Burner Firing Hours Sand Feeding Hours Gas Receipt Physical Gas Consumption Drier Gas Consumption Coating Gas Consumption TRP plus Drier Gas Consumption TRP Physical Gas Per Ton Panel Gas Consumption Panel Gas Per Ton Incoming Sand/ Lump details ED details TRP Sand Usage Water EB Reading EB Unit Per Ton Working Persons Maintanence Details Description MS Seperation ED Waste Cooler Bags ED +20 Waste Cyclone Waste
BGPG AL(S) AL(E) ME SI caparo Nemak DRRunning Hours Production Usage Production Production Per Hour Coating Hindhuja NemakME BI Karmen Receipt Consumption Engineers SupervisorsOperators Roller Drivers Nature Of Maintenance Location
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + -
+ +
@@ -989,35 +1533,35 @@
-
-