From 3d3b55c6797acaf31c1e7d3a352225bdabf82bf7 Mon Sep 17 00:00:00 2001 From: velz2020 Date: Thu, 8 Feb 2018 15:58:50 +0530 Subject: [PATCH] BATCH CARD ISSUES FIXED --- application/controllers/batchcard.php | 3 +++ application/views/dailybatchcard.php | 10 +++++----- application/views/editDailyData.php | 8 ++++---- application/views/edit_hourly_batch_card.php | 4 ++-- application/views/hourly_batch_card.php | 6 +++--- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/application/controllers/batchcard.php b/application/controllers/batchcard.php index f34b4566..d45702ab 100755 --- a/application/controllers/batchcard.php +++ b/application/controllers/batchcard.php @@ -406,6 +406,9 @@ class batchcard extends BaseController $this->excel->getActiveSheet()->setCellValue('J' . (string)($i),$row['Physical Stock']); $this->excel->getActiveSheet()->getStyle('J'.(string)($i))->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT); + $this->excel->getActiveSheet()->setCellValue('K' . (string)($i),$row['Difference']); + $this->excel->getActiveSheet()->getStyle('K'.(string)($i))->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT); + //$this->excel->getActiveSheet()->setCellValue('A6','HI'); diff --git a/application/views/dailybatchcard.php b/application/views/dailybatchcard.php index 73c9c68b..08b2600b 100755 --- a/application/views/dailybatchcard.php +++ b/application/views/dailybatchcard.php @@ -76,7 +76,7 @@ foreach($emplist as $r)
- +
@@ -330,12 +330,12 @@ foreach($emplist as $r) Time Taken for Maintenance
- +
- +
@@ -421,8 +421,8 @@ $('#rdate').datepicker({ dateFormat: 'dd-mm-yy',changeMonth: true, changeYear: true,yearRange: '0:+10' }); -$('#total_burner_running_time').timeEntry({show24Hours: true}); -$('#total_feeding_hrs').timeEntry({show24Hours: true}); +// $('#total_burner_running_time').timeEntry({show24Hours: true}); +// $('#total_feeding_hrs').timeEntry({show24Hours: true}); diff --git a/application/views/editDailyData.php b/application/views/editDailyData.php index bb20c414..6bc275a8 100755 --- a/application/views/editDailyData.php +++ b/application/views/editDailyData.php @@ -339,12 +339,12 @@ foreach($emplist as $r) Time Taken for Maintenance
- +
- +
@@ -430,8 +430,8 @@ $('#rdate').datepicker({ dateFormat: 'dd-mm-yy',changeMonth: true, changeYear: true,yearRange: '0:+10' }); -$('#total_burner_running_time').timeEntry({show24Hours: true}); -$('#total_feeding_hrs').timeEntry({show24Hours: true}); +//$('#total_burner_running_time').timeEntry({show24Hours: true}); +//$('#total_feeding_hrs').timeEntry({show24Hours: true}); $('#approvedby').val('approvedby?>') ; diff --git a/application/views/edit_hourly_batch_card.php b/application/views/edit_hourly_batch_card.php index 7cac6314..4017fcbe 100755 --- a/application/views/edit_hourly_batch_card.php +++ b/application/views/edit_hourly_batch_card.php @@ -77,12 +77,12 @@ foreach($emplist as $r)
- +
- +
diff --git a/application/views/hourly_batch_card.php b/application/views/hourly_batch_card.php index b2afe3d4..2e4570f9 100755 --- a/application/views/hourly_batch_card.php +++ b/application/views/hourly_batch_card.php @@ -50,7 +50,7 @@ foreach($emplist as $r)

- +
@@ -75,12 +75,12 @@ foreach($emplist as $r)
- +
- +