From ea06152dbf86ca417bd1f3d1ccaa7ab92aae75bf Mon Sep 17 00:00:00 2001 From: edmondlang Date: Wed, 7 Aug 2024 10:51:27 +0800 Subject: [PATCH 1/3] update pending_orders table header --- routes/web.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/routes/web.php b/routes/web.php index c4ab51f7..a66457a6 100644 --- a/routes/web.php +++ b/routes/web.php @@ -406,16 +406,16 @@ Route::get('/pending_orders', function(){ echo ''; echo ''; echo ''; - echo ''; + echo ''; echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; echo ''; - echo ''; + echo ''; echo ''; echo ''; echo ''; From 764f242e871c1b346e777b246684f66a41bd0b58 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Wed, 7 Aug 2024 13:13:26 +0800 Subject: [PATCH 2/3] fix pending_orders table header --- routes/web.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routes/web.php b/routes/web.php index a66457a6..e912b49d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -411,9 +411,11 @@ Route::get('/pending_orders', function(){ echo ''; echo ''; echo ''; + echo ''; echo ''; echo ''; echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -442,9 +444,11 @@ Route::get('/pending_orders', function(){ echo ''; echo ''; echo ''; + echo ''; echo ''; echo ''; echo ''; + echo ''; echo ''; echo ''; echo ''; From 8a0005aa175ecee0185230117fe446a49e7de482 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Wed, 7 Aug 2024 15:40:24 +0800 Subject: [PATCH 3/3] fix pending_orders table header --- routes/web.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/routes/web.php b/routes/web.php index e912b49d..1a654013 100644 --- a/routes/web.php +++ b/routes/web.php @@ -403,16 +403,22 @@ Route::get('/pending_orders', function(){ ->orderBy('updated_at', 'desc') ->get(); - echo '
Client Booking DateBooking Updated DatePayment TypeMarkingCustomer Payment CurrencyCustomer Payment AmountReference No.Booking Amount CurrencyCNYBookingPayment CurrencyPayment AmountCustomerBooking CurrencyBooking AmountServiceDaysPayment UpdatedCust Supplier Acc TypeCust Supplier Acc Name
BookingPayment CurrencyPayment AmountCustomerBooking CurrencyBooking AmountServicePayment UpdatedCust Supplier Acc Type'.$booking->marking.''.$payment->currency->short_code.''.number_format(bcsub($payment->amount, $refunds, 7), 5, '.', '').''.$booking->company->reference.''.$payment->original_currency->short_code.''.number_format(bcsub($payment->original_amount, $original_refunds, 7), 5, '.', '').''.$booking->service->name.''.$payment->updated_at->diffForHumans().''.$bankType.'
'; + echo ' + '; + echo '
'; echo ''; echo ''; echo ''; - echo ''; echo ''; + echo ''; echo ''; echo ''; - echo ''; echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -440,12 +446,12 @@ Route::get('/pending_orders', function(){ echo ''; echo ''; - echo ''; echo ''; + echo ''; echo ''; echo ''; - echo ''; echo ''; + echo ''; echo ''; echo ''; echo '';
Booking Updated DatePayment TypeBookingPayment TypePayment CurrencyPayment AmountCustomerBooking CurrencyBooking Amount
'.$payment->updated_at->format('d-M-y').''.\App\Classes\ValueObjects\Constants\PaymentMethodType::PAYMENT_METHODS_ID[$payment->payment_method].''.$booking->marking.''.\App\Classes\ValueObjects\Constants\PaymentMethodType::PAYMENT_METHODS_ID[$payment->payment_method].''.$payment->currency->short_code.''.number_format(bcsub($payment->amount, $refunds, 7), 5, '.', '').''.$booking->company->reference.''.$payment->original_currency->short_code.''.number_format(bcsub($payment->original_amount, $original_refunds, 7), 5, '.', '').'