diff --git a/app/Controllers/Payslip.php b/app/Controllers/Payslip.php index b77051e1..da5d75ab 100755 --- a/app/Controllers/Payslip.php +++ b/app/Controllers/Payslip.php @@ -612,7 +612,13 @@ class Payslip extends BaseController $Sunday = $value->sunday_count; // Sunday count $LOP_Days = $value->NoofDays - ($Days_worked + $Sunday); // not working day $Paid_leave = $value->Paid_leave; // leave day - $OT_Hrs_Worked = $value->OT_Hrs_Worked; //OT hours + if ($value->is_management_team == 1) + { + $OT_Hrs_Worked = 0; //OT hours + $value->OT_Hrs_Worked = 0; + } else { + $OT_Hrs_Worked = $value->OT_Hrs_Worked; //OT hours + } $Monthly_Due = $value->Monthly_Due; // AUTO LOAN DUE $Loan_Recovered = $value->Loan_Recovered; //MANUAL LOAN DUE $due_start_date = $value->DueDate; @@ -743,7 +749,13 @@ class Payslip extends BaseController $Sunday = $value->sunday_count; // Sunday count $LOP_Days = $value->NoofDays - ($Days_worked + $Sunday); // not working day $Paid_leave = $value->Paid_leave; // leave day - $OT_Hrs_Worked = $value->OT_Hrs_Worked; //OT hours + if ($value->is_management_team == 1) + { + $OT_Hrs_Worked = 0; //OT hours + $value->OT_Hrs_Worked = 0; + } else { + $OT_Hrs_Worked = $value->OT_Hrs_Worked; //OT hours + } $Monthly_Due = $value->Monthly_Due; // AUTO LOAN DUE $Loan_Recovered = $value->Loan_Recovered; //MANUAL LOAN DUE $due_start_date = $value->DueDate; diff --git a/app/Controllers/StockController.php b/app/Controllers/StockController.php index df0de8f7..dbc8ab0c 100644 --- a/app/Controllers/StockController.php +++ b/app/Controllers/StockController.php @@ -1445,10 +1445,16 @@ class StockController extends BaseController - public function updateTrpProductionDetails($inserts, $freshEntry = false) + public function updateTrpProductionDetails($inserts = null, $freshEntry = false) { - $postData = $this->request->getPost(); - + + + $postData = json_decode($this->request->getPost('updateTrpProductionDetails')); + + + //converting std class object to associative array.. + $postData['updateTrpProductionDetails'] = json_decode(json_encode($postData), true); + if (empty($postData['updateTrpProductionDetails'])) { if (empty($inserts)) { return $this->response->setJSON(['error' => 'No data found to update']); diff --git a/app/Models/Inwardgateregister_model.php b/app/Models/Inwardgateregister_model.php index ee2e7541..f77a16d4 100755 --- a/app/Models/Inwardgateregister_model.php +++ b/app/Models/Inwardgateregister_model.php @@ -379,23 +379,31 @@ class Inwardgateregister_model extends Model // Build subQuery2 dynamically for rate and tax based on POType $subQuery2 = "(CASE - WHEN PO.POType = 'revenue' THEN ( - SELECT JSON_OBJECT('total_rate', SUM(POL.Rate), 'total_tax', AVG(tax.CGST + tax.SGST + tax.IGST)) - FROM t_igr_details IGRD - LEFT JOIN t_purchaseorder_lineitem POL ON PONO = POL.PONO AND IGRD.MaterialCode = POL.MaterialCode - LEFT JOIN t_revenue_tax tax ON tax.LineItemNo = POL.LineItemNo - WHERE IGRD.IGRNO = igr.IGRNO - ) - WHEN PO.POType = 'service' THEN ( - SELECT JSON_OBJECT('total_rate', SUM(POL.Rate), 'total_tax', AVG(tax.CGST + tax.SGST + tax.IGST)) - FROM t_igr_details IGRD - LEFT JOIN t_purchaseorder_lineitem POL ON PONO = POL.PONO AND IGRD.MaterialCode = POL.MaterialCode - LEFT JOIN t_service_tax tax ON tax.LineItemNo = POL.LineItemNo - WHERE IGRD.IGRNO = igr.IGRNO - ) - - ELSE NULL - END)"; + WHEN PO.POType = 'revenue' THEN ( + SELECT JSON_OBJECT( + 'total_rate', SUM(POL.Rate * IGRD.QuantityAsPerInvoice), + 'total_tax', SUM((POL.Rate * IGRD.QuantityAsPerInvoice) * (tax.CGST + tax.SGST + tax.IGST) / 100) + ) + FROM t_igr_details IGRD + LEFT JOIN t_purchaseorder_lineitem POL ON PONO = POL.PONO AND IGRD.MaterialCode = POL.MaterialCode + LEFT JOIN t_revenue_tax tax ON tax.LineItemNo = POL.LineItemNo + WHERE IGRD.IGRNO = igr.IGRNO AND IGRD.QuantityAsPerInvoice != 0 + LIMIT 1 + ) + WHEN (PO.POType = 'service' OR (PO.POType = 'capital' AND PO.CapitalRange = '1')) THEN ( + SELECT JSON_OBJECT( + 'total_rate', SUM(POL.Rate * IGRD.QuantityAsPerInvoice), + 'total_tax', SUM((POL.Rate * IGRD.QuantityAsPerInvoice) * (tax.CGST + tax.SGST + tax.IGST) / 100) + ) + FROM t_igr_details IGRD + LEFT JOIN t_purchaseorder_lineitem POL ON PONO = POL.PONO AND IGRD.MaterialCode = POL.MaterialCode + LEFT JOIN t_service_tax tax ON tax.LineItemNo = POL.LineItemNo + WHERE IGRD.IGRNO = igr.IGRNO AND IGRD.QuantityAsPerInvoice != 0 + LIMIT 1 + ) + + ELSE NULL + END)"; // Main query @@ -406,8 +414,8 @@ class Inwardgateregister_model extends Model SUM(IGRD.NetWeight) as NetWeight, COUNT(IGRD.IGRNo) as itemCount, COALESCE(($subQuery1), 0) as remark_count, - JSON_EXTRACT(($subQuery2), '$.total_rate') as total_rate, - JSON_EXTRACT(($subQuery2), '$.total_tax') as total_tax") + JSON_EXTRACT(($subQuery2), '$.total_rate') as taxable_value, + JSON_EXTRACT(($subQuery2), '$.total_tax') as gst_amount") ->join('t_purchaseorder_master PO', 'igr.PONO = PO.PONO') ->join('t_supplierdetailsn sup', 'PO.SupplierID = sup.SupplierID') ->join('t_transporter trans', 'igr.TransporterId = trans.id', 'left') diff --git a/app/Models/Monthlypay_model.php b/app/Models/Monthlypay_model.php index 8e380491..569790f8 100755 --- a/app/Models/Monthlypay_model.php +++ b/app/Models/Monthlypay_model.php @@ -218,8 +218,7 @@ class Monthlypay_model extends Model return $i; } elseif ($count == 1) { $this->db->table('t_monthly_pay_inputs') - // ->where('H_date', $data['H_Date']) // ask velmurugan H_Date public hoilday table la irukku - ->where('EmpID', $data['EmpID']) // temp solution + ->where('EmpID', $data['EmpID']) ->where('Month_Year', $data['Month_Year']) ->update($data); diff --git a/app/Views/addSupplier.php b/app/Views/addSupplier.php index 956bf962..290943dc 100755 --- a/app/Views/addSupplier.php +++ b/app/Views/addSupplier.php @@ -64,16 +64,16 @@
| 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 | + +||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BG | - -PG | - -AL(S) | - -AL(E) | - -ME | - -SI | - -caparo | - -Nemak | - -DR | - -Running Hours | - -Production | - -Usage | - -Production | - -Production Per Hour | - -Coating | - -Hindhuja | - -Nemak | - -ME | - -BI | - -Karmen | - -Receipt | - -Consumption | - -Engineers | - -Supervisors | - -Operators | - -Roller Drivers | - -Nature Of Maintenance | - -Location | - - +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BG | + +PG | + +AL(S) | + +AL(E) | + +ME | + +SI | + +caparo | + +Nemak | + +DR | + +Running Hours | + +Production | + +Usage | + +Production | + +Production Per Hour | + +Coating | + +Hindhuja | + +Nemak | + +ME | + +BI | + +Karmen | + +Receipt | + +Consumption | + +Engineers | + +Supervisors | + +Operators | + +Roller Drivers | + +Nature Of Maintenance | + +Location | + + +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - = $dateInMonthDmYFormat ?> - | - - - -- - - | + ?>> - - -+ + + | + = $dateInMonthDmYFormat ?> + | -+ = $trpProductionDetail['panelGasConsumption'] ?> + | - - + + ++ = $trpProductionDetail['panelGasPerTon'] ?> + | - - - + + ++ = $trpProductionDetail['ALs_wcs'] == 0 ? " " : $trpProductionDetail['ALs_wcs'] ?> + | + + + ++ = $trpProductionDetail['ALe_wcs'] == 0 ? " " : $trpProductionDetail['ALe_wcs'] ?> + | + + + ++ = $trpProductionDetail['ME_wcs'] == 0 ? " " : $trpProductionDetail['ME_wcs'] ?> + | + + + ++ = $trpProductionDetail['SI_wcs'] == 0 ? " " : $trpProductionDetail['SI_wcs'] ?> + | + + + ++ = $trpProductionDetail['caparo_wcs'] == 0 ? " " : $trpProductionDetail['caparo_wcs'] ?> + | + + + + ++ = $trpProductionDetail['Nemak_wcs'] == 0 ? " " : $trpProductionDetail['Nemak_wcs'] ?> + | + + + ++ = $trpProductionDetail['DR_wcs'] == 0 ? " " : $trpProductionDetail['DR_wcs'] ?> + | + + + ++ = $trpProductionDetail['edRunningHours'] ?> + | + + + + + ++ = $trpProductionDetail['edProduction'] ?> + | + + + ++ = $trpProductionDetail['edUsage'] ?> + | + + + ++ = $trpProductionDetail['trpProduction'] ?> + | + + + ++ = $trpProductionDetail['trpProductionPerHour'] ?> + | + + + ++ = $trpProductionDetail['coating'] == 0 ? " " : $trpProductionDetail['coating'] ?> + | + + + ++ = $trpProductionDetail['ALs_crs'] == 0 ? " " : $trpProductionDetail['ALs_crs'] ?> + | + + + ++ = $trpProductionDetail['Nemak_crs'] == 0 ? " " : $trpProductionDetail['Nemak_crs'] ?> + | + + ++ = $trpProductionDetail['ME_crs'] == 0 ? " " : $trpProductionDetail['ME_crs'] ?> + | + + ++ = $trpProductionDetail['BI_crs'] == 0 ? " " : $trpProductionDetail['BI_crs'] ?> + | + + ++ = $trpProductionDetail['Karmen_crs'] == 0 ? " " : $trpProductionDetail['Karmen_crs'] ?> + | + + + ++ = $trpProductionDetail['waterReceipt'] ?> + | + + + ++ = $trpProductionDetail['waterConsumption'] ?> + | + + + ++ = $trpProductionDetail['ebReading'] ?> + | + + + ++ = $trpProductionDetail['ebReadingPerUnitTon'] ?> + | + + + + ++ = $trpProductionDetail['workingPersonEngineers'] ?> + | + + + ++ = $trpProductionDetail['workingPersonSupervisiors'] ?> + | + + + ++ = $trpProductionDetail['workingPersonOperators'] ?> + | + + + ++ = $trpProductionDetail['rollerDrivers'] ?> + | + + + ++ = $trpProductionDetail['natureOfMaintenance'] ?> + | + + + ++ = $trpProductionDetail['location'] ?> + | + + + ++ = $trpProductionDetail['description'] ?> + | + + + + ++ = $trpProductionDetail['msSeperation'] ?> + | + + + ++ = $trpProductionDetail['edWaste'] ?> + | + + + ++ = $trpProductionDetail['coolerBags'] ?> + | + + + ++ = $trpProductionDetail['edPlus20Waste'] ?> + | + + + ++ = $trpProductionDetail['cycloneWaste'] ?> + | + + + + + + 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 | + + +||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BG | + +PG | + +AL(S) | + +AL(E) | + +ME | + +SI | + +caparo | + +Nemak | + +DR | + +Running Hours | + +Production | + +Usage | + +Production | + +Production Per Hour | + +Coating | + +Hindhuja | + +Nemak | + +ME | + +BI | + +Karmen | + +Receipt | + +Consumption | + +Engineers | + +Supervisors | + +Operators | + +Roller Drivers | + +Nature Of Maintenance | + +Location | + + + +|||||||||||||||||||||||
| + + | + + + ++ + | + + + ++ + | + + + ++ = $summary['totalHours'] ?> + | + + + ++ =$summary['coldStart']?> + | + + + ++ =$summary['breakdownHours']?> + | + + + ++ = $summary['burnerFiringHours'] ?> + | + + + ++ =$summary['sandFeedingHours'] ?> + | + + + ++ =$summary['gasReceiptBg'] ?> + | + + + ++ =$summary['gasReceiptPg'] ?> + | + + + + + ++ =$summary['physicalGasConsumption']?> + | + + + + + ++ =$summary['drierGasConsumption']?> + | + + + ++ =$summary['coatingGasConsumption'] ?> + | + + + + ++ =$summary['trpPlusDrierGasConsumption']?> + | + + + ++ =$summary['trpPhysicalGasPerTon']?> + | + + + + ++ = $summary['panelGasConsumption'] ?> + | + + + ++ =$summary['panelGasPerTon']?> + | + + + + ++ = $summary['ALs_wcs']?> + | + + + ++ =$summary['ALe_wcs']?> + | + + + ++ =$summary['ME_wcs'] ?> + | + + + ++ = $summary['SI_wcs']?> + | + + + ++ =$summary['caparo_wcs']?> + | + + + + ++ = $summary['Nemak_wcs']?> + | + + + ++ = $summary['DR_wcs']?> + | + + + ++ = $summary['edRunningHours']?> + | + + + + + ++ = $summary['edProduction'] ?> + | + + + ++ =$summary['edUsage'] ?> + | + + + ++ =$summary['trpProduction'] ?> + | + + + ++ =$summary['trpProductionPerHour'] ?> + | + + + ++ =$summary['coating'] ?> + | + + + ++ = $summary['ALs_crs'] ?> + | + + + ++ =$summary['Nemak_crs'] ?> + | + + ++ =$summary['ME_crs'] ?> + | + + ++ =$summary['BI_crs'] ?> + | + + ++ =$summary['Karmen_crs'] ?> + | + + + ++ =$summary['waterReceipt'] ?> + | + + + ++ =$summary['waterConsumption'] ?> + | + + + ++ =$summary['ebReading'] ?> + | + + + ++ =$summary['ebReadingPerUnitTon'] ?> + | + + + + ++ =$summary['workingPersonEngineers'] ?> + | + + + ++ =$summary['workingPersonSupervisiors'] ?> + | + + + ++ =$summary['workingPersonOperators'] ?> + | + + + ++ =" " ?> + | + + + ++ =" " ?> + | + + + ++ =" "?> + | + + + ++ =" " ?> + | + + + + ++ =$summary['msSeperation'] ?> + | + + + ++ =$summary['edWaste'] ?> + | + + + ++ =$summary['coolerBags'] ?> + | + + + ++ =$summary['edPlus20Waste'] ?> + | + + + ++ =$summary['cycloneWaste'] ?> + | + +