1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

(bug) unable to generate invoice for payment by check/transfer

This commit is contained in:
Du Peng 2024-02-29 19:29:47 +01:00
parent a2aa1f37d7
commit d4b5b3db23
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
## Next release
- Fix a bug: unable to generate invoice for payment by check/transfer
## v6.3.14 2024 February 26
- improvement: add idp_slo_service_url(logout requests url) to saml provider

View File

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