From 87252d8816290848cebce8a66516eeb33b228c76 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Thu, 2 Nov 2017 06:56:47 -0400 Subject: [PATCH] PINES Receipt Template Customizations for Web Client Corrected branch error Signed-off-by: McCanna --- .../staff/share/print_templates/t_bill_payment.tt2 | 44 +++++----- .../share/print_templates/t_bills_current.tt2 | 99 ++++++++-------------- .../share/print_templates/t_bills_historical.tt2 | 47 +++++----- .../staff/share/print_templates/t_checkout.tt2 | 1 + .../share/print_templates/t_hold_pull_list.tt2 | 12 +-- .../share/print_templates/t_hold_shelf_list.tt2 | 16 ++-- .../share/print_templates/t_hold_shelf_slip.tt2 | 19 +++-- .../share/print_templates/t_hold_transit_slip.tt2 | 7 +- .../share/print_templates/t_holds_for_bib.tt2 | 14 ++- .../share/print_templates/t_offline_checkin.tt2 | 22 +---- .../share/print_templates/t_offline_checkout.tt2 | 23 +---- .../print_templates/t_offline_in_house_use.tt2 | 19 +---- .../share/print_templates/t_offline_renew.tt2 | 21 ++--- .../staff/share/print_templates/t_transit_list.tt2 | 6 +- .../staff/share/print_templates/t_transit_slip.tt2 | 6 +- 15 files changed, 143 insertions(+), 213 deletions(-) diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 index d0fe548e18..f2c59ce8e2 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 @@ -5,12 +5,12 @@ - - + + - - + - - + + - - + + - - + +
Original Balance:{{previous_balance | currency}}Original Balance:{{previous_balance | currency}}
Payment Method: + Payment Method:
[% l('Cash') %]
[% l('Check') %]
@@ -24,16 +24,16 @@
Amount Paid:{{payment_applied | currency}}Amount Paid:{{payment_applied | currency}}
Billings Voided:{{amount_voided | currency}}Billings Voided:{{amount_voided | currency}}
New Balance:{{new_balance | currency}}New Balance:{{new_balance | currency}}

Note: {{payment_note}}
@@ -45,24 +45,24 @@
- - + + - - + + - + + - - - + + + - - - + + +
Bill #:{{payment.xact.id}}Bill #:{{payment.xact.id}}
Type:   {{payment.xact.summary.last_billing_type}} - {{payment.xact.summary.xact_type}}Last Billing Type:   {{payment.xact.summary.last_billing_type}}
Received:  {{payment.amount | currency}}Received:  {{payment.amount | currency}}
Title:{{payment.xact.title}}
Title:{{payment.xact.title}}
Barcode:{{payment.xact.copy_barcode}}
Barcode:{{payment.xact.copy_barcode}}
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 b4ac426d11..73cde2d72d 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 @@ -1,73 +1,44 @@ - -Welcome to {{current_location.name}}!
-You have the following bills: -
-
-
-
Bill #{{xact.id}}
-
- +

+www.gapines.org
+{{current_location.name}}
+

Current Bills

+
+
+
- + + + + + + + + + + + + + + + + + - - - + + + - - - + + + - + - +
Bill ID: {{xact.id}}
Bill Start Date:   {{xact.xact_start | date:'M/d/yyyy'}}
Last Billing Type:   {{xact.summary.last_billing_type}}
Title:{{xact.title}}
Barcode:{{xact.copy_barcode}}
Bill Start Date:  {{xact.xact_start| date:'M/d/yyyy'}}
Total Billed:{{xact.summary.total_owed | currency}}
Type:{{xact.summary.last_billing_type}} -{{xact.summary.xact_type}}
Total Paid:{{xact.summary.total_paid | currency}}
Balance:  Balance: {{xact.summary.balance_owed | currency}}
-
+ +
+{{current_location.shortname}} {{today | date:'short'}}
-{{current_location.shortname}}   {{today | date:'short'}}
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 5106f13289..1d18d97dce 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 @@ -5,30 +5,37 @@

