course details changes done

This commit is contained in:
gandhimathi 2018-02-15 16:35:10 +05:30
parent d07e5def2f
commit 38d52bdc6b

View File

@ -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");