From 4678aa63daba6da2262d7045de63326739e8b098 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Thu, 7 Jun 2018 10:11:43 -0700 Subject: [PATCH] LP1772444: Updating list of variables in bill template descriptions Signed-off-by: Jane Sandberg --- .../staff/share/print_templates/t_bills_current.tt2 | 20 ++++++++++++++++---- .../share/print_templates/t_bills_historical.tt2 | 19 +++++++++++++++---- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 index c2dcd257dc..f63d44779e 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 @@ -2,12 +2,24 @@ Template for printing a list of current bills. Data specific to this template includes: +* current_location - the current library +* patron - the patron who was billed, which contains: + patron.prefix - Prefix of the patron + patron.first_given_name - First given name of the patron + patron.second_given_name - Second given name of the patron + patron.family_name - Family name of the patron + patron.suffix - Suffix of the patron + patron.card - The patron's barcode number + patron.expire_date - The patron's expiration date + patron.alias - The patron's alias + patron.has_email - Whether or not the patron has an email address + patron.has_phone - Whether or not the patron has a phone number + * transasctions - a list of transactions, each of which contains: - - xact.summary - information about the transaction - xact.title - Copy title - xact.copy_barcode - Copy barcode + xact.summary - information about the transaction + xact.title - Copy title + xact.copy_barcode - Copy barcode --> Welcome to {{current_location.name}}!
You have the following bills: diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 index 6b0279dc25..e8135f4f19 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 @@ -2,12 +2,23 @@ Template for printing a list of past bills. Data specific to this template includes: +* current_location - the current library +* patron - the patron who was billed, which contains: + patron.prefix - Prefix of the patron + patron.first_given_name - First given name of the patron + patron.second_given_name - Second given name of the patron + patron.family_name - Family name of the patron + patron.suffix - Suffix of the patron + patron.card - The patron's barcode number + patron.expire_date - The patron's expiration date + patron.alias - The patron's alias + patron.has_email - Whether or not the patron has an email address + patron.has_phone - Whether or not the patron has a phone number * transasctions - a list of transactions, each of which contains: - - xact.summary - information about the transaction - xact.title - Copy title - xact.copy_barcode - Copy barcode + xact.summary - information about the transaction + xact.title - Copy title + xact.copy_barcode - Copy barcode --> Welcome to {{current_location.name}}!
-- 2.11.0