- - - + + + - - - + + + - - - + + + + + + + + + + + + + + + - - - + + + - - - - - - - + + +
Bill ID:{{xact.id}}
Bill ID:{{xact.id}}
Bill Start Date:   {{xact.xact_start | date:'M/d/yyyy'}}
Bill Start Date:   {{xact.xact_start | date:'M/d/yyyy'}}
Type:{{xact.summary.last_billing_type}} -{{xact.summary.xact_type}}
Last Billing Type:   {{xact.summary.last_billing_type}}
Title:{{xact.title}}
Barcode:{{xact.copy_barcode}}
Total Billed:{{xact.summary.total_owed | currency}}
Total Billed:{{xact.summary.total_owed | currency}}
Total Paid:{{xact.summary.total_paid | currency}}
Total Paid:{{xact.summary.total_paid | currency}}
Balance:{{xact.summary.balance_owed | currency}}
Balance:{{xact.summary.balance_owed | currency}}
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 99fcb0b96a..2a91759737 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 @@ -12,5 +12,6 @@ +
Total Amount Owed: {{patron_money.balance_owed | currency}}

{{current_location.shortname}} {{today | date:'short'}}
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 31882b6a6c..d9dc3afdb4 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 @@ -21,12 +21,12 @@ - {{hold_data.copy.location.name}} - {{hold_data.volume.label}} - {{hold_data.title}} - {{hold_data.author}} - {{hold_data.copy.barcode}} {{hold_data.part.label}} - {{hold_data.hold.hold_type}} + {{hold_data.copy.location.name}} + {{hold_data.volume.label}} + {{hold_data.title}} + {{hold_data.author}} + {{hold_data.copy.barcode}} {{hold_data.part.label}} + {{hold_data.hold.hold_type}} diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_list.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_list.tt2 index 8ace2294c8..acec8750fc 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_list.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_list.tt2 @@ -17,21 +17,23 @@ Author Call Number Barcode/Part + Status + Shelf Expire Date - {{hold_data.patron_alias}} + {{hold_data.patron_alias}} {{hold_data.patron_last}}, {{hold_data.patron_first}}
- {{hold_data.title}} - {{hold_data.author}} - {{hold_data.volume.label}} - {{hold_data.copy.barcode}} {{hold_data.part.label}} - {{hold_data.status_string}} - {{hold_data.hold.shelf_expire_time | date:'yyyy-MM-dd HH:mm:ss'}} + {{hold_data.title}} + {{hold_data.author}} + {{hold_data.volume.label}} + {{hold_data.copy.barcode}} {{hold_data.part.label}} + {{hold_data.status_string}} + {{hold_data.hold.shelf_expire_time | date:'short'}} diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 index fadd09cf93..95ae098de4 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 @@ -11,21 +11,26 @@
- - - + + + - - - + +
Title:{{title}}
Barcode:{{copy.barcode}}
Request Date:  {{hold.request_time | date:"M/d/yyyy"}}
Title:{{title}}
Barcode:{{copy.barcode}}
Request Date:  {{hold.request_time | date:"M/d/yyyy"}}
 
Patron:{{patron.family_name}}, {{patron.first_given_name}} {{patron.second_given_name}}
Barcode:{{patron.card.barcode}}
+
Patron:{{patron.family_name}}, {{patron.first_given_name}} {{patron.second_given_name}}
Barcode:{{patron.card.barcode}}
Notify by phone:  
Notify by text:
Notify by email:  
-
+
{{hold.phone_notify}}
{{hold.sms_notify}}
{{patron.email}}
+
    +
  1. +{{note.title}}
    +{{note.body}}
  2. +

{{current_location.shortname}} {{today | date:'short'}}
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 index e8370bc8c5..47e2ea47c9 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 @@ -6,10 +6,9 @@ {{dest_location.name}}
- - - - + + +
Title:{{title}}
Author:{{author}}
Barcode:  {{copy.barcode}}
Request Date:  {{hold.request_time | date:"M/d/yyyy"}}
Title:{{title}}
Author:{{author}}
Barcode:  {{copy.barcode}}

{{current_location.shortname}} {{today | date:'short'}}
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_bib.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_bib.tt2 index df2eda50e8..bafb13ef1f 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_bib.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_bib.tt2 @@ -27,16 +27,14 @@ bib record. Fields include: - {{hold.hold.request_time | date:$root.egDateAndTimeFormat}} - {{hold.patron_barcode}} - {{hold.patron_last}} - {{hold.patron_alias}} - {{hold.copy.barcode}} + {{hold.hold.request_time | date:$root.egDateAndTimeFormat}} + {{hold.patron_barcode}} + {{hold.patron_last}} + {{hold.patron_alias}} + {{hold.copy.barcode}}
-
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
-
[% l('Printed by [_1]', '{{staff.first_given_name}}') %]
-
+
{{current_location.shortname}} {{today | date:'short'}}
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkin.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkin.tt2 index 7c0acddfe5..a2df19de9c 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkin.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkin.tt2 @@ -1,25 +1,11 @@ - -
-
[% l('You checked in the following [_1] items:', '{{transactions.length}}') %]
+

