/** * Show the form for creating a new resource. * * @return Response */ public function create() { $agents = Agent::all(); $editions = Edition::with('magazine')->get(); return view('invoice/invoice-form', ['invType' => 'Quota', 'agents' => $agents, 'eds' => $editions]); }
/** * Show the form for creating a new resource. * * @return Response */ public function create() { $agents = Agent::all(); $editions = Edition::with('magazine')->get(); return view('circulation/return-form', ['agents' => $agents, 'editions' => $editions, 'edition_detail_action' => action('ReturnController@postAddEditionDetail'), 'form_action' => action('ReturnController@store'), 'return_item_count' => 1]); }