batch comtroller bala
This commit is contained in:
parent
988991dfea
commit
a5633be534
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user