User Tools

Site Tools


admin:workstations:receipt-content

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
circ:workstations:receipt-content [2018/02/01 19:39] tmccannaadmin:workstations:receipt-content [2022/09/08 16:46] (current) – [Hold Shelf Slip] tmccanna
Line 8: Line 8:
 |<nowiki>{{current_location.email}}</nowiki>|Current library's email address|  |<nowiki>{{current_location.email}}</nowiki>|Current library's email address| 
 |<nowiki>{{current_location.phone}}</nowiki>|Current library's phone number|  |<nowiki>{{current_location.phone}}</nowiki>|Current library's phone number| 
 +|<nowiki>{{includes.alert_text}}</nowiki>|Includes: Alert Text|
 +|<nowiki>{{includes.event_text}}</nowiki>|Includes: Event Text|
 +|<nowiki>{{includes.footer_text}}</nowiki>|Includes: Footer Text|
 +|<nowiki>{{includes.header_text}}</nowiki>|Includes: Header Text|
 +|<nowiki>{{includes.notice_text}}</nowiki>|Includes: Notice Text|
 |<nowiki>{{today}}</nowiki>  |Today's time and date - raw data|  |<nowiki>{{today}}</nowiki>  |Today's time and date - raw data| 
 |<nowiki>{{today|date:'short'}}</nowiki>  |Readable time and date: 8/1/17 10:18 AM  | |<nowiki>{{today|date:'short'}}</nowiki>  |Readable time and date: 8/1/17 10:18 AM  |
