Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for ($i=0; $i < $count; $i++) {
- $detailMaterial[] = [
- 'material_id' => $request->material[$i],
- 'qty' => $request->qty[$i],
- 'price' => $request->price[$i],
- 'total' => $request->total[$i],
- 'building_work_id' => $request->work[$i],
- 'home_number_id' => null,
- 'purcash_id' => $purcashOrder->id
- ];
- }
- PurcashOrderDetail::insert($detailMaterial);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement