From: Terran McCanna Date: Thu, 3 Aug 2017 17:40:26 +0000 (-0400) Subject: Default Print Templates - PINES Customizations X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3cf2c1faab1e9ad5736d655acbacc86e091b3385;p=evergreen%2Fpines.git Default Print Templates - PINES Customizations Customized default print templates for PINES so that each library will have a good starting point to work from. Signed-off-by: Terran McCanna --- 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 2f2cfecfa2..0557e820ce 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 @@ -1,80 +1,69 @@ - -Welcome to {{current_location.name}}!
-A receipt of your transaction:
- - - - - - - - +
[% l('Original Balance:') %]{{previous_balance | currency}}
[% l('Payment Method:') %]
+ + + + + + - - - - - - - - - - - - - - - - - - - - - -
Original Balance:{{previous_balance | currency}}
Payment Method:
-
[% l('Cash') %]
-
[% l('Check') %]
-
[% l('Credit Card') %]
-
[% l('Patron Credit') %]
-
[% l('Work') %]
-
[% l('Forgive') %]
-
[% l('Goods') %]
+
Cash
+
Check
+
Credit Card
+
Patron Credit
+
Work
+
Forgive
+
Goods
[% l('Payment Received:') %]{{payment_total | currency}}
[% l('Payment Applied:') %]{{payment_applied | currency}}
[% l('Billings Voided:') %]{{amount_voided | currency}}
[% l('Change Given:') %]{{change_given | currency}}
[% l('New Balance:') %]{{new_balance | currency}}
+ + + Amount Paid: + {{payment_applied | currency}} + + + Billings Voided: + {{amount_voided | currency}} + + + New Balance: + {{new_balance | currency}} + + +

Note: {{payment_note}}
-

[% l('Note: [_1]', '{{payment_note}}') %]

+
+

Bill Details

-

-[% l('Specific Bills') %] -

-
- +
+
+
+ + + + + + + + + + + - - - + + - + +
Bill #:{{payment.xact.id}}
Type:   {{payment.xact.summary.last_billing_type}} + {{payment.xact.summary.xact_type}}
Received:  {{payment.amount | currency}}
[% l('Bill # [_1]', '{{payment.xact.id}}') %]{{payment.xact.summary.last_billing_type}}[% l('Received: [_1]', '{{payment.amount | currency}}') %]Title:{{payment.xact.title}}
- {{payment.xact.copy_barcode}} {{payment.xact.title}} - Barcode:{{payment.xact.copy_barcode}}
-
-
-


-