Line 15: Line 20:
 See also: [[https://docs.angularjs.org/api/ng/filter/date|https://docs.angularjs.org/api/ng/filter/date]] See also: [[https://docs.angularjs.org/api/ng/filter/date|https://docs.angularjs.org/api/ng/filter/date]]
  
-<note tip>For each print template below, the sections that say "Inside ng-repeat loop" indicates that the tag must appear inside the ng-repeat section of the print template and it will only work per item or per bill.</note>+<note tip>For each print template below, the sections that say "Inside ng-repeat loop" indicate that the tag must appear inside the ng-repeat section of the print template and it will only work per item or per bill.</note>
  
 ===== Bills, Current ===== ===== Bills, Current =====
Line 36: Line 41:
 ===== Bills, Historical ===== ===== Bills, Historical =====
 ^Tag (Inside ng-repeat loop)^Notes  ^Tag (Inside ng-repeat loop)^Notes 
-|<nowiki>{{xact.summary.balance_owed}}</nowiki>|Balance remaining|  
-|<nowiki>{{xact.copy_barcode}}</nowiki>|Barcode|  
 |<nowiki>{{xact.id}}</nowiki>|Bill ID|  |<nowiki>{{xact.id}}</nowiki>|Bill ID| 
-|<nowiki>{{xact.xact_start}}</nowiki>|Bill start date+|<nowiki>{{xact.title}}</nowiki>|Title|  
 +|<nowiki>{{xact.copy_barcode}}</nowiki>|Barcode|  
 +|<nowiki>{{xact.summary.balance_owed}}</nowiki>|Balance remaining
 |<nowiki>{{xact.summary.xact_type}}</nowiki>|Bill type (circulation vs. grocery)|  |<nowiki>{{xact.summary.xact_type}}</nowiki>|Bill type (circulation vs. grocery)| 
 |<nowiki>{{xact.summary.last_billing_type}}</nowiki>|Last billing type|  |<nowiki>{{xact.summary.last_billing_type}}</nowiki>|Last billing type| 
 |<nowiki>{{xact.summary.total_owed}}</nowiki>|Total billed|  |<nowiki>{{xact.summary.total_owed}}</nowiki>|Total billed| 
 |<nowiki>{{xact.summary.total_paid|currency}}</nowiki>|Total paid| |<nowiki>{{xact.summary.total_paid|currency}}</nowiki>|Total paid|
 +|<nowiki>{{xact.xact_start}}</nowiki>|Billing Start Date and Time|
 +|<nowiki>{{xact.xact_finish}}</nowiki>|Billing Finish Date and Time|
 |<nowiki>{{xact.summary.last_billing_note}}</nowiki>|Last billing note|  |<nowiki>{{xact.summary.last_billing_note}}</nowiki>|Last billing note| 
 |<nowiki>{{xact.summary.last_billing_type}}</nowiki>|Last billing type|  |<nowiki>{{xact.summary.last_billing_type}}</nowiki>|Last billing type| 
 |<nowiki>{{xact.summary.last_payment_note}}</nowiki>|Last payment note|  |<nowiki>{{xact.summary.last_payment_note}}</nowiki>|Last payment note| 
 |<nowiki>{{xact.summary.last_payment_type}}</nowiki>|Last payment type|  |<nowiki>{{xact.summary.last_payment_type}}</nowiki>|Last payment type| 
-|<nowiki>{{xact.title}}</nowiki>|Title|  
 |<nowiki>{{xact.summary.total_owed}}</nowiki>|Total billed|  |<nowiki>{{xact.summary.total_owed}}</nowiki>|Total billed| 
 |<nowiki>{{xact.summary.total_paid}}</nowiki>|Total paid|  |<nowiki>{{xact.summary.total_paid}}</nowiki>|Total paid| 
Line 55: Line 61:
  
 ^Tag^Notes  | ^Tag^Notes  |
-|<nowiki>{{payment_applied}}</nowiki>|Amount paid+|<nowiki>{{patron.first_given_name}}</nowiki>|Patron First Name| 
-|<nowiki>{{amount_voided}}</nowiki>|Amount voided+|<nowiki>{{patron.second_given_name}}</nowiki>|Patron Middle Name| 
-|<nowiki>{{change_given}}</nowiki>|Change given|+|<nowiki>{{patron.family_name}}</nowiki>|Patron Last Name| 
 +|<nowiki>{{patron.suffix}}</nowiki>|Patron Name Suffix| 
 +|<nowiki>{{patron.card.barcode}}</nowiki>|Patron Barcode| 
 +|<nowiki>{{patron.expire_date}}</nowiki>|Account Expiration Date| 
 +|<nowiki>{{patron.alias}}</nowiki>|Alias| 
 +|<nowiki>{{patron.has_email}}</nowiki>|Has email? (true or false)| 
 +|<nowiki>{{patron.has_phone}}</nowiki>|Has phone? (true or false)| 
 +|<nowiki>{{payment_applied}}</nowiki>|Payment amount applied to bills
 +|<nowiki>{{payment_total}}</nowiki>|Payment total (if using this, also use change_given)
 +|<nowiki>{{change_given}}</nowiki>|Change given (if using this, also use payment_total)|
 |<nowiki>{{payment_note}}</nowiki>|Payment note| |<nowiki>{{payment_note}}</nowiki>|Payment note|
 |<nowiki>{{payment_type}}</nowiki>|Payment type| |<nowiki>{{payment_type}}</nowiki>|Payment type|
 +|<nowiki>{{amount_voided}}</nowiki>|Amount voided|
 |<nowiki><div ng-switch="payment_type"> |<nowiki><div ng-switch="payment_type">
 <div ng-switch-when="cash_payment">Cash</div><div ng-switch-when="check_payment">Check</div> <div ng-switch-when="cash_payment">Cash</div><div ng-switch-when="check_payment">Check</div>
Line 67: Line 83:
 <div ng-switch-when="forgive_payment">Forgive</div> <div ng-switch-when="forgive_payment">Forgive</div>
 <div ng-switch-when="goods_payment">Goods</div></div></nowiki>|Payment type better display| <div ng-switch-when="goods_payment">Goods</div></div></nowiki>|Payment type better display|
 +|<nowiki>{{approval_code}}</nowiki>|Credit card approval code (after 3.8 upgrade)|
 |<nowiki>{{previous_balance}}</nowiki>|Previous balance| |<nowiki>{{previous_balance}}</nowiki>|Previous balance|
 |<nowiki>{{new_balance}}</nowiki>|Remaining balance| |<nowiki>{{new_balance}}</nowiki>|Remaining balance|
Line 83: Line 100:
 |<nowiki>{{checkin.copy_barcode}}</nowiki>|Barcode|  |<nowiki>{{checkin.copy_barcode}}</nowiki>|Barcode| 
 |<nowiki>{{checkin.call_number.label||"Not Cataloged"}}</nowiki>|Call Number (if no call number, displays "Not Cataloged")| |<nowiki>{{checkin.call_number.label||"Not Cataloged"}}</nowiki>|Call Number (if no call number, displays "Not Cataloged")|
 +|<nowiki>{{checkout.call_number.record}}</nowiki>|Database ID|
 |<nowiki>{{checkin.title}}</nowiki>|Title|  |<nowiki>{{checkin.title}}</nowiki>|Title| 
  
 ===== Checkout ===== ===== Checkout =====
 +
 +^Tag ^Notes |
 +|<nowiki>{{patron.first_given_name}}</nowiki>|Patron First Name|
 +|<nowiki>{{patron.second_given_name}}</nowiki>|Patron Middle Name|
 +|<nowiki>{{patron.family_name}}</nowiki>|Patron Last Name|
 +|<nowiki>{{patron.suffix}}</nowiki>|Patron Name Suffix|
 +|<nowiki>{{patron.card.barcode}}</nowiki>|Patron Barcode|
 +|<nowiki>{{patron.expire_date}}</nowiki>|Account Expiration Date|
 +|<nowiki>{{patron.money_summary.balance_owed}}</nowiki>|Amount Owed|
 +|<nowiki>{{patron.alias}}</nowiki>|Alias|
 +|<nowiki>{{patron.has_email}}</nowiki>|Has email? (true or false)|
 +|<nowiki>{{patron.has_phone}}</nowiki>|Has phone? (true or false)|
  
 ^Tag (Inside ng-repeat loop)^Notes  | ^Tag (Inside ng-repeat loop)^Notes  |
-|<nowiki>{{patron_money.balance_owed}}</nowiki>|Amount Owed| 
 |<nowiki>{{checkout.author}}</nowiki>|Author| |<nowiki>{{checkout.author}}</nowiki>|Author|
 |<nowiki>{{checkout.copy_barcode}}</nowiki>|Barcode| |<nowiki>{{checkout.copy_barcode}}</nowiki>|Barcode|
 |<nowiki>{{checkout.call_number.label}}</nowiki>|Call Number| |<nowiki>{{checkout.call_number.label}}</nowiki>|Call Number|
 +|<nowiki>{{checkout.copy.circ_modifier}}</nowiki>|Circulation Modifier|
 +|<nowiki>{{checkout.call_number.record}}</nowiki>|Database ID|
 |<nowiki>{{checkout.circ.due_date}}</nowiki>|Due Date| |<nowiki>{{checkout.circ.due_date}}</nowiki>|Due Date|
 +|<nowiki>{{checkout.call_number.owning_lib.name}}</nowiki>|Owning Library Full Name|
 +|<nowiki>{{checkout.call_number.owning_lib.shortname}}</nowiki>|Owning Library Short (Policy) Name|
 |<nowiki>{{checkout.copy.price}}</nowiki>|Price| |<nowiki>{{checkout.copy.price}}</nowiki>|Price|
 |<nowiki>{{checkout.title}}</nowiki>|Title| |<nowiki>{{checkout.title}}</nowiki>|Title|
 +
  
 ===== Hold Pull List ===== ===== Hold Pull List =====
Line 111: Line 145:
 ^Tag  ^Notes  ^Tag  ^Notes 
 |<nowiki>{{call_number.label}}</nowiki>|Call Number|  |<nowiki>{{call_number.label}}</nowiki>|Call Number| 
-|<nowiki>{{today}}</nowiki>|Hold available date| +|<nowiki>{{hold.shelf_time | date:'M/d/yyyy'}}</nowiki>|Hold available date| 
 |<nowiki><div ng-switch on="hold.behind_desk"></nowiki><nowiki><div ng-switch-when="t"></nowiki><nowiki><strong>Private - Hold Behind Desk</strong></nowiki><nowiki></div></nowiki><nowiki><div ng-switch-when="f"></nowiki><nowiki><strong>Public Holds Shelf</strong></nowiki><nowiki></div></nowiki><nowiki></div></nowiki>|Hold location (Hold behind desk or public holds shelf)|  |<nowiki><div ng-switch on="hold.behind_desk"></nowiki><nowiki><div ng-switch-when="t"></nowiki><nowiki><strong>Private - Hold Behind Desk</strong></nowiki><nowiki></div></nowiki><nowiki><div ng-switch-when="f"></nowiki><nowiki><strong>Public Holds Shelf</strong></nowiki><nowiki></div></nowiki><nowiki></div></nowiki>|Hold location (Hold behind desk or public holds shelf)| 
-|<nowiki><ol></nowiki><nowiki><li ng-repeat="note in hold_notes|filter: {slip : 't'}"></nowiki><nowiki><strong>{{note.title}}</strong><br/></nowiki><nowiki>{{note.body}}</li></nowiki><nowiki></ol></nowiki>|Hold Notes|+|<nowiki><ol></nowiki><nowiki><li ng-repeat="note in hold_notes|filter: {slip : 't'}"></nowiki><nowiki><strong>{{note.title}}</strong><br/></nowiki><nowiki>{{note.body}}</li></nowiki><nowiki></ol></nowiki>|Hold notes|
 |<nowiki>{{hold.request_time | date:'M/d/yyyy'}}</nowiki>|Hold request date|  |<nowiki>{{hold.request_time | date:'M/d/yyyy'}}</nowiki>|Hold request date| 
 |<nowiki>{{hold.shelf_expire_time | date:'M/d/yyyy'}}</nowiki>|Hold shelf expire date| |<nowiki>{{hold.shelf_expire_time | date:'M/d/yyyy'}}</nowiki>|Hold shelf expire date|
Line 125: Line 159:
 |<nowiki>{{patron.email}}</nowiki>|Patron email address|  |<nowiki>{{patron.email}}</nowiki>|Patron email address| 
 |<nowiki>{{patron.first_given_name}}</nowiki>|Patron first name|  |<nowiki>{{patron.first_given_name}}</nowiki>|Patron first name| 
-|<nowiki>{{patron.family_name}}</nowiki>|Patron last Name|  
 |<nowiki>{{patron.second_given_name}}</nowiki>|Patron middle name|  |<nowiki>{{patron.second_given_name}}</nowiki>|Patron middle name| 
 +|<nowiki>{{patron.family_name}}</nowiki>|Patron last name| 
 +|<nowiki>{{patron.pref_first_given_name}}</nowiki>|Preferred first name|
 +|<nowiki>{{patron.pref_second_given_name}}</nowiki>|Preferred middle name|
 +|<nowiki>{{patron.pref_family_name}}</nowiki>|Preferred last name|
 +|<nowiki>{{patron.alias}}</nowiki>|Patron alias|
  
  
Line 146: Line 184:
 |<nowiki>{{copy.barcode}}</nowiki>|Item barcode| |<nowiki>{{copy.barcode}}</nowiki>|Item barcode|
 |<nowiki>{{title}}</nowiki>|Item title| |<nowiki>{{title}}</nowiki>|Item title|
-|<nowiki>{{hold.email_notify}}</nowiki>|Notification email address|+|<nowiki>{{hold.email_notify}}</nowiki>|Notification email (t or f)| 
 +|<nowiki>{{patron.email}}</nowiki>|Notification email address|
 |<nowiki>{{hold.phone_notify}}</nowiki>|Notification phone number| |<nowiki>{{hold.phone_notify}}</nowiki>|Notification phone number|
 |<nowiki>{{hold.sms_notify}}</nowiki>|Notification SMS text number| |<nowiki>{{hold.sms_notify}}</nowiki>|Notification SMS text number|
 |<nowiki>{{patron.card.barcode}}</nowiki>|Patron barcode| |<nowiki>{{patron.card.barcode}}</nowiki>|Patron barcode|
 |<nowiki>{{patron.first_given_name}}</nowiki>|Patron first name| |<nowiki>{{patron.first_given_name}}</nowiki>|Patron first name|
-|<nowiki>{{patron.family_name}}</nowiki>|Patron last Name|+|<nowiki>{{patron.family_name}}</nowiki>|Patron last name|
 |<nowiki>{{patron.second_given_name}}</nowiki>|Patron middle name| |<nowiki>{{patron.second_given_name}}</nowiki>|Patron middle name|
  
Line 193: Line 232:
  
 ===== Items Out ===== ===== Items Out =====
 +
 +^Tag  ^Notes  |
 +|<nowiki>{{patron.first_given_name}}</nowiki>|Patron first name|
 +|<nowiki>{{patron.second_given_name}}</nowiki>|Patron middle name|
 +|<nowiki>{{patron.family_name}}</nowiki>|Patron last name|
 +|<nowiki>{{patron.suffix}}</nowiki>|Patron name suffix|
 +|<nowiki>{{patron.card.barcode}}</nowiki>|Patron barcode|
 +|<nowiki>{{patron.expire_date}}</nowiki>|Account expiration date|
 +|<nowiki>{{patron.money_summary.balance_owed}}</nowiki>|Amount owed|
 +|<nowiki>{{patron.alias}}</nowiki>|Alias|
 +|<nowiki>{{patron.has_email}}</nowiki>|Has email? (true or false)|
 +|<nowiki>{{patron.has_phone}}</nowiki>|Has phone? (true or false)|
  
 ^Tag (Inside ng-repeat loop)  ^Notes  | ^Tag (Inside ng-repeat loop)  ^Notes  |
 |<nowiki>{{checkout.copy.barcode}}</nowiki>|Barcode| |<nowiki>{{checkout.copy.barcode}}</nowiki>|Barcode|
 +|<nowiki>{{checkout.copy.circ_modifier}}</nowiki>|Circulation modifier|
 +|<nowiki>{{checkout.copy.call_number.record.id}}</nowiki>|Database ID|
 |<nowiki>{{checkout.circ.due_date}}</nowiki>|Due date| |<nowiki>{{checkout.circ.due_date}}</nowiki>|Due date|
 +|<nowiki>{{checkout.copy.price}}</nowiki>|Item price|
 +|<nowiki>{{checkout.copy.call_number.owning_lib.name}}</nowiki>|Owning library full name|
 +|<nowiki>{{checkout.copy.call_number.owning_lib.shortname}}</nowiki>|Owning library short (policy) name|
 |<nowiki>{{checkout.title}}</nowiki>|Title| |<nowiki>{{checkout.title}}</nowiki>|Title|
  
Line 210: Line 266:
 |<nowiki>{{address.state}}</nowiki>|State| |<nowiki>{{address.state}}</nowiki>|State|
 |<nowiki>{{address.post_code}}</nowiki>|Zip code| |<nowiki>{{address.post_code}}</nowiki>|Zip code|
 +
 +===== Patron Data =====
 +
 +^Tag  ^Notes  |
 +|<nowiki>{{patron.prefix}}</nowiki>|Patron name prefix|
 +|<nowiki>{{patron.first_given_name}}</nowiki>|Patron first name|
 +|<nowiki>{{patron.second_given_name}}</nowiki>|Patron middle name|
 +|<nowiki>{{patron.family_name}}</nowiki>|Patron last name|
 +|<nowiki>{{patron.suffix}}</nowiki>|Patron name suffix|
 +|<nowiki>{{patron.card.barcode}}</nowiki>|Patron barcode|
 +|<nowiki>{{patron.usrname}}</nowiki>|Patron user name|
 +|<nowiki>{{patron.alias}}</nowiki>|Patron holds alias|
 +|<nowiki>{{patron.dob | date:'M/d/yyyy'}}</nowiki>|Date of birth (formatted)|
 +|<nowiki>{{patron.juvenile}}</nowiki>|Is patron juvenile? (t or f)|
 +|<nowiki>{{patron.ident_type.name()}}</nowiki>|Primary identification type|
 +|<nowiki>{{patron.ident_value}}</nowiki>|Primary identification value|
 +|<nowiki>{{patron.guardian}}</nowiki>|Parent/guardian|
 +|<nowiki>{{patron.email}}</nowiki>|Email address|
 +|<nowiki>{{patron.day_phone}}</nowiki>|Main/day phone number|
 +|<nowiki>{{patron.evening_phone}}</nowiki>|Evening phone number|
 +|<nowiki>{{patron.other_phone}}</nowiki>|Other phone number|
 +|<nowiki>{{patron.home_ou.name()}}</nowiki>|Home library|
 +|<nowiki>{{patron.profile.name()}}</nowiki>|Permission group (profile type)|
 +|<nowiki>{{patron.expire_date | date:'M/d/yyyy'}}</nowiki>|Expiration date (formatted)|
 +|<nowiki>{{patron.master_account}}</nowiki>|Is group lead account? (t or f)|
 +|<nowiki>{{patron.claims_returned_count}}</nowiki>|Claims returned count|
 +|<nowiki>{{patron.net_access_level.name()}}</nowiki>|Internet access level|
 +|<nowiki>{{patron.alert_message}}</nowiki>|Alert message|
 +
 +^Tags in repeatable address block  ^Notes  |
 +|<nowiki>{{address.address_type}}</nowiki>|Address type|
 +|<nowiki>{{address.street1}}</nowiki>|Street address 1|
 +|<nowiki>{{address.street2}}</nowiki>|Street address 2|
 +|<nowiki>{{address.city}}</nowiki>|City|
 +|<nowiki>{{address.state}}</nowiki>|State|
 +|<nowiki>{{address.post_code}}</nowiki>|Zip code|
 +|<nowiki>{{address.county}}</nowiki>|County|
 +|<nowiki>{{address.country}}</nowiki>|Country|
 +|<nowiki>{{address.valid}}</nowiki>|Is address valid? (t or f)|
 +|<nowiki>{{address.within_city_limits}}</nowiki>|Is address within city limits? (t or f)|
 +
 +^Tags in repeatable stat cats block  ^Notes  |
 +
 +|<nowiki>{{entry.stat_cat.name}}</nowiki>|Stat cat name|
 +|<nowiki>{{entry.stat_cat_entry}}</nowiki>|Stat cat value|
 +
  
 ===== Patron Note ===== ===== Patron Note =====
Line 251: Line 353:
 |<nowiki>{{author}}</nowiki>|Item author| |<nowiki>{{author}}</nowiki>|Item author|
 |<nowiki>{{copy.barcode}}</nowiki>|Item barcode| |<nowiki>{{copy.barcode}}</nowiki>|Item barcode|
-|<nowiki>{{title}}</nowiki>|Item titl+|<nowiki>{{title}}</nowiki>|Item title| 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
  
  
admin/workstations/receipt-content.1517513947.txt.gz · Last modified: 2018/10/11 20:15 (external edit)