- Posts: 82
- Thank you received: 0
PDF invoice list registrants, each on a new line instead of seperated by comma
- bumble
- Topic Author
- Offline
- Premium Member
-
Less
More
3 years 7 months ago #146330
by bumble
PDF invoice list registrants, each on a new line instead of seperated by comma was created by bumble
Hi there, I am using [GROUP_MEMBERS_NAMES] to list registrants in the PDF invoice.
Can I ask if there is there a way to list each Registrant on a new line, instead of them separated by commas?
What I see now: FirstName LastName, FirstName LastName, FirstName LastName
What I want (if it can be bulleted even better!):
FirstName LastName
FirstName LastName
FirstName LastName
I await your reply. Thank you!
Can I ask if there is there a way to list each Registrant on a new line, instead of them separated by commas?
What I see now: FirstName LastName, FirstName LastName, FirstName LastName
What I want (if it can be bulleted even better!):
FirstName LastName
FirstName LastName
FirstName LastName
I await your reply. Thank you!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
3 years 7 months ago #146332
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic PDF invoice list registrants, each on a new line instead of seperated by comma
That would require small modification to the code. Could you please look at the file components/com_eventbooking/helper/registration.php, find the below line of code and try to make change:
Change it to:
Regards,
Tuan
Code:
$replaces['group_members_names'] = implode(', ', $groupMembersNames);
Change it to:
Code:
$replaces['group_members_names'] = implode('\r\n', $groupMembersNames);
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- bumble
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 82
- Thank you received: 0
3 years 7 months ago #146446
by bumble
Replied by bumble on topic PDF invoice list registrants, each on a new line instead of seperated by comma
Thank you Tuan!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
3 years 7 months ago #146449
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic PDF invoice list registrants, each on a new line instead of seperated by comma
You're welcome. Later today, when I am less busy, I will see if I can help implementing it for you using override so that you can continue updating to future releases of the extension without having to re-do this each update
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.