From cd63aa507a2a88ffab17050fdac31309d34a4b5f Mon Sep 17 00:00:00 2001 From: gdarko Date: Mon, 29 Jan 2024 02:23:36 -0600 Subject: [PATCH] Fix payment note Amount field display Pull: https://github.com/crater-invoice/crater/pull/1151 / Issue: https://github.com/crater-invoice/crater/issues/1127 --- app/Models/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Payment.php b/app/Models/Payment.php index f292041d..8fc2786d 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -435,7 +435,7 @@ class Payment extends Model implements HasMedia '{PAYMENT_DATE}' => $this->formattedPaymentDate, '{PAYMENT_MODE}' => $this->paymentMethod ? $this->paymentMethod->name : null, '{PAYMENT_NUMBER}' => $this->payment_number, - '{PAYMENT_AMOUNT}' => $this->reference_number, + '{PAYMENT_AMOUNT}' => format_money_pdf($this->amount, $this->customer->currency), ]; }