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

(-)a/circ/circulation.pl (+5 lines)
Lines 128-133 my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( Link Here
128
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
128
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
129
    }
129
    }
130
);
130
);
131
my $logged_in_user = Koha::Patrons->find( $loggedinuser ) or die "Not logged in";
131
132
132
my $force_allow_issue = $query->param('forceallow') || 0;
133
my $force_allow_issue = $query->param('forceallow') || 0;
133
if (!C4::Auth::haspermission( C4::Context->userenv->{id} , { circulate => 'force_checkout' } )) {
134
if (!C4::Auth::haspermission( C4::Context->userenv->{id} , { circulate => 'force_checkout' } )) {
Lines 262-267 if ($findborrower) { Link Here
262
# get the borrower information.....
263
# get the borrower information.....
263
$patron ||= Koha::Patrons->find( $borrowernumber ) if $borrowernumber;
264
$patron ||= Koha::Patrons->find( $borrowernumber ) if $borrowernumber;
264
if ($patron) {
265
if ($patron) {
266
267
    $template->param( borrowernumber => $patron->borrowernumber );
268
    output_and_exit_if_error( $query, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } );
269
265
    my $overdues = $patron->get_overdues;
270
    my $overdues = $patron->get_overdues;
266
    my $issues = $patron->checkouts;
271
    my $issues = $patron->checkouts;
267
    my $balance = $patron->account->balance;
272
    my $balance = $patron->account->balance;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +1 lines)
Lines 152-158 $(document).ready(function() { Link Here
152
	<div class="yui-b">
152
	<div class="yui-b">
153
[% END %]
153
[% END %]
154
154
155
[% IF borrowernumber and borrower %]
155
[% IF borrowernumber %]
156
[% INCLUDE 'members-toolbar.inc' %]
156
[% INCLUDE 'members-toolbar.inc' %]
157
[% END %]
157
[% END %]
158
158
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-2 / +1 lines)
Lines 34-40 Link Here
34
34
35
<div class="yui-g">
35
<div class="yui-g">
36
36
37
[% IF borrowernumber and borrower %]
37
[% IF borrowernumber %]
38
[% INCLUDE 'members-toolbar.inc' %]
38
[% INCLUDE 'members-toolbar.inc' %]
39
[% END %]
39
[% END %]
40
40
41
- 

Return to bug 18403