From 07eac828aa33844d8a049b10efc31e23042b6230 Mon Sep 17 00:00:00 2001 From: Dillon Date: Wed, 2 Aug 2023 23:10:11 +0800 Subject: [PATCH] Debug --- .../PerfexCRM/Processors/CreatePerfexCRMInvoiceProcessor.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Classes/Modules/PerfexCRM/Processors/CreatePerfexCRMInvoiceProcessor.php b/app/Classes/Modules/PerfexCRM/Processors/CreatePerfexCRMInvoiceProcessor.php index 2bd95920..5872cf8c 100644 --- a/app/Classes/Modules/PerfexCRM/Processors/CreatePerfexCRMInvoiceProcessor.php +++ b/app/Classes/Modules/PerfexCRM/Processors/CreatePerfexCRMInvoiceProcessor.php @@ -196,6 +196,8 @@ class CreatePerfexCRMInvoiceProcessor } } + Log::error('CreatePerfexCRMInvoiceProcessor debug: '.json_encode($transaction)); //cief todo: to be removed + //When this transaction is of TransactionType::PAYMENT, the amount is actually in the currecy user choose to pay (RM) //So there is no need to convert it if ($transaction->type == TransactionType::PAYMENT){