1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

(bug) unable to show gender wowan in member export

This commit is contained in:
Du Peng 2024-06-11 19:21:23 +02:00
parent 1280090baa
commit 7092ea2de3
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
## Next release
- Fix a bug: unable to show gender wowan in member export
## v6.3.26 2024 June 5
- improvement: add uid_attribute for saml provider

View File

@ -51,7 +51,7 @@ wb.add_worksheet(name: ExcelService.name_safe(t('export_members.members'))) do |
member.email,
member.is_allow_newsletter,
member.last_sign_in_at&.to_date,
member.statistic_profile.gender.present? ? (member.statistic_profile.gender ? t('export_members.man') : t('export_members.woman')) : '',
member.statistic_profile.gender.nil? ? (member.statistic_profile.gender ? t('export_members.man') : t('export_members.woman')) : '',
member.statistic_profile.age,
member.invoicing_profile&.address&.address || '',
member.profile.phone,