- Posts: 31
- Thank you received: 1
Invoice - separate optional custom fee donation from event registration fee
- Duke S.
- Topic Author
- Offline
- Junior Member
Less
More
4 years 8 months ago #127447
by Duke S.
Invoice - separate optional custom fee donation from event registration fee was created by Duke S.
Multi-member/group checkout - We are using a Custom Field to collect a donation as a custom fee. The system's Invoice generator calls the entire amount collected the event fee and donations do not count as a qualified medical expense. Is there an easy way for the Custom Fee, if any, to be reported as a separate line item on the invoice?
I realize the normal use case is that custom fee was designed for modifiers to an event registration price and there is no way to know whether a fee should be a price modifier or a separate line item for an independent charge like a donation. The good news is that in our setup, there are no price modifiers. And the custom fee is set to not be discountable in case that flag helps somehow. Ideas?
Thanks for any suggestions.
I realize the normal use case is that custom fee was designed for modifiers to an event registration price and there is no way to know whether a fee should be a price modifier or a separate line item for an independent charge like a donation. The good news is that in our setup, there are no price modifiers. And the custom fee is set to not be discountable in case that flag helps somehow. Ideas?
Thanks for any suggestions.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
4 years 8 months ago #127452
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invoice - separate optional custom fee donation from event registration fee
Hi Duke
Due to the complicated of custom fee fields implement, we have no way to have a separate line in the invoice for each fee field
Tuan
Due to the complicated of custom fee fields implement, we have no way to have a separate line in the invoice for each fee field
Tuan
Please Log in or Create an account to join the conversation.
- Duke S.
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 1
4 years 8 months ago - 4 years 8 months ago #127491
by Duke S.
Replied by Duke S. on topic Invoice - separate optional custom fee donation from event registration fee
I knew that, I was just exploring if it was possible to break out the summary billing one level using the custom fee.
(Also, The invoice also doesn't show the number of admissions/tickets.)
So I'm exploring working backwards as follows:
$amount = total of registrations and fees before discounts and taxes as currently shown
$fee = [custom_fees]
$members = number of members in group.
$tickets = $amount - $fee
Invoice says:
Qty.................Description ................................................. Amount
$members.....$item_desc ("Tickets to Event")....................$tickets
"-".................."Additional Optional Donation, if any".................$fee
.........................................................Total Charges:..........$amount
.........................................................Discount:
.........................................................Taxes:
.........................................................Total Payment Due:
.........................................................Deposit Received:
.........................................................Remaining Balance
To make this work, just need access to the total custom fee [custom_fees], or the Additional Donation custom field [custom_field_12] if the value was saved to the database. I understand it prevents using custom fee for any other purpose in my instance of events booking - I just want a way to recognize that there was a donation added so we can thank the donor appropriately. Is it practical to expose [custom_fees] as one more mergefield? (I'm at the edge of my Joomla PHP skills.)
(Also, The invoice also doesn't show the number of admissions/tickets.)
So I'm exploring working backwards as follows:
$amount = total of registrations and fees before discounts and taxes as currently shown
$fee = [custom_fees]
$members = number of members in group.
$tickets = $amount - $fee
Invoice says:
Qty.................Description ................................................. Amount
$members.....$item_desc ("Tickets to Event")....................$tickets
"-".................."Additional Optional Donation, if any".................$fee
.........................................................Total Charges:..........$amount
.........................................................Discount:
.........................................................Taxes:
.........................................................Total Payment Due:
.........................................................Deposit Received:
.........................................................Remaining Balance
To make this work, just need access to the total custom fee [custom_fees], or the Additional Donation custom field [custom_field_12] if the value was saved to the database. I understand it prevents using custom fee for any other purpose in my instance of events booking - I just want a way to recognize that there was a donation added so we can thank the donor appropriately. Is it practical to expose [custom_fees] as one more mergefield? (I'm at the edge of my Joomla PHP skills.)
Last edit: 4 years 8 months ago by Duke S..
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
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.