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
if ($borrowernumber) {
264
if ($borrowernumber) {
264
    $patron = Koha::Patrons->find( $borrowernumber );
265
    $patron = Koha::Patrons->find( $borrowernumber );
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 145-151 $(document).ready(function() { Link Here
145
	<div class="yui-b">
145
	<div class="yui-b">
146
[% END %]
146
[% END %]
147
147
148
[% IF borrowernumber and borrower %]
148
[% IF borrowernumber %]
149
[% INCLUDE 'members-toolbar.inc' %]
149
[% INCLUDE 'members-toolbar.inc' %]
150
[% END %]
150
[% END %]
151
151
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-2 / +1 lines)
Lines 57-63 $(document).ready(function() { Link Here
57
57
58
<div class="yui-g">
58
<div class="yui-g">
59
59
60
[% IF borrowernumber and borrower %]
60
[% IF borrowernumber %]
61
[% INCLUDE 'members-toolbar.inc' %]
61
[% INCLUDE 'members-toolbar.inc' %]
62
[% END %]
62
[% END %]
63
63
64
- 

Return to bug 18403