mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(bug) member wallet amount calculation error in the excel export
This commit is contained in:
parent
d00fb18b20
commit
103ece1715
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Next release
|
## Next release
|
||||||
|
|
||||||
|
- Fix a bug: member wallet amount calculation error in the excel export
|
||||||
|
|
||||||
## v6.3.24 2024 May 28
|
## v6.3.24 2024 May 28
|
||||||
|
|
||||||
- Fix a bug: unable to show member children for admin
|
- Fix a bug: unable to show member children for admin
|
||||||
|
@ -72,7 +72,7 @@ wb.add_worksheet(name: ExcelService.name_safe(t('export_members.members'))) do |
|
|||||||
member.invoicing_profile&.organization&.name || '',
|
member.invoicing_profile&.organization&.name || '',
|
||||||
member.invoicing_profile&.organization&.address&.address || '',
|
member.invoicing_profile&.organization&.address&.address || '',
|
||||||
ActionController::Base.helpers.sanitize(member.profile.note, tags: []) || '',
|
ActionController::Base.helpers.sanitize(member.profile.note, tags: []) || '',
|
||||||
member.wallet&.amount ? ActionController::Base.helpers.number_to_currency(member.wallet&.amount / 100.0, locale: CURRENCY_LOCALE) : ''
|
ActionController::Base.helpers.number_to_currency(member.wallet&.amount, locale: CURRENCY_LOCALE) || ''
|
||||||
]
|
]
|
||||||
styles = [nil, nil, nil, nil, nil, nil, date, nil, nil, nil, nil, nil, nil, nil,
|
styles = [nil, nil, nil, nil, nil, nil, date, nil, nil, nil, nil, nil, nil, nil,
|
||||||
nil, nil, nil, date, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil]
|
nil, nil, nil, date, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil]
|
||||||
|
Loading…
Reference in New Issue
Block a user