From 38d52bdc6b2121d6692dee1ceba1bc9f6ecd4d47 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 15 Feb 2018 16:35:10 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/controllers/Batch_Controller.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Apollo/api/application/controllers/Batch_Controller.php b/Apollo/api/application/controllers/Batch_Controller.php index e05fc83f..3791d225 100755 --- a/Apollo/api/application/controllers/Batch_Controller.php +++ b/Apollo/api/application/controllers/Batch_Controller.php @@ -34,7 +34,8 @@ class Batch_Controller extends REST_Controller { $now = new DateTime(); $now->setTimezone(new DateTimezone('Asia/Kolkata')); $details['BatchCode'] = $this->post('batchcode'); - $details['BatchName'] = $this->post('batcheName'); + $details['BatchName'] = $this->post('batcheName'); + $details['BatchDate'] = $this->post('batcheDate'); $details['UniversityID'] = $this->post('universityName'); $details['CreatedBy'] = $this->post('createdBy'); $details['IsActive'] = $this->post('status'); @@ -93,6 +94,7 @@ class Batch_Controller extends REST_Controller { $now->setTimezone(new DateTimezone('Asia/Kolkata')); $details['BatchCode'] = $this->post('batchCode'); $details['BatchName'] = $this->post('batchName'); + $details['BatchDate'] = $this->post('batchDate'); $details['IsActive'] = $this->post('status'); $details['UpdatedBy'] = $this->post('updatedBy'); $details['UpdatedOn'] = $now->format("Y-m-d H:i:s");