|
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 |
# |