diff --git a/routes/web.php b/routes/web.php index e5743ed5..c4ab51f7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -402,8 +402,25 @@ Route::get('/pending_orders', function(){ }) ->orderBy('updated_at', 'desc') ->get(); - - echo '
| Client Booking Date | '; + echo 'Payment Type | '; + echo 'Marking | '; + echo 'Customer Payment Currency | '; + echo 'Customer Payment Amount | '; + echo 'Reference No. | '; + echo 'Booking Amount Currency | '; + echo 'CNY | '; + echo 'Service | '; + echo 'Days | '; + echo 'Cust Supplier Acc Type | '; + echo 'Cust Supplier Acc Name | '; + echo '|||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| '.$payment->updated_at->format('d-M-y').' | '; echo ''.\App\Classes\ValueObjects\Constants\PaymentMethodType::PAYMENT_METHODS_ID[$payment->payment_method].' | '; - echo ''.$booking->company->reference.' | '; + echo ''.$booking->marking.' | '; echo ''.$payment->currency->short_code.' | '; echo ''.number_format(bcsub($payment->amount, $refunds, 7), 5, '.', '').' | '; - echo ''.$booking->marking.' | '; - echo ''; + echo ' | '.$booking->company->reference.' | '; echo ''.$payment->original_currency->short_code.' | '; echo ''.number_format(bcsub($payment->original_amount, $original_refunds, 7), 5, '.', '').' | '; - echo ''; echo ' | '.$booking->service->name.' | '; echo ''.$payment->updated_at->diffForHumans().' | '; echo ''.$bankType.' | ';