diff --git a/routes/web.php b/routes/web.php index 828f38da..66ddf8d4 100644 --- a/routes/web.php +++ b/routes/web.php @@ -364,9 +364,12 @@ Route::get('/wallets/active', function(){ Route::get('/payments/manual', function(){ $payments = Transaction::where('type', TransactionType::PAYMENT)->whereIn('payment_method', [\App\Classes\ValueObjects\Constants\PaymentMethodType::CASH, \App\Classes\ValueObjects\Constants\PaymentMethodType::BA, \App\Classes\ValueObjects\Constants\PaymentMethodType::CHEQUE])->where('owner_type', Booking::class)->whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])->get(); + $i = 0; echo '
| '.$i.' | '; echo ''.$payment->documents()->first() ? $payment->documents()->first()->created_at : 'not sure: '.$payment->created_at.' | '; echo ''.$payment->owner->marking.' | '; echo ''.$payment->amount.' | ';