PINES

+
You checked in the following {{transactions.length}} items:

  1. -
    [% l('Barcode: [_1] Checkin date: [_2]', - '{{checkin.barcode}}', - '{{checkin.backdate | date:"short"}}') %]
    +
    Barcode: {{checkin.barcode}}
    + Checkin date: {{checkin.backdate | date:"short"}}

{{today | date:'short'}}
-
- diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkout.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkout.tt2 index dc2bd2755e..7aeecaf0e0 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkout.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_offline_checkout.tt2 @@ -1,27 +1,12 @@ - -
-
[% l('Patron [_1]', '{{transactions[0].patron_barcode}}') %]
-
[% l('You checked out the following [_1] items:', '{{transactions.length}}') %]
+

PINES

+
You checked out the following {{transactions.length}} items:

  1. -
    [% l('Barcode:') %] {{checkout.barcode}}
    -
    [% l('Non-cataloged Item') %] ({{checkout.noncat_count}})
    -
    [% l('Due Date:') %] {{checkout.due_date | date:"short"}}
    +
    Barcode: {{checkout.barcode}}
    + Due: {{checkout.due_date | date:"short"}}

{{today | date:'short'}}
-
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_offline_in_house_use.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_offline_in_house_use.tt2 index 1f177ceeab..efb11a0388 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_offline_in_house_use.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_offline_in_house_use.tt2 @@ -1,24 +1,11 @@ - -
-
[% l('You recorded use for the following [_1] items:', '{{transactions.length}}') %]
+
You recorded in-house use for the following {{transactions.length}} items:

  1. -
    [% l('Barcode [_1] used [_2] times', - '{{checkout.barcode}}', - '{{checkout.count}}') %]
    +
    Barcode {{checkout.barcode}} used {{checkout.count}} times

{{today | date:'short'}}
-
- diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_offline_renew.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_offline_renew.tt2 index 7bd82421e7..a7134fb52d 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_offline_renew.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_offline_renew.tt2 @@ -1,24 +1,13 @@ - -
-
[% l('You renewed the following [_1] items:', '{{transactions.length}}') %]
+

PINES

+
You renewed the following {{transactions.length}} items:

  1. -
    [% l('Barcode: [_1] Due: [_2]', - '{{checkout.barcode}}', - '{{checkout.due_date | date:"short"}}') %]
    +
    Barcode: {{checkout.barcode}}
    + Due: {{checkout.due_date | date:"short"}}

{{today | date:'short'}}
-
+ diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_transit_list.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_transit_list.tt2 index 3f233d1857..646233ce0e 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_transit_list.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_transit_list.tt2 @@ -13,13 +13,13 @@ transits - list; each entry contains: * target_copy.call_number.record.simple_record.title -->
-
Transits:
+

Transit List:


  1. -
    From: {{transit.source.shortname}} To: {{transit.dest.shortname}}
    When: {{transit.source_send_time | date:'short'}}
    Barcode: {{transit.target_copy.barcode}} Title: {{transit.target_copy.call_number.record.simple_record.title}}
    +
    From: {{transit.source.shortname}}
    To: {{transit.dest.shortname}}
    When: {{transit.source_send_time | date:'short'}}
    Barcode: {{transit.target_copy.barcode}}
    Title: {{transit.target_copy.call_number.record.simple_record.title}}

-
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
+
{{current_location.shortname}} {{today | date:'short'}}

diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_transit_slip.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_transit_slip.tt2 index a16662a1e4..47e2ea47c9 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_transit_slip.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_transit_slip.tt2 @@ -6,9 +6,9 @@ {{dest_location.name}}

- - - + + +
Title:{{title}}
Author:{{author}}
Barcode:  {{copy.barcode}}
Title:{{title}}
Author:{{author}}
Barcode:  {{copy.barcode}}

{{current_location.shortname}} {{today | date:'short'}}
-- 2.11.0