Adding Multiple Events to One Invoice
When you are making package deals, you want to add multiple events to one invoice. With ABOSS you can. This articles describes how to.
Table of Contents
Add Multiple Events to One Contract
Unlink
Templates
1. Add multiple events to one contract
A Calendar popup will appear, where you can select the events for contract. Click on the events to add them. Hold the SHIFT-button on your keyboard to select more than one. Feel free to let go if you want to go another month. You selection has been updated already.
The events will now display in your invoice tab.
Preview your invoice by clicking the 'Preview PDF' button. The same invoice will be visible within all individual events.
2. Unlink
To unlink your event, just simply click on the X, behind the event's name.
4. Templates
Your template have to be ready to create an invoice for multiple events. In most cases the code that we use to for the templates is suited for 1 event. The code needs to be altered to display the information of each individual event.
Warning! Any changes made in a template can cause the template to malfunction if the codes are not written properly. Always create a duplicate of a template when you are making changes to the liquid code! Change templates at your own risk.
Here you will find an example of code that would need to be changed.
I have two shows connected to a contract/ invoice. The names of the events are:
The Big Elvis Covershow
Boogie Boogie Night
To show the title of an event on your contract/ invoice your template would contain the following code:
{{ event.title }}
In this case your output would be:
The Big Elvis Covershow
The second event title will not display on your template.
To display both event titles on your output, you need to create a loop that check all events connected. The code to display all event titles would be:
{% for e in events %}
{{ e.event.title }}
{% endfor %}
This code will check the individual events until there are no more events connected.
The output will now be:
The Big Elvis Covershow Boogie Boogie Night
To read more about altering the templates click here. If you need support when you are changing your templates, you can always contact us free of charge. When you need us to build the templates for you, we will charge an additional fee depending on the amount of work.
Note: The entered data, such as added in Deal-tab, will only display correctly on contracts and invoice PDFs if the templates are set up properly. Always double-check your PDFs before sending them out to ensure everything appears as expected.