display printer icon if printing would be the default Quick Receipt action
authorGalen Charlton <gmc@esilibrary.com>
Mon, 8 Aug 2016 21:23:36 +0000 (17:23 -0400)
committerEquinox Support <esi@dev-test2.esilibrary.com>
Mon, 8 Aug 2016 21:23:36 +0000 (17:23 -0400)
Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2

index 6492621..8618419 100644 (file)
   </div>
   <div class="pad-horiz">
     <span ng-show="may_email_receipt()" class="glyphicon glyphicon-envelope" aria-label="[% l('Send Email Receipt') %]"></span>
+    <span ng-show="!may_email_receipt()" class="glyphicon glyphicon-print" aria-label="[% l('Print Receipt') %]"></span>
     <div class="btn-group" uib-dropdown>
       <button ng-click="print_or_email_receipt()" id="quick-button" type="button" ng-disabled="checkouts.length == 0" class="btn btn-default">[% l('Quick Receipt') %]</button>
       <button type="button" ng-disabled="checkouts.length == 0" class="btn btn-default" uib-dropdown-toggle>