- Get rid of subroutine I didn't end up using
- Make sure a user is logged in before showing the renewal form.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
href="/eg/opac/renew-account"><i class="fas fa-user-cog"></i>Click here to renew your account</a></span>';
}
- return;
-}
-
-# PINES - if account is eligible to renew, pass patron data to vendor to populate form
-sub load_renew_account {
- return;
+ return 1;
}
1;
#TERRAN - dump out all incoming stuff from form
$logger->error("TERRAN - all incoming params: $msg");
-
}
sub handle_testmode_api {
ctx.page_title = l("Renew Your Library Card");
%]
+[% IF ctx.user %]
<!-- eCARD scripts here -->
<script id="eRenewServer" src="https://ecard.quipugroup.net/js/eRenewEmbed.js"></script>
<script>loadQGeRenew(48)</script>
-
<h2 class="sr-only">[% l('Renew Your Library Card') %]</h2>
<div id="content-wrapper">
<div class="common-full-pad"></div>
</div>
</div>
+[% END %]
[%- END %]