1 [% PROCESS "opac/parts/header.tt2";
2 PROCESS "opac/parts/misc_util.tt2";
3 WRAPPER "opac/parts/myopac/base.tt2";
6 <div id='myopac_summary_div' style="padding:0px;">
8 <div style="width:742px;float:left;">
9 <div class="header_middle">[% l('Account Summary') %]</div>
12 <!-- fines summary along the right of the page -->
13 [% IF myopac_main_page == "payment_form" OR (
14 !ctx.fines.circulation.size AND !ctx.fines.grocery.size
16 <div id="myopac_sum_fines_placehold"></div>
18 <div id="myopac_sum_fines">
19 <div style="position:absolute;">
20 <div style="position:relative;top:-15px;left:-23px;">
21 <img src="[% ctx.media_prefix %]/images/acct_sum_fines_tl.png" />
24 <div style="position:absolute;">
25 <div style="position:relative;top:-15px;left:172px;">
26 <img src="[% ctx.media_prefix %]/images/acct_sum_fines_tr.png" />
29 <div style="position:absolute;">
30 <div style="position:relative;top:161px;left:-23px;">
31 <img src="[% ctx.media_prefix %]/images/acct_sum_fines_bl.png" />
34 <div style="position:absolute;">
35 <div style="position:relative;top:161px;left:172px;">
36 <img src="[% ctx.media_prefix %]/images/acct_sum_fines_br.png" />
40 <span class='[% ctx.user_stats.fines.balance_owed ? "alert" : ""%]'>
41 [% money(ctx.user_stats.fines.balance_owed) %]
43 [% IF (ctx.fines.grocery.size OR ctx.fines.circulation.size) AND ctx.get_org_setting(ctx.user.home_ou, 'credit.payments.allow') == 1 %]
44 <form action="[% ctx.opac_root %]/myopac/main_payment_form" method="GET"><input
45 type="submit" title="[% l('Pay Fines') %]" alt="[% l('Pay Fines') %]"
46 value="[% l('Pay Fines') %]" class="pos-rel-top-5 opac-button" /></form>
51 <div style="width:662px;">
52 <div style="float:left;">
53 <div style="padding:10px 0px;">
54 [%- IF date.format(ctx.user.expire_date, '%s') < date.format(date.now , '%s');
55 fmt_expire_date = date.format(ctx.user.expire_date, DATE_FORMAT);
57 <span class="alert">[% l("Your library card expired on [_1]. Please contact a librarian to resolve this issue.", fmt_expire_date) %]</span>
60 <div class="acct_sum_row">
61 <table width="100%" cellspacing="0" cellpadding="0">
63 <td>[% l("Items Currently Checked out ([_1])", ctx.user_stats.checkouts.total_out) %]</td>
65 <a href="[% mkurl(ctx.opac_root _ '/myopac/circs') %]">[% l("View All") %]</a>
70 <div class="acct_sum_row">
71 <table width="100%" cellspacing="0" cellpadding="0">
73 <td>[% l('Items Currently on Hold ([_1])', ctx.user_stats.holds.total) %]</td>
75 <a href="[% mkurl(ctx.opac_root _ '/myopac/holds') %]">[% l('View All') %]</a>
80 <div class="acct_sum_row">
81 <table width="100%" cellspacing="0" cellpadding="0">
83 <td>[% l('Items ready for pickup ([_1])', ctx.user_stats.holds.ready) %]</td>
85 <a href="[% mkurl(ctx.opac_root _ '/myopac/holds', {available => 1}) %]">[% l('View All') %]</a>
93 <div class="clear-both"></div>
95 [% IF ctx.user.notes.0 %]
96 <table class="acct_notes">
97 <thead><th>[% l('Note title') %]</th><th>[% l('Content') %]</th></thead>
99 [% FOR note IN ctx.user.notes %]
100 <tr><td class='public-note-title'>[% note.title | html %]</td><td>[% note.value | html %]</td></tr>
106 <div id='fines_payments_wrapper'>
107 <div id='acct_fines_tabs'>
108 [% IF myopac_main_page == 'main' %]
109 <a href='#' class="acct-tab-on">[% l("Fines") %]</a>
110 <a href='[% mkurl(ctx.opac_root _ '/myopac/main_payments') %]' class="acct-tab-off">[% l("Payments") %]</a>
112 <a href='[% mkurl(ctx.opac_root _ '/myopac/main') %]' class="acct-tab-off">[% l("Fines") %]</a>
113 <a href='#' class="acct-tab-on">[% l("Payments") %]</a>