mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-28 16:54:16 +00:00
fix/displayPoMultipleView
This commit is contained in:
@@ -347,7 +347,7 @@ class BookingController extends Controller
|
||||
|
||||
$user_bankslip = $booking->userBankSlip()->first();
|
||||
$china_bankslip = $booking->chinaBankSlip()->get();
|
||||
$po = $booking->purchaseOrder()->first();
|
||||
$po = $booking->purchaseOrder()->get();
|
||||
$invoice = $booking->invoice()->first();
|
||||
|
||||
if ($user_bankslip){
|
||||
@@ -364,7 +364,13 @@ class BookingController extends Controller
|
||||
}
|
||||
|
||||
if($po){
|
||||
$booking->user_po_path = Storage::url($po->image_path);
|
||||
foreach($po as $item){
|
||||
$po_paths_array[] = Storage::url($item->image_path);
|
||||
}
|
||||
|
||||
$booking->user_po_path = $po_paths_array;
|
||||
|
||||
|
||||
}
|
||||
|
||||
if($invoice){
|
||||
|
||||
Reference in New Issue
Block a user