list pending orders in table format

This commit is contained in:
omair saleh
2022-08-10 12:32:23 +08:00
parent 6f72d94b8b
commit 3dd5137296
+4 -2
View File
@@ -268,10 +268,12 @@ Route::get('/pending_orders', function(){
echo '<td>'.$payment->updated_at->format('d-M-y').'</td>';
echo '<td>'.$booking->marking.'</td>';
echo '<td>'.\App\Classes\ValueObjects\Constants\PaymentMethodType::PAYMENT_METHODS_ID[$payment->payment_method].'</td>';
echo '<td>'.$payment->currency->short_code.' '.$payment->amount.'</td>';
echo '<td>'.$payment->currency->short_code.'</td>';
echo '<td>'.$payment->amount.'</td>';
echo '<td>'.$booking->company->reference.'</td>';
echo '<td></td>';
echo '<td>'.$payment->original_currency->short_code.' '.$payment->original_amount.'</td>';
echo '<td>'.$payment->original_currency->short_code.'</td>';
echo '<td>'.$payment->original_amount.'</td>';
echo '<td></td>';
echo '<td>'.$booking->service->name.'</td>';
echo '<td>'.$payment->updated_at->diffForHumans().'</td>';