From: Dan Pearl Date: Fri, 7 Sep 2018 17:18:56 +0000 (-0400) Subject: LP 1772053: Add Missing Fields to Print Templates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=058c331b02586612ed8efb78772de91e042e3a91;p=evergreen%2Fpines.git LP 1772053: Add Missing Fields to Print Templates Almost complete implementation for LP1772053. To be done: items relating to call numbers, prefixes and suffixes for Hold Pull Lists and Transit Slips. Signed-off-by: Daniel Pearl Signed-off-by: Terran McCanna Signed-off-by: Chris Sharp --- 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 cf6df6624a..af7dd0cba8 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 @@ -20,9 +20,27 @@ to this template includes: pref_ versions of all name fields (e.g. pref_family_name); * transasctions - a list of transactions, each of which contains: + xact.id - Bill unique id + xact.title - Copy title + xact.copy_barcode - Copy barcode + xact.xact_finish - Billing finish date and time + xact.xact_start - Billing start date and time xact.summary - information about the transaction - xact.title - Item title - xact.copy_barcode - Item barcode + xact.summary.balance_owed - Balance owed + 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_ts - Last payment date and time + xact.summary.last_payment_type - Last payment type + xact.summary.total_owed - Total billed + xact.summary.total_paid - Total paid + xact.summary.xact_type - Billing type + xact.call_number - Information about the copy + xact.call_number.label - Copy call number + xact.call_number.prefix - Copy call number prefix + xact.call_number.suffix - Copy call number suffix + xact.call_number.owning_lib.name - The owning library's name + xact.call_number.owning_lib.shortname - The owning library's shortname --> 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 9c66cc9aa8..ab0da69a12 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 @@ -19,24 +19,27 @@ to this template includes: patron.has_phone - Whether or not the patron has a phone number pref_ versions of all name fields (e.g. pref_family_name); * transasctions - a list of transactions, each of which contains: - xact.id - Bill unique id - xact.copy_barcode - Item barcode - xact.xact_finish - Billing finish date and time - xact.xact_start - Billing start date and time - xact.summary - Information about the transaction - xact.summary.balance_owed - Balance owed - 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_ts - Last payment date and time - xact.summary.last_payment_type - Last payment type - xact.summary.total_owed - Total billed - xact.summary.total_paid - Total paid - xact.summary.xact_type - Billing type - xact.title - Item title + xact.id - Bill unique id + xact.title - Copy title + xact.copy_barcode - Copy barcode + xact.xact_finish - Billing finish date and time + xact.xact_start - Billing start date and time xact.summary - information about the transaction - xact.title - Item title - xact.copy_barcode - Item barcode + xact.summary.balance_owed - Balance owed + 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_ts - Last payment date and time + xact.summary.last_payment_type - Last payment type + xact.summary.total_owed - Total billed + xact.summary.total_paid - Total paid + xact.summary.xact_type - Billing type + xact.call_number - Information about the copy + xact.call_number.label - Copy call number + xact.call_number.prefix - Copy call number prefix + xact.call_number.suffix - Copy call number suffix + xact.call_number.owning_lib.name - The owning library's name + xact.call_number.owning_lib.shortname - The owning library's shortname --> Welcome to {{current_location.name}}!
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2 index 646c383c16..c0fffbb019 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2 @@ -23,12 +23,17 @@ Template for printing checkout receipts; fields available include: * has_phone - same as has_email * circulations - list of loans made during this session. Each - includes: + checkout includes: - * title - * author - * copy.barcode - * circ.due_date + * checkout.title + * checkout.author + * checkout.circ.due_date + * checkout.circ.renewal_remaining + * checkout.copy.barcode + * checkout.copy.circ_modifier + * checkout.copy.call_number.label + * checkout.copy.call_number.owning_lib.name + * checkout.copy.call_number.owning_lib.shortname -->
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2 index bd0586f704..292f60cb67 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2 @@ -1,14 +1,14 @@