Chnages
This commit is contained in:
parent
1c4c86427c
commit
22dcaf89d6
|
|
@ -203,11 +203,11 @@ class Controller extends BaseController
|
|||
$total = sizeof($post);
|
||||
|
||||
while($count < $total) {
|
||||
$tempdata = array_slice($post, $count, 25);
|
||||
$tempdata = array_slice($post, $count, 20);
|
||||
Log::debug(print_r($tempdata, true));
|
||||
$response = LambdaRequest::signedrequest('post', $this->_service, $this->_module.'/import', $tempdata);
|
||||
Log::debug(print_r($response, true));
|
||||
$count = $count + 25;
|
||||
$count = $count + 20;
|
||||
$created = $created + $response->data->created_count;
|
||||
$updated = $updated + (isset($response->data->updated_count) ? $response->data->updated_count : 0);
|
||||
Log::debug(print_r(['$count' => $count, '$created' => $created, '$updated' => $updated], true));
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ class UserController extends Controller
|
|||
$channels_dd[$channel->id] = $channel->name;
|
||||
}
|
||||
return [
|
||||
'actions' => ['title' => 'Actions', 'buttons' => [ 'edit', 'delete' ] ],
|
||||
//'actions' => ['title' => 'Actions', 'buttons' => [ 'edit', 'delete' ] ],
|
||||
'employee_code' => ['title' => 'Employee Code', 'type' => 'text', 'required' => true],
|
||||
'firstname' => ['title' => 'Firstname', 'type' => 'text', 'required' => true],
|
||||
'lastname' => ['title' => 'Lastname', 'type' => 'text'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue