better readable IBAN (#824)

display IBANs in groups of 4 digits with whitespaces in between
This commit is contained in:
twothreenine 2021-02-20 12:16:21 +01:00 committed by GitHub
parent 00f1dddd3d
commit 401c8f50a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 6 deletions

View file

@ -34,7 +34,7 @@
%dd= @supplier.supplier_category.try(:name)
- if FoodsoftConfig[:use_iban]
%dt= heading_helper(Supplier, :iban) + ':'
%dd= @supplier.iban
%dd= format_iban @supplier.iban
%dt= heading_helper(Supplier, :delivery_days) + ':'
%dd= @supplier.delivery_days
%dt= heading_helper(Supplier, :order_howto) + ':'