-{{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_bills_current.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 index d75850f00e..a7e1998e16 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,59 +1,28 @@ - -Welcome to {{current_location.name}}!
-You have the following bills: -
-
-
-
Bill #{{xact.id}}
-
- - - - - - - - - - - - - +

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

Current Bills

+
+
+
[% l('Date:') %]{{xact.xact_start | date:$root.egDateAndTimeFormat}}
[% l('Type') %]:{{xact.summary.xact_type}}
[% l('Last Billing') %]:{{xact.summary.last_billing_type}}
- {{xact.summary.last_billing_note}} -
- - - + + + - - - + + + - - - + + + - + - +
[% l('Total Billed') %]:{{xact.summary.total_owed | currency}}
Bill ID:{{xact.id}}
[% l('Last Payment') %]:{{xact.summary.last_payment_type}}
- {{xact.summary.last_payment_note}} -
Bill Start Date:  {{xact.xact_start| date:'M/d/yyyy'}}
[% l('Total Paid') %]:{{xact.summary.total_paid | currency}}
Type:{{xact.summary.last_billing_type}} +{{xact.summary.xact_type}}
[% l('Balance') %]:Balance:   {{xact.summary.balance_owed | currency}}
-
-
-
-
-
-{{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_bills_historical.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 index 57efdc58a3..5106f13289 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 @@ -1,59 +1,37 @@ - -Welcome to {{current_location.name}}!
-You had the following bills: -
-
-
-
Bill #{{xact.id}}
-
+

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

Bill History

+
+
- - + + - - + + - - + + - + - - - - - + - +
[% l('Date:') %]{{xact.xact_start | date:$root.egDateAndTimeFormat}}Bill ID:{{xact.id}}
[% l('Type') %]:{{xact.summary.xact_type}}Bill Start Date:   {{xact.xact_start | date:'M/d/yyyy'}}
[% l('Last Billing') %]:{{xact.summary.last_billing_type}}
- {{xact.summary.last_billing_note}} -
Type:{{xact.summary.last_billing_type}} +{{xact.summary.xact_type}}
[% l('Total Billed') %]:Total Billed: {{xact.summary.total_owed | currency}}
[% l('Last Payment') %]:{{xact.summary.last_payment_type}}
- {{xact.summary.last_payment_note}} -
[% l('Total Paid') %]:Total Paid: {{xact.summary.total_paid | currency}}
[% l('Balance') %]:Balance: {{xact.summary.balance_owed | currency}}
-
-
-

-{{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_checkin.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_checkin.tt2 index ee94ae6e01..cfee335aa9 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_checkin.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_checkin.tt2 @@ -1,29 +1,16 @@ - -
-
[% l('Welcome to [_1]', '{{current_location.name}}') %]
-
[% l('You checked in the following items:') %]
-
-
    -
  1. -
    {{checkin.title}}
    - [% l('Barcode: ') %] - {{checkin.copy_barcode}} - [% l('Call Number: ') %] - {{checkin.call_number.label || "[% l("Not Cataloged") %]"}} -
  2. -
-
-
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
-
+

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

Checkin Receipt

+
You returned the following items:
+
+
    +
    +
  1. {{checkin.title}}
    + Barcode: {{checkin.copy_barcode}}
    + Call Number: {{checkin.call_number.label || "Not Cataloged"}} +
  2. +
+
+
{{current_location.shortname}} {{today | date:'short'}}
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 327a05ea57..99fcb0b96a 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 @@ -1,28 +1,16 @@ - -
-
[% l('Welcome to [_1]', '{{current_location.name}}') %]
-
[% l('You checked out the following items:') %]
-
-
    -
  1. -
    {{checkout.title}}
    -
    [% l('Barcode: [_1] Due: [_2]', - '{{checkout.copy.barcode}}', - '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]
    -
  2. -
-
-
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
-
[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]
+

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

Checkout Receipt

+
You checked out the following items:

- +
    +
    +
  1. {{checkout.title}}
    + Barcode: {{checkout.copy.barcode}}
    + Due: {{checkout.circ.due_date | date:"M/d/yyyy"}} +
  2. +
    +
+
+
{{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 47be206f7a..c4dec31d32 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,15 +1,6 @@ - +

Hold Pull List

+Pull Date: {{today | date:'short'}} +
- - - - - - + + + + + + - - - - + + + + -
[% l('Type') %][% l('Title') %][% l('Author') %][% l('Shelf Location') %][% l('Call Number') %][% l('Barcode/Part') %]Shelf LocationCall NumberTitleAuthorBarcode/PartType
{{hold_data.hold.hold_type}}{{hold_data.title}}{{hold_data.author}}
{{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}}
+ \ No newline at end of file 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 375e9b90c5..2519cfeca3 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 @@ -1,52 +1,35 @@ - - - + +

Hold Shelf List

+List Date: {{today | date:'short'}} +
+ +
- - - - - - + + + + + - - + + {{hold_data.patron_last}}, {{hold_data.patron_first}} +
- -
[% l('Patron') %][% l('Type') %][% l('Title') %][% l('Author') %][% l('Call Number') %][% l('Barcode/Part') %]PatronTitleAuthorCall NumberBarcode/Part
- {{hold_data.patron_alias}} +
{{hold_data.patron_alias}} - [% l('[_1], [_2]', - '{{hold_data.patron_last}}', - '{{hold_data.patron_first}}') %] - - {{hold_data.hold.hold_type}} {{hold_data.title}} {{hold_data.author}} {{hold_data.volume.label}} {{hold_data.copy.barcode}} {{hold_data.part.label}}
+ \ No newline at end of file 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 c2433b2d0d..fadd09cf93 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 @@ -1,56 +1,31 @@ - -
-

{{patron.family_given_name}}
- {{patron.card.barcode}}

-
-
+

{{patron.family_name}}, {{patron.first_given_name}}

+Available on {{today | date:"M/d/yyyy"}} +
- [% l('This item needs to be routed to the [_1]Private Holds Shelf[_2].', - '','') %] + Private - Hold Behind Desk
- [% l('This item needs to be routed to the [_1]Public Holds Shelf[_2].', - '','') %] + Public Holds Shelf
-
-
- - [% l('Barcode: [_1]', '{{copy.barcode}}') %]
- [% l('Title: [_1]', '{{title}}') %]
- -
-
- -
[% l('Hold for patron [_1], [_2] [_3]', - '{{patron.family_name}}', - '{{patron.first_given_name}}', - '{{patron.second_given_name}}') %]
-
[% l('Barcode: [_1]', '{{patron.card.barcode}}') %]
-
[% l('Notify by phone: [_1]', '{{hold.phone_notify}}') %]
-
[% l('Notify by text: [_1]', '{{hold.sms_notify}}') %]
-
[% l('Notify by email: [_1]', '{{patron.email}}') %]
- -
- -
[% l('Request Date: [_1]', - '{{hold.request_time | date:$root.egDateAndTimeFormat}}') %]
-
[% l('Slip Date: [_1]', '{{today | date:$root.egDateAndTimeFormat}}') %]
-
[% l('Printed by [_1] at [_2]', - '{{staff.first_given_name}}', '{{current_location.shortname}}') %]
-
+
+ + + + + + + + + +
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}}
+
Notify by phone:  
+
Notify by text:
+
Notify by email:  
+
+
{{hold.phone_notify}}
+
{{hold.sms_notify}}
+
{{patron.email}}
+
+
+
{{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 d92c5a6ff9..1be140fa26 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 @@ -1,65 +1,15 @@ - -
-

{{dest_location.shortname}}

-
-
[% l('This item needs to be routed to [_1]', '{{dest_location.shortname}}') %]
-
{{dest_location.name}}
-
-
{{dest_address.street1}}
-
{{dest_address.street2}}
-
{{dest_address.city}}, - {{dest_address.state}} - {{dest_address.post_code}}
-
-
- [% l('We do not have a holds address for this library.') %] -
-
- - [% l('Barcode: [_1]', '{{copy.barcode}}') %]
- [% l('Title: [_1]', '{{title}}') %]
- [% l('Author: [_1]', '{{author}}') %] - -
- -
[% l('Hold for patron [_1], [_2] [_3]', - '{{patron.family_name}}', - '{{patron.first_given_name}}', - '{{patron.second_given_name}}') %]
-
[% l('Barcode: [_1]', '{{patron.card.barcode}}') %]
-
[% l('Notify by phone: [_1]', '{{hold.phone_notify}}') %]
-
[% l('Notify by text: [_1]', '{{hold.sms_notify}}') %]
-
[% l('Notify by email: [_1]', '{{patron.email}}') %]
- -
- -
[% l('Request Date: [_1]', - '{{hold.request_time | date:$root.egDateAndTimeFormat}}') %]
-
[% l('Slip Date: [_1]', '{{today | date:$root.egDateAndTimeFormat}}') %]
-
[% l('Printed by [_1] at [_2]', - '{{staff.first_given_name}}', '{{current_location.shortname}}') %]
- - +
___/___
+
{{dest_location.shortname}}
+
+
+
This item needs to be routed to:
+{{dest_location.name}}
+
+ + + + + +
Title:{{title}}
Author:{{author}}
Barcode:  {{copy.barcode}}
Request Date:  {{hold.request_time | date:"M/d/yyyy"}}
+
+
{{current_location.shortname}} {{today | date:'short'}}
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_patron.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_patron.tt2 index d48bb519fb..4860c1f97f 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_patron.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_holds_for_patron.tt2 @@ -1,22 +1,14 @@ - +

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

Current Holds

-
[% l('Welcome to [_1]', '{{current_location.name}}') %]
-
[% l('You have the following title on hold:') %]
-
+
You have the following title(s) on hold:
+
  1. -
    {{hold.title}}
    + {{hold.title}}
-
-
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
-
[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]
-
- +
+
{{current_location.shortname}} {{today | date:'short'}}
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_items_out.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_items_out.tt2 index 9d49e15c73..ee42a99e6f 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_items_out.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_items_out.tt2 @@ -1,28 +1,16 @@ - -
-
[% l('Welcome to [_1]', '{{current_location.name}}') %]
-
[% l('You have the following items:') %]
-
+
You have the following items checked out:
+
  1. -
    {{checkout.title}}
    -
    [% l('Barcode: [_1] Due: [_2]', - '{{checkout.copy.barcode}}', - '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]
    +
    {{checkout.title}}
    +
    Barcode: {{checkout.copy.barcode}}
    +
    Due: {{checkout.circ.due_date | date:"M/d/yyyy"}}
-
-
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
-
[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]
-
- +
+
{{current_location.shortname}} {{today | date:'short'}}
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_renew.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_renew.tt2 index 9d4510fda8..01bd0dd9a4 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_renew.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_renew.tt2 @@ -1,27 +1,15 @@ - -
-
[% l('Welcome to [_1]', '{{current_location.name}}') %]
-
[% l('You renewed the following items:') %]
-
+

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

Renewals

+
You renewed the following items:
+
  1. -
    {{renewal.title}}
    -
    [% l('Barcode: [_1] Due: [_2]', - '{{renewal.copy.barcode}}', - '{{renewal.circ.due_date | egDueDate:$root.egDateAndTimeFormat:renewal.circ.circ_lib:renewal.circ.duration}}') %]
    +
    {{renewal.title}}
    +
    Barcode: {{renewal.copy.barcode}}
    +
    New Due Date: {{renewal.circ.due_date | date:"M/d/yyyy"}}
-
-
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
-
[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]
-
- +
+
{{current_location.shortname}} {{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 d347c48d3e..3f233d1857 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,16 +13,11 @@ transits - list; each entry contains: * target_copy.call_number.record.simple_record.title -->
-
[% l('Transits:') %]
+
Transits:

  1. -
    [% l('From: [_1] To: [_2]
    When: [_3]
    Barcode: [_4] Title: [_5]', - '{{transit.source.shortname}}', - '{{transit.dest.shortname}}', - "{{transit.source_send_time | date:$root.egDateAndTimeFormat}}", - '{{transit.target_copy.barcode}}', - '{{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}}

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 0d8b88f10b..5e35a1da92 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 @@ -1,43 +1,14 @@ - -
-

{{dest_location.shortname}}

-
-
[% l('This item needs to be routed to [_1]', '{{dest_location.shortname}}') %]
-
{{dest_location.name}}
-
-
{{dest_address.street1}}
-
{{dest_address.street2}}
-
{{dest_address.city}}, - {{dest_address.state}} - {{dest_address.post_code}}
-
-
- [% l('We do not have a holds address for this library.') %] -
-
- - [% l('Barcode: [_1]', '{{copy.barcode}}') %]
- [% l('Title: [_1]', '{{title}}') %]
- [% l('Author: [_1]', '{{author}}') %]
- -
- -
[% l('Slip Date: [_1]', '{{today | date:$root.egDateAndTimeFormat}}') %]
-
[% l('Printed by [_1] at [_2]', - '{{staff.first_given_name}}', '{{current_location.shortname}}') %]
- -
+
___/___
+
{{dest_location.shortname}}
+
+
+
This item needs to be routed to:
+{{dest_location.name}}
+
+ + + + +
Title:{{title}}
Author:{{author}}
Barcode:  {{copy.barcode}}
+
+
{{current_location.shortname}} {{today | date:'short'}}