Skip to content

Instantly share code, notes, and snippets.

@remocrevo
Created February 9, 2018 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remocrevo/efd38d5b34c6303376225f485375adbc to your computer and use it in GitHub Desktop.
Save remocrevo/efd38d5b34c6303376225f485375adbc to your computer and use it in GitHub Desktop.
<div>Welcome to {{current_location.name}}</div>
<div>You have the following items checked out:</div>
<hr/>
<div ng-init="subtotal=0">
<ol>
<li ng-repeat="checkout in circulations">
<div>{{checkout.title}}</div>
<div>Barcode: {{checkout.copy.barcode}} </div>
<div>Due: {{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}</div>
<div>
Price: {{checkout.copy.price | currency}}
<div ng-init="subtotal+=checkout.copy.price">
</li>
</ol>
<hr/>
<div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
<div>You were helped by {{staff.first_given_name}}</div>
<BLOCKQUOTE>
<div style="width:150px;height:70px;padding:10px;border:2px solid black;" align="center">
<font size="4">
<b>You saved: {{subtotal | currency}}</b>
<br/> by using your
<br/> public library
</div>
</BLOCKQUOTE>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment