Beispiel #1
0
 public function listBySoheadId($headId)
 {
     $soitems = Soitem::latest('created_at')->where('sohead_id', $headId)->paginate(10);
     return view('sales.soitems.index', compact('soitems', 'headId'));
 }
 public function listBySalesorder()
 {
     $items = Soitem::latest('created_at')->paginate(10);
     return view('inventory.inventoryavailability.index', compact('items'));
 }