From c6c86d44953f320cdc6a5a757204e8ce9b882cfb Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 22 Feb 2022 01:10:48 +0800 Subject: [PATCH] fix bill seeder --- .../ControllersLogic/CreatePaymentProofDocumentLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Transactions/ControllersLogic/CreatePaymentProofDocumentLogic.php b/app/Classes/Modules/Transactions/ControllersLogic/CreatePaymentProofDocumentLogic.php index 81eb0c8a..460f5181 100644 --- a/app/Classes/Modules/Transactions/ControllersLogic/CreatePaymentProofDocumentLogic.php +++ b/app/Classes/Modules/Transactions/ControllersLogic/CreatePaymentProofDocumentLogic.php @@ -85,7 +85,7 @@ class CreatePaymentProofDocumentLogic extends AbstractControllerLogic $this->updatesTransactionStatus->execute($transaction, ApprovalStatus::APPROVED); - $this->createInvoiceTransactionProcessor->execute($transaction->booking); + $this->createInvoiceTransactionProcessor->execute($transaction->owner->booking); return $this->response([]); }