JRNI Developer Documentation

The JRNI Developer Hub

Welcome to the JRNI developer hub.

Booking/Purchase Filters

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

Filter

Description

Example

to_currency

Render 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_total

Renders 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_total

Renders out the classic booking link for a purchase total

{{ total | booking_link_total }}

cancel_link_total

Renders out the classic cancel link for a purchase total

{{ total | cancel_link_total }}

booking_url_total

Renders out the classic booking url for a waitlist space that has become available

{{ total | booking_url_total }}

important_questions_list

Renders out a basic list of questions (for an sms) of only ones marked as 'important'

{{ total | important_questions_list }}

phone

Tried to find the best phone numbers for an order

{{ total | phone }}

vat_breakdown_total

Give a break down of the VAT on a purchase

{{ total | vat_breakdown_total }}

payment_status

Gives 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_filter

Gives details of any vouchers

{{ total | vouchers_filter }}

booking_total

Gives a text summary of a booking within a purchase order

{{ total | booking_total: space }}

session_pretty_print_duration

Attempts to pretty print the duration of specific occurrence of an event

{% assign sess_pretty_print = slot.session | session_pretty_print_duration: slot %}

full_describe

Attempts 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 %}

Updated 7 months ago

Booking/Purchase Filters


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.