Disable invoice for specific event only
- Rasmus Bech
- Topic Author
- Offline
- New Member
Less
More
5 years 1 month ago #129403
by Rasmus Bech
Disable invoice for specific event only was created by Rasmus Bech
Hi
Is it somehow possible to disable invoice for a specific event?
We have an event that is handled by a 3. party who issues the invoice, so we would prefer not sending an invoice to our users for this specific event.
I was considering adding an extra boolean toggle in the tab "Extra information" under the event, with a disable invoice (yes/no). Then add an if/else statement to the pdf function if possible?
Thanks
Is it somehow possible to disable invoice for a specific event?
We have an event that is handled by a 3. party who issues the invoice, so we would prefer not sending an invoice to our users for this specific event.
I was considering adding an extra boolean toggle in the tab "Extra information" under the event, with a disable invoice (yes/no). Then add an if/else statement to the pdf function if possible?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 1 month ago #129413
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Disable invoice for specific event only
Hello Rasmus
Yes. You will need to add a new setting to the event. Then customize the code of the method needInvoice in components/com_eventbooking/helper/registration.php to return false in case invoice is disabled for that event
Tuan
Yes. You will need to add a new setting to the event. Then customize the code of the method needInvoice in components/com_eventbooking/helper/registration.php to return false in case invoice is disabled for that event
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 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.