View | Details | Raw Unified | Return to bug 10446
Collapse All | Expand All

(-)a/circ/offline.pl (-2 / +2 lines)
Lines 36-41 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
36
36
37
$template->{'VARS'}->{'AllowOfflineCirculation'} =
37
$template->{'VARS'}->{'AllowOfflineCirculation'} =
38
  C4::Context->preference('AllowOfflineCirculation');
38
  C4::Context->preference('AllowOfflineCirculation');
39
$template->{'VARS'}->{'maxoutstanding'} =
39
$template->{'VARS'}->{'FeesBlockHoldsAmount'} =
40
  C4::Context->preference('maxoutstanding') || 0;
40
  C4::Context->preference('FeesBlockHoldsAmount') || 0;
41
output_html_with_http_headers $query, $cookie, $template->output;
41
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt (-2 / +1 lines)
Lines 339-345 function checkPatronAlerts(cardnumber, patron) { Link Here
339
        if (new Date(patron.dateexpiry) < new Date()) {
339
        if (new Date(patron.dateexpiry) < new Date()) {
340
            alerts.push(ALERT_PATRON_EXPIRED.format($.datepicker.formatDate(dateformat, new Date(patron.dateexpiry))));
340
            alerts.push(ALERT_PATRON_EXPIRED.format($.datepicker.formatDate(dateformat, new Date(patron.dateexpiry))));
341
        }
341
        }
342
        if (parseInt(patron.fine) > [% maxoutstanding %]) {
342
        if (parseInt(patron.fine) > [% FeesBlockHoldsAmount %]) {
343
            alerts.push(ALERT_PATRON_FINE_OVER_LIMIT.format(patron.fine));
343
            alerts.push(ALERT_PATRON_FINE_OVER_LIMIT.format(patron.fine));
344
        } else if (parseInt(patron.fine) > 0) {
344
        } else if (parseInt(patron.fine) > 0) {
345
            alerts.push(ALERT_PATRON_FINE.format(patron.fine));
345
            alerts.push(ALERT_PATRON_FINE.format(patron.fine));
346
- 

Return to bug 10446