mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 06:24:03 +00:00
manual payments list
This commit is contained in:
+1
-1
@@ -362,7 +362,7 @@ Route::get('/wallets/active', function(){
|
||||
});
|
||||
|
||||
Route::get('/payments/manual', function(){
|
||||
$payments = Transaction::where('type', TransactionType::PAYMENT)->where('owner_type', Booking::class)->get();
|
||||
$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)->get();
|
||||
|
||||
echo '<table>';
|
||||
foreach ($payments as $payment){
|
||||
|
||||
Reference in New Issue
Block a user