Пример #1
0
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create()
 {
     $commodities = Commodity::lists('name', 'id');
     $suppliers = Supplier::lists('name', 'id');
     return view('receipt.create')->with('commodities', $commodities)->with('suppliers', $suppliers);
 }