From 3cb4c18e8d5b15a828234e77708b005757d68095 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Thu, 7 Mar 2019 12:55:46 -0500 Subject: [PATCH] LP#1806783 Offline: Non-cataloged item receipt printing When checkout out non-cataloged items in the offline interface, the receipt will now print 'Non-cataloged item' and the number of items rather than printing nothing. Signed-off-by: Terran McCanna Signed-off-by: Chris Sharp --- .../staff/share/print_templates/t_offline_checkout.tt2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 292e7b4131..dc2bd2755e 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 @@ -7,6 +7,7 @@ Template for printing offline checkout receipts; fields available include: * barcode * patron_barcode * due_date + * noncat_count -->
@@ -15,9 +16,9 @@ Template for printing offline checkout receipts; fields available include:
  1. -
    [% l('Barcode: [_1] Due: [_2]', - '{{checkout.barcode}}', - '{{checkout.due_date | date:"short"}}') %]
    +
    [% l('Barcode:') %] {{checkout.barcode}}
    +
    [% l('Non-cataloged Item') %] ({{checkout.noncat_count}})
    +
    [% l('Due Date:') %] {{checkout.due_date | date:"short"}}

-- 2.43.2