Fix payment note Amount field display

Pull: https://github.com/crater-invoice/crater/pull/1151 / Issue: https://github.com/crater-invoice/crater/issues/1127
This commit is contained in:
gdarko
2024-01-29 02:23:36 -06:00
parent 448231fb56
commit cd63aa507a

View File

@@ -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),
];
}