Merge branch 'dillon/39-crm-changes' into development

This commit is contained in:
Dillon
2023-08-02 22:56:01 +08:00
@@ -199,7 +199,7 @@ class CreatePerfexCRMInvoiceProcessor
//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){
$total = number_format($transaction->amount, 2,'.','') * 1;;
$total = number_format($transaction->amount, 2,'.','') * 1;
}
else{
if($booking->first()->fix_currency_id !== 1){