====== Receipt Content Reference ======
===== Any Type of Print Template =====
^Tag ^Notes |
|{{current_location.name}} |Current library's full name |
|{{current_location.shortname}}|Current library's short name|
|{{current_location.email}}|Current library's email address|
|{{current_location.phone}}|Current library's phone number|
|{{includes.alert_text}}|Includes: Alert Text|
|{{includes.event_text}}|Includes: Event Text|
|{{includes.footer_text}}|Includes: Footer Text|
|{{includes.header_text}}|Includes: Header Text|
|{{includes.notice_text}}|Includes: Notice Text|
|{{today}} |Today's time and date - raw data|
|{{today|date:'short'}} |Readable time and date: 8/1/17 10:18 AM |
|{{today|date:'M/d/yyyy'}} |Date only: 8/1/2017 |
|{{staff.first_given_name}}|Staff first name|
See also: [[https://docs.angularjs.org/api/ng/filter/date|https://docs.angularjs.org/api/ng/filter/date]]
For each print template below, the sections that say "Inside ng-repeat loop" indicate that the tag must appear inside the ng-repeat section of the print template and it will only work per item or per bill.
===== Bills, Current =====
^Tag (Inside ng-repeat loop)^Notes |
|{{xact.summary.balance_owed}}|Balance remaining|
|{{xact.copy_barcode}}|Barcode|
|{{xact.id}}|Bill ID|
|{{xact.xact_start}}|Bill start date|
|{{xact.summary.xact_type}}|Bill type (circulation vs. grocery)|
|{{xact.summary.last_billing_note}}|Last billing note|
|{{xact.summary.last_billing_type}}|Last billing type|
|{{xact.summary.last_payment_note}}|Last payment note|
|{{xact.summary.last_payment_type}}|Last payment type|
|{{xact.title}}|Title|
|{{xact.summary.total_owed}}|Total billed|
|{{xact.summary.total_paid}}|Total paid|
===== Bills, Historical =====
^Tag (Inside ng-repeat loop)^Notes |
|{{xact.id}}|Bill ID|
|{{xact.title}}|Title|
|{{xact.copy_barcode}}|Barcode|
|{{xact.summary.balance_owed}}|Balance remaining|
|{{xact.summary.xact_type}}|Bill type (circulation vs. grocery)|
|{{xact.summary.last_billing_type}}|Last billing type|
|{{xact.summary.total_owed}}|Total billed|
|{{xact.summary.total_paid|currency}}|Total paid|
|{{xact.xact_start}}|Billing Start Date and Time|
|{{xact.xact_finish}}|Billing Finish Date and Time|
|{{xact.summary.last_billing_note}}|Last billing note|
|{{xact.summary.last_billing_type}}|Last billing type|
|{{xact.summary.last_payment_note}}|Last payment note|
|{{xact.summary.last_payment_type}}|Last payment type|
|{{xact.summary.total_owed}}|Total billed|
|{{xact.summary.total_paid}}|Total paid|
===== Bills, Payment =====
^Tag^Notes |
|{{patron.first_given_name}}|Patron First Name|
|{{patron.second_given_name}}|Patron Middle Name|
|{{patron.family_name}}|Patron Last Name|
|{{patron.suffix}}|Patron Name Suffix|
|{{patron.card.barcode}}|Patron Barcode|
|{{patron.expire_date}}|Account Expiration Date|
|{{patron.alias}}|Alias|
|{{patron.has_email}}|Has email? (true or false)|
|{{patron.has_phone}}|Has phone? (true or false)|
|{{payment_applied}}|Payment amount applied to bills|
|{{payment_total}}|Payment total (if using this, also use change_given)|
|{{change_given}}|Change given (if using this, also use payment_total)|
|{{payment_note}}|Payment note|
|{{payment_type}}|Payment type|
|{{amount_voided}}|Amount voided|
|