Exemplo n.º 1
0
 public function attributes()
 {
     $createRequest = new CreateBatchRequest();
     return $createRequest->attributes();
 }
Exemplo n.º 2
0
 public function postBatchNew(CreateBatchRequest $request)
 {
     $this->authorize('add_edit_batch');
     $batch = $this->classRepository->createBatch($request->all());
     return $this->printRedirect(route('batch.details.edit', $batch->id));
 }