mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-09-01 10:44:15 +00:00
added po and invoice into show booking return
integrated complete page frontend integrated po page frontend integrated po complete page frontend removed ETA for transfer page frontend
This commit is contained in:
@@ -135,6 +135,8 @@ class BookingController extends Controller
|
||||
// just added to try
|
||||
$user_bankslip = $booking->userBankSlip()->first();
|
||||
$china_bankslip = $booking->chinaBankSlip()->first();
|
||||
$po = $booking->purchaseOrder()->first();
|
||||
$invoice = $booking->invoice()->first();
|
||||
|
||||
if($booking){
|
||||
|
||||
@@ -150,6 +152,14 @@ class BookingController extends Controller
|
||||
$booking->china_bankslip_path = Storage::url($china_bankslip->china_bank_slip_path);
|
||||
}
|
||||
|
||||
if($po){
|
||||
$booking->user_po_path = Storage::url($po->image_path);
|
||||
}
|
||||
|
||||
if($invoice){
|
||||
$booking->invoice_path = Storage::url($invoice->invoice_path);
|
||||
}
|
||||
|
||||
$date2 = new DateTime();
|
||||
$difference_in_seconds = ($date1->format('U') + 600) - ($date2->format('U'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user