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

(-)a/circ/circulation.pl (-6 / +10 lines)
Lines 49-54 use Koha::CsvProfiles; Link Here
49
use Koha::Patrons;
49
use Koha::Patrons;
50
use Koha::DateUtils qw( dt_from_string );
50
use Koha::DateUtils qw( dt_from_string );
51
use Koha::Patron::Restriction::Types;
51
use Koha::Patron::Restriction::Types;
52
use Koha::Patron::Quotas;
52
use Koha::Plugins;
53
use Koha::Plugins;
53
use Koha::Database;
54
use Koha::Database;
54
use Koha::BiblioFrameworks;
55
use Koha::BiblioFrameworks;
Lines 184-196 my $restoreduedatespec = $query->param('restoreduedatespec') || $duedatespec || Link Here
184
if ( $restoreduedatespec && $restoreduedatespec eq "highholds_empty" ) {
185
if ( $restoreduedatespec && $restoreduedatespec eq "highholds_empty" ) {
185
    undef $restoreduedatespec;
186
    undef $restoreduedatespec;
186
}
187
}
187
my $issueconfirmed = $query->param('issueconfirmed');
188
my $issueconfirmed    = $query->param('issueconfirmed');
188
my $cancelreserve  = $query->param('cancelreserve');
189
my $cancelreserve     = $query->param('cancelreserve');
189
my $cancel_recall  = $query->param('cancel_recall');
190
my $cancel_recall     = $query->param('cancel_recall');
190
my $selected_quota_id = $query->param('selected_quota_id');
191
my $selected_quota_id = $query->param('selected_quota_id');
191
my $recall_id      = $query->param('recall_id');
192
my $recall_id         = $query->param('recall_id');
192
my $debt_confirmed = $query->param('debt_confirmed') || 0;     # Don't show the debt error dialog twice
193
my $debt_confirmed    = $query->param('debt_confirmed') || 0;     # Don't show the debt error dialog twice
193
my $charges        = $query->param('charges')        || q{};
194
my $charges           = $query->param('charges')        || q{};
194
195
195
# Check if stickyduedate is turned off
196
# Check if stickyduedate is turned off
196
if (@$barcodes) {
197
if (@$barcodes) {
Lines 322-327 if ($patron) { Link Here
322
        $template->param( limited_category => 1 );
323
        $template->param( limited_category => 1 );
323
    }
324
    }
324
325
326
    # Add quota details
327
    my $quotas = $patron->all_quotas;
328
    $template->param( quotas => $quotas );
325
}
329
}
326
330
327
#
331
#
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-1 / +14 lines)
Lines 179-184 Link Here
179
    </ul>
179
    </ul>
180
[% END # /F ( has_modifications || warndeparture... %]
180
[% END # /F ( has_modifications || warndeparture... %]
181
181
182
[% IF quotas %]
183
    <div id="quota" class="circmessage">
184
        <h4>Quota details</h4>
185
        <ul>
186
            [% FOREACH quota IN quotas %]
187
                <li
188
                    >[% IF quota.patron_id != issue.borrowernumber %][% INCLUDE 'patron-title.inc' patron = quota.patron no_cardnumber = 1 %] -[% END %][% quota.description | html %] : [% quota.used | html %] /
189
                    [% quota.allocation | html %]</li
190
                >
191
            [% END %]
192
        </ul>
193
    </div>
194
[% END %]
195
182
[% IF waiting_recalls.count %]
196
[% IF waiting_recalls.count %]
183
    <div id="recallswaiting" class="circmessage">
197
    <div id="recallswaiting" class="circmessage">
184
        [% SET waiting_here = 0 %]
198
        [% SET waiting_here = 0 %]
185
- 

Return to bug 38924