Booking/Purchase Filters

There are filters that can help you render out information related to a purchase

FilterDescriptionExample
to_currencyRender a value as currency - passing in the total to help know what currency the purchase was made in{{ item.price | to_currency: total }}
custom_text_totalRenders out all of the extra custom configurable text field objects associated with all resources/services/people/companies in the order{{ total | custom_text_total }}
booking_link_totalRenders out the classic booking link for a purchase total{{ total | booking_link_total }}
cancel_link_totalRenders out the classic cancel link for a purchase total{{ total | cancel_link_total }}
booking_url_totalRenders out the classic booking url for a waitlist space that has become available{{ total | booking_url_total }}
important_questions_listRenders out a basic list of questions (for an sms) of only ones marked as 'important'{{ total | important_questions_list }}
phoneTried to find the best phone numbers for an order{{ total | phone }}
vat_breakdown_totalGive a break down of the VAT on a purchase{{ total | vat_breakdown_total }}
payment_statusGives details of the payments status - takes a param that says if this message is for a client or staff{{ total | payment_status: extra_data.admin}}
vouchers_filterGives details of any vouchers{{ total | vouchers_filter }}
booking_totalGives a text summary of a booking within a purchase order{{ total | booking_total: space }}
session_pretty_print_durationAttempts to pretty print the duration of specific occurrence of an event{% assign sess_pretty_print = slot.session | session_pretty_print_duration: slot %}
full_describeAttempts to create a pretty description of a purchase item or booking - you must pass in the company settings (see exmaple){% assign item_full_describe = item | full_describe: total.company.setting %}