1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-30 19:52:20 +01:00

(feat) add settlement by transfer/check to invoice paiement info

This commit is contained in:
Du Peng 2024-02-15 15:29:30 +01:00
parent d897d05cdf
commit f79c2fe0a9
3 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,8 @@
## Next release
- improvement: add settlement by transfer/check to invoice paiement info
## v6.3.12 2024 February 12
- improvement: Allow the admin to update payment method only the overdue subscription item without cancel PayZen subscription

View File

@ -62,6 +62,10 @@ class Invoices::PaymentDetailsService
# else
if invoice.paid_by_card?
I18n.t('invoices.settlement_by_debit_card')
elsif paid_by_transfer?
I18n.t('invoices.settlement_by_transfer')
elsif paid_by_check?
I18n.t('invoices.settlement_by_check')
else
I18n.t('invoices.settlement_done_at_the_reception')
end

View File

@ -126,6 +126,8 @@ en:
by_wallet: "by wallet"
no_refund: "No refund"
settlement_by_debit_card: "Settlement by debit card"
settlement_by_transfer: "Settlement by transfer"
settlement_by_check: "Settlement by check"
settlement_done_at_the_reception: "Settlement done at the reception"
settlement_by_wallet: "Settlement by wallet"
on_DATE_at_TIME: "on %{DATE} at %{TIME},"