update location of PINES logo
authorChris Sharp <csharp@georgialibraries.org>
Mon, 21 Feb 2022 21:56:33 +0000 (16:56 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 20:10:37 +0000 (15:10 -0500)
Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2
Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2
Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2
Open-ILS/src/templates/staff/share/print_templates/t_checkin.tt2
Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2
Open-ILS/src/templates/staff/share/print_templates/t_holds_for_patron.tt2
Open-ILS/src/templates/staff/share/print_templates/t_items_out.tt2
Open-ILS/src/templates/staff/share/print_templates/t_renew.tt2

index 1020066..3efda80 100644 (file)
@@ -1,6 +1,7 @@
-<!--
-Template for bill payment receipts. Data specific to this template
-includes:
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Payment Receipt</h3>
 
 * patron - has several fields from the patron object, including a financial summary
 
index f3bf386..5e8ab14 100644 (file)
@@ -1,59 +1,10 @@
-<!--
-Template for printing a list of current bills. Data specific
-to this template includes:
-
-* today - Today's date and time
-* current_location - the current library
-    current_location.name - Current location's name
-    current_location.shortname - Current location's shortname
-* 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
-    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.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}}!<br/>
-You have the following bills:
-<hr/>
-<dl>
-  <div ng-repeat="xact in transactions">
-    <dt><b>Bill #{{xact.id}}</b></dt>
-    <dd>
-    <table>
-      <tr valign="top">
-        <td>[% l('Date:') %]</td>
-        <td>{{xact.xact_start | date:$root.egDateAndTimeFormat}}</td>
-      </tr>
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Current Bills</h3>
+<div ng-repeat="xact in transactions">
+    <br/>
+    <table> 
       <tr valign="top">
         <td>[% l('Type') %]:</td>
         <td>{{xact.summary.xact_type}}</td>
index b6baeff..28caaa0 100644 (file)
@@ -1,54 +1,9 @@
-<!--
-Template for printing a list of past bills. Data specific
-to this template includes:
-
-* today - Today's date and time
-* current_location - the current library
-    current_location.name - Current location's name
-    current_location.shortname - Current location's shortname
-* 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
-    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.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
-
--->
-[% l('Welcome to [_1]', '{{current_location.name}}') %]!<br/>
-[% l('You had the following bills:') %]
-<hr/>
-<dl>
-  <div ng-repeat="xact in transactions">
-    <dt><b>[% l('Bill #') %]{{xact.id}}</b></dt>
-    <dd>
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Bill History</h3>
+<div ng-repeat="xact in transactions">
+    <br/>
     <table> 
       <tr valign="top">
         <td>[% l('Billing Date:') %]</td>
index ee94ae6..7b4a11f 100644 (file)
@@ -1,29 +1,13 @@
-<!--
-Template for printing a checkin receipt. Data specific to this
-template includes:
-
-* checkins - list of checkins recorded during the session. Each
-  includes:
-
-  * title
-  * copy_barcode
-  * call_number.label
-
--->
-<div>
-  <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
-  <div>[% l('You checked in the following items:') %]</div>
-  <hr/>
-  <ol>
-    <li ng-repeat="checkin in checkins">
-      <div>{{checkin.title}}</div>
-      <span>[% l('Barcode: ') %]</span>
-      <span>{{checkin.copy_barcode}}</span>
-      <span>[% l('Call Number: ') %]</span>
-      <span>{{checkin.call_number.label || "[% l("Not Cataloged") %]"}}</span>
-    </li>
-  </ol>
-  <hr/>
-  <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
-  <br/>
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Checkin Receipt</h3>
+<div>You returned the following items:</div>
+<br/>
+<ol>
+<div ng-repeat="checkin in checkins">
+      <li><b>{{checkin.title}}</b><br/>
+      Barcode: {{checkin.copy_barcode}}<br/>
+      Call Number: {{checkin.call_number.label || "Not Cataloged"}}
+      </li>
 </div>
