From 60d540638402c4e4dcf12cc6ba084f6bf1fea4b7 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Tue, 2 May 2023 18:21:54 +0700 Subject: [PATCH] test appprove group mapping transaction api --- .../ApproveDuplicateBankStatementDetailsStatusLogic.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Classes/Modules/Accounting/ControllersLogic/ApproveDuplicateBankStatementDetailsStatusLogic.php b/app/Classes/Modules/Accounting/ControllersLogic/ApproveDuplicateBankStatementDetailsStatusLogic.php index 8e2cb932..bdf31d26 100644 --- a/app/Classes/Modules/Accounting/ControllersLogic/ApproveDuplicateBankStatementDetailsStatusLogic.php +++ b/app/Classes/Modules/Accounting/ControllersLogic/ApproveDuplicateBankStatementDetailsStatusLogic.php @@ -86,6 +86,8 @@ class ApproveDuplicateBankStatementDetailsStatusLogic extends AbstractController $otherBankStatement = $rejectedBankSatementDetails->first(); $otherSetBankStatement = StatementTransactionOwner::where('system', $otherBankStatement->system)->where('owner_type', $otherBankStatement->owner_type)->where('owner_id', $otherBankStatement->owner_id)->get(); + dump($request->route('id')); + dd($otherSetBankStatement); foreach ($otherSetBankStatement as $otherStatement) { if ($otherStatement->id == $request->route('id')) { $this->updatesBankStatementTransactionOwnerStatus->execute($otherStatement, ApprovalStatus::REJECTED);