|
Lines 48-53
use Koha::CsvProfiles;
Link Here
|
| 48 |
use Koha::Patrons; |
48 |
use Koha::Patrons; |
| 49 |
use Koha::DateUtils qw( dt_from_string ); |
49 |
use Koha::DateUtils qw( dt_from_string ); |
| 50 |
use Koha::Patron::Restriction::Types; |
50 |
use Koha::Patron::Restriction::Types; |
|
|
51 |
use Koha::Patron::Quotas; |
| 51 |
use Koha::Plugins; |
52 |
use Koha::Plugins; |
| 52 |
use Koha::Database; |
53 |
use Koha::Database; |
| 53 |
use Koha::BiblioFrameworks; |
54 |
use Koha::BiblioFrameworks; |
|
Lines 183-195
my $restoreduedatespec = $query->param('restoreduedatespec') || $duedatespec ||
Link Here
|
| 183 |
if ( $restoreduedatespec && $restoreduedatespec eq "highholds_empty" ) { |
184 |
if ( $restoreduedatespec && $restoreduedatespec eq "highholds_empty" ) { |
| 184 |
undef $restoreduedatespec; |
185 |
undef $restoreduedatespec; |
| 185 |
} |
186 |
} |
| 186 |
my $issueconfirmed = $query->param('issueconfirmed'); |
187 |
my $issueconfirmed = $query->param('issueconfirmed'); |
| 187 |
my $cancelreserve = $query->param('cancelreserve'); |
188 |
my $cancelreserve = $query->param('cancelreserve'); |
| 188 |
my $cancel_recall = $query->param('cancel_recall'); |
189 |
my $cancel_recall = $query->param('cancel_recall'); |
| 189 |
my $selected_quota_id = $query->param('selected_quota_id'); |
190 |
my $selected_quota_id = $query->param('selected_quota_id'); |
| 190 |
my $recall_id = $query->param('recall_id'); |
191 |
my $recall_id = $query->param('recall_id'); |
| 191 |
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice |
192 |
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice |
| 192 |
my $charges = $query->param('charges') || q{}; |
193 |
my $charges = $query->param('charges') || q{}; |
| 193 |
|
194 |
|
| 194 |
# Check if stickyduedate is turned off |
195 |
# Check if stickyduedate is turned off |
| 195 |
if (@$barcodes) { |
196 |
if (@$barcodes) { |
|
Lines 321-326
if ($patron) {
Link Here
|
| 321 |
$template->param( limited_category => 1 ); |
322 |
$template->param( limited_category => 1 ); |
| 322 |
} |
323 |
} |
| 323 |
|
324 |
|
|
|
325 |
# Add quota details |
| 326 |
my $quotas = $patron->all_quotas; |
| 327 |
$template->param( quotas => $quotas ); |
| 324 |
} |
328 |
} |
| 325 |
|
329 |
|
| 326 |
# |
330 |
# |
|
Lines 544-550
if ( @$barcodes && $op eq 'cud-checkout' ) {
Link Here
|
| 544 |
undef, undef, |
548 |
undef, undef, |
| 545 |
{ |
549 |
{ |
| 546 |
onsite_checkout => $onsite_checkout, auto_renew => $session->param('auto_renew'), |
550 |
onsite_checkout => $onsite_checkout, auto_renew => $session->param('auto_renew'), |
| 547 |
switch_onsite_checkout => $switch_onsite_checkout, cancel_recall => $cancel_recall, |
551 |
switch_onsite_checkout => $switch_onsite_checkout, cancel_recall => $cancel_recall, |
| 548 |
recall_id => $recall_id, selected_quota_id => $selected_quota_id, |
552 |
recall_id => $recall_id, selected_quota_id => $selected_quota_id, |
| 549 |
} |
553 |
} |
| 550 |
); |
554 |
); |