mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-28 00:43:58 +00:00
audit payments bankslips
This commit is contained in:
+1
-1
@@ -430,7 +430,7 @@ Route::get('/po/manual/fix', function(){
|
||||
|
||||
Route::get('/payment/check', function(){
|
||||
|
||||
$transactions = Transaction::where('type', TransactionType::PAYMENT)->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])->get();
|
||||
$transactions = Transaction::where('type', TransactionType::PAYMENT)->where('payment_method', \App\Classes\ValueObjects\Constants\PaymentMethodType::CASH)->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])->get();
|
||||
|
||||
foreach ($transactions as $transaction){
|
||||
if(!count($transaction->documents)){
|
||||
|
||||
Reference in New Issue
Block a user