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);