list pending orders in table format

This commit is contained in:
omair saleh
2022-08-10 11:14:55 +08:00
parent 6a14f3a399
commit fa3af84e63
+1 -1
View File
@@ -254,7 +254,7 @@ Route::get('/pending_orders', function(){
foreach ($payments as $payment){
$booking = $payment->owner;
echo '<tr>';
echo '<td>'.$payment->updated_at.'</td>';
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->amount.' '.$payment->currency->short_code.'</td>';