[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 3cb4c18e8d5b15a828234e77708b005757d68095
Evergreen Git
git at git.evergreen-ils.org
Wed Oct 23 09:40:28 EDT 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_3_3 has been updated
via 3cb4c18e8d5b15a828234e77708b005757d68095 (commit)
from b31b35ed486ce8b6723d97c454049444d52ff738 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3cb4c18e8d5b15a828234e77708b005757d68095
Author: Terran McCanna <tmccanna at georgialibraries.org>
Date: Thu Mar 7 12:55:46 2019 -0500
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 <tmccanna at georgialibraries.org>
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
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
-->
<div>
@@ -15,9 +16,9 @@ Template for printing offline checkout receipts; fields available include:
<hr/>
<ol>
<li ng-repeat="checkout in transactions">
- <div>[% l('Barcode: [_1] Due: [_2]',
- '{{checkout.barcode}}',
- '{{checkout.due_date | date:"short"}}') %]</div>
+ <div ng-if="checkout.barcode">[% l('Barcode:') %] {{checkout.barcode}}</div>
+ <div ng-if="!checkout.barcode">[% l('Non-cataloged Item') %] ({{checkout.noncat_count}})</div>
+ <div>[% l('Due Date:') %] {{checkout.due_date | date:"short"}}</div>
</li>
</ol>
<hr/>
-----------------------------------------------------------------------
Summary of changes:
.../templates/staff/share/print_templates/t_offline_checkout.tt2 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list