コード例 #1
0
ファイル: SoitemsController.php プロジェクト: seahouse/hxerp
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     //
     Soitem::destroy($id);
     return redirect('sales/soitems');
 }
コード例 #2
0
 public function listBySalesorder()
 {
     $items = Soitem::latest('created_at')->paginate(10);
     return view('inventory.inventoryavailability.index', compact('items'));
 }