batch comtroller bala

This commit is contained in:
venbatechnologies@gmail.com 2018-09-10 11:45:28 +05:30
parent 988991dfea
commit a5633be534

View File

@ -44,7 +44,7 @@ class Batch_Controller extends REST_Controller {
$details['IsActive'] = $this->post('status'); $details['IsActive'] = $this->post('status');
$details['BranchCode'] = $this->post('branchCode'); $details['BranchCode'] = $this->post('branchCode');
$details['CreatedOn'] = $now->format('Y-m-d H:i:s'); $details['CreatedOn'] = $now->format('Y-m-d H:i:s');
print_r( $details +'samplearray'); //print_r( $details +'samplearray');
$batchDetails = $this->batch_model->addBatch($details);// Check if the users data store contains users (in case the database result returns NULL) $batchDetails = $this->batch_model->addBatch($details);// Check if the users data store contains users (in case the database result returns NULL)
if ($batchDetails) if ($batchDetails)