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

(-)a/circ/circulation.pl (-1 / +2 lines)
Lines 204-209 else { Link Here
204
    $session->clear('auto_renew');
204
    $session->clear('auto_renew');
205
}
205
}
206
206
207
$template->param( auto_renew => $session->param('auto_renew') );
208
207
my ($datedue,$invalidduedate);
209
my ($datedue,$invalidduedate);
208
210
209
my $duedatespec_allow = C4::Context->preference('SpecifyDueDate');
211
my $duedatespec_allow = C4::Context->preference('SpecifyDueDate');
Lines 427-433 if (@$barcodes) { Link Here
427
                $template_params->{getTitleMessageIteminfo} = $biblio->title;
429
                $template_params->{getTitleMessageIteminfo} = $biblio->title;
428
                $template_params->{getBarcodeMessageIteminfo} = $item->barcode;
430
                $template_params->{getBarcodeMessageIteminfo} = $item->barcode;
429
                $template_params->{NEEDSCONFIRMATION} = 1;
431
                $template_params->{NEEDSCONFIRMATION} = 1;
430
                $template_params->{auto_renew} = $session->param('auto_renew');
431
                $confirm_required = 1;
432
                $confirm_required = 1;
432
            }
433
            }
433
        }
434
        }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +1 lines)
Lines 449-454 Link Here
449
                                                                    <input type="hidden" name="branch" value="[% branch | html %]" />
449
                                                                    <input type="hidden" name="branch" value="[% branch | html %]" />
450
                                                                    <input type="hidden" name="barcode" value="[% book.barcode | html %]" />
450
                                                                    <input type="hidden" name="barcode" value="[% book.barcode | html %]" />
451
                                                                    <input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
451
                                                                    <input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
452
                                                                    <input type="hidden" name="auto_renew" value="[% auto_renew | html %]" />
452
                                                                    <button class="btn btn-default btn-xs" type="submit" name="x"><i class="fa fa-check"></i> Check out</button>
453
                                                                    <button class="btn btn-default btn-xs" type="submit" name="x"><i class="fa fa-check"></i> Check out</button>
453
                                                                </form>
454
                                                                </form>
454
                                                            </td>
455
                                                            </td>
455
- 

Return to bug 24171