This commit is contained in:
Dillon
2023-08-02 23:10:11 +08:00
parent 4f6887ef20
commit 07eac828aa
@@ -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){