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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-13 / +12 lines)
Lines 6-12 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% SET destination = "circ" %]
7
[% SET destination = "circ" %]
8
<title>Koha &rsaquo; Circulation
8
<title>Koha &rsaquo; Circulation
9
[% IF borrowernumber and borrower %]
9
[% IF patron %]
10
  &rsaquo; Batch check out &rsaquo; Issuing items to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
10
  &rsaquo; Batch check out &rsaquo; Issuing items to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
11
[% END %]
11
[% END %]
12
</title>
12
</title>
Lines 20-26 Link Here
20
[% INCLUDE 'circ-search.inc' %]
20
[% INCLUDE 'circ-search.inc' %]
21
21
22
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo;
22
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo;
23
    [% IF borrower and borrowernumber %]
23
    [% IF patron %]
24
        <a href="/cgi-bin/koha/circ/circulation.pl">Batch check out</a> &rsaquo; [% INCLUDE 'patron-title.inc' %]
24
        <a href="/cgi-bin/koha/circ/circulation.pl">Batch check out</a> &rsaquo; [% INCLUDE 'patron-title.inc' %]
25
    [% ELSE %]
25
    [% ELSE %]
26
        Batch check out
26
        Batch check out
Lines 34-46 Link Here
34
34
35
<div class="yui-g">
35
<div class="yui-g">
36
36
37
[% IF borrowernumber %]
37
[% IF patron %]
38
[% INCLUDE 'members-toolbar.inc' %]
38
[% INCLUDE 'members-toolbar.inc' %]
39
[% END %]
39
[% END %]
40
40
41
[% IF borrower and not batch_allowed %]
41
[% IF patron and not batch_allowed %]
42
  <div class="dialog alert">You are not allowed to use batch checkout for this patron</div>
42
  <div class="dialog alert">You are not allowed to use batch checkout for this patron</div>
43
[% ELSIF borrower and noissues and not checkout_infos %]
43
[% ELSIF patron and noissues and not checkout_infos %]
44
  <div class="dialog alert">
44
  <div class="dialog alert">
45
    Cannot check out!
45
    Cannot check out!
46
    [% IF charges_is_blocker %]
46
    [% IF charges_is_blocker %]
Lines 55-61 Link Here
55
        </li>
55
        </li>
56
    [% END %]
56
    [% END %]
57
  </div>
57
  </div>
58
[% ELSIF borrower and not checkout_infos %]
58
[% ELSIF patron and not checkout_infos %]
59
  <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
59
  <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
60
    <fieldset id="circ_circulation_issue">
60
    <fieldset id="circ_circulation_issue">
61
      <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
61
      <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
Lines 76-82 Link Here
76
      </fieldset>
76
      </fieldset>
77
      <input type="hidden" name="op" value="show" />
77
      <input type="hidden" name="op" value="show" />
78
      <fieldset class="action">
78
      <fieldset class="action">
79
        <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
79
        <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber %]" />
80
        <input type="hidden" name="branch" value="[% branch %]" />
80
        <input type="hidden" name="branch" value="[% branch %]" />
81
        <input type="hidden" name="batch" value="1" />
81
        <input type="hidden" name="batch" value="1" />
82
        <input type="submit" value="Check out" class="button" />
82
        <input type="submit" value="Check out" class="button" />
Lines 84-95 Link Here
84
    </fieldset>
84
    </fieldset>
85
  </form>
85
  </form>
86
86
87
[% ELSIF borrower %]
87
[% ELSIF patron %]
88
  [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
88
  [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
89
    <h3>Batch checkout confirmation [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h3>
89
    <h3>Batch checkout confirmation [% IF patron %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h3>
90
    <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
90
    <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
91
  [% ELSE %]
91
  [% ELSE %]
92
    <h3>Batch checkout information [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] |[% batch %]|[% END %]</h3>
92
    <h3>Batch checkout information [% IF patron.borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] |[% batch %]|[% END %]</h3>
93
  [% END %]
93
  [% END %]
94
    <table id="checkout_infos">
94
    <table id="checkout_infos">
95
      <thead>
95
      <thead>
Lines 264-270 Link Here
264
    [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
264
    [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
265
        <fieldset>
265
        <fieldset>
266
            <legend>Please confirm checkout</legend>
266
            <legend>Please confirm checkout</legend>
267
      <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
267
      <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
268
      <input type="hidden" name="issueconfirmed" value="1" />
268
      <input type="hidden" name="issueconfirmed" value="1" />
269
      <input type="hidden" name="debt_confirmed" value="1" />
269
      <input type="hidden" name="debt_confirmed" value="1" />
270
      <input type="hidden" name="branch" value="[% branch %]" />
270
      <input type="hidden" name="branch" value="[% branch %]" />
Lines 281-287 Link Here
281
</div>
281
</div>
282
</div>
282
</div>
283
</div>
283
</div>
284
[% IF borrower %]
284
[% IF patron %]
285
    <div class="yui-b">
285
    <div class="yui-b">
286
        [% INCLUDE 'circ-menu.inc' %]
286
        [% INCLUDE 'circ-menu.inc' %]
287
    </div>
287
    </div>
288
- 

Return to bug 18789