index 94f5bed..f348ccc 100644 (file)
@@ -1,52 +1,15 @@
-<!--
-Template for printing checkout receipts; fields available include:
-
-* patron - has several fields from the patron object, including a financial summary
-
-  * patron.prefix
-  * patron.first_given_name
-  * patron.second_given_name
-  * patron.family_name
-  * patron.suffix
-  * patron.pref_prefix
-  * patron.pref_first_given_name
-  * patron.pref_second_given_name
-  * patron.pref_family_name
-  * patron.pref_suffix
-  * patron.card.barcode
-  * patron.money_summary.balance_owed - current balance
-  * patron.money_summary.total_paid - payments made on outstanding fines/fees
-  * patron.money_summary.total_owed - total of outstanding fines/fees
-  * patron.expire_date
-  * patron.alias - aka Holds Alias
-  * patron.has_email - boolean value to show/hide elements on the receipt
-  * patron.has_phone - same as has_email
-  * patron.juvenile - boolean value (t/f) to show/hide elements on the receipt
-
-* circulations - list of loans made during this session. Each
-  checkout includes:
-
-  * checkout.title
-  * checkout.author
-  * checkout.circ.due_date
-  * checkout.circ.renewal_remaining
-  * checkout.copy.barcode
-  * checkout.copy.circ_modifier.name
-  * checkout.call_number.label
-  * checkout.call_number.owning_lib.name
-  * checkout.call_number.owning_lib.shortname
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Checkout Receipt</h3>
+<div>You checked out the following items:</div>
+<br/>
+<ol>
+<div ng-repeat="checkout in circulations">
+      <li><b>{{checkout.title}}</b><br/>
+      Barcode: {{checkout.copy.barcode}}<br/>
+      Due: {{checkout.circ.due_date | date:"M/d/yyyy"}}
 
--->
-<div>
-  <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
-  <div>[% l('You checked out the following items:') %]</div>
-  <hr/>
-  <ol>
-    <li ng-repeat="checkout in circulations">
-      <div>{{checkout.title}}</div>
-      <div>[% l('Barcode: [_1] Due: [_2]', 
-        '{{checkout.copy.barcode}}',
-        '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
     </li>
   </ol>
   <hr/>
index c8a2fb2..6a2eb03 100644 (file)
@@ -1,15 +1,7 @@
-<!--
-Template for printing a list of hold requests for a patron. Fields include:
-
-* patron - has several fields from the patron object, but does not include the financial summary
-* holds - a list of hold request, each of which includes
-  * hold - details about the hold
-  * copy - data for an item
-  * volume - data for a call number
-  * author
-  * title
-
--->
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Current Holds</h3>
 <div>
   <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
   <div>[% l('You have the following title on hold:') %]</div>
index 90948b7..a206bbf 100644 (file)
@@ -1,6 +1,7 @@
-<!--
-Template for printing a list of items that a patron has checked out.
-Fields include:
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Items Out</h3>
 
 * patron - has several fields from the patron object, including a financial summary
 
index c7587e7..3a39bbe 100644 (file)
@@ -1,26 +1,9 @@
-<!--
-Template for printing a renewal receipt. Fields include:
-
-* circulations - list of renewals made during the session, including
-  for each renewal:
-
-  * renewal.title
-  * renewal.author
-  * renewal.circ.due_date
-  * renewal.circ.renewal_remaining
-  * renewal.circ.circ_lib
-  * renewal.circ.duration
-  * renewal.copy.barcode
-  * renewal.copy.circ_modifier
-  * renewal.copy.call_number.label
-  * renewal.copy.call_number.owning_lib.name
-  * renewal.copy.call_number.owning_lib.shortname
-
--->
-<div>
-  <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
-  <div>[% l('You renewed the following items:') %]</div>
-  <hr/>
+<center><img src="https://gapines.org/images/pines_logo.jpg" style="width:150px;"><br/>
+<b>www.gapines.org</b><br/>
+<b>{{current_location.name}}</b></center>
+<h3>Renewals</h3>
+<div>You renewed the following items:</div>
+<br/>
   <ol>
     <li ng-repeat="renewal in circulations">
       <div>{{renewal.title}}</div>