Lines 23-39
Link Here
|
23 |
[% IF ( batche.label_ids ) %] |
23 |
[% IF ( batche.label_ids ) %] |
24 |
<legend>[% batche.card_count | html %] Single patron cards</legend> |
24 |
<legend>[% batche.card_count | html %] Single patron cards</legend> |
25 |
<p> |
25 |
<p> |
26 |
<a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?batch_id=[% batche.batch_id | html %]&template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %]]&layout_back_id=[% batche.layout_back_id | html %]&start_card=[% batche.start_card | html %][% batche.label_ids | html %]">label_single_[% batche.card_count | html %].pdf</a> |
26 |
<a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?batch_id=[% batche.batch_id | html %]&template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %]]&layout_back_id=[% batche.layout_back_id | html %]&start_card=[% batche.start_card | html %][% batche.label_ids | html %]&order_by=[% order_by | html %]">label_single_[% batche.card_count | html %].pdf</a> |
27 |
</p> |
27 |
</p> |
28 |
[% ELSIF ( batche.borrower_numbers ) %] |
28 |
[% ELSIF ( batche.borrower_numbers ) %] |
29 |
<legend>[% batche.card_count | html %] Single patron cards</legend> |
29 |
<legend>[% batche.card_count | html %] Single patron cards</legend> |
30 |
<p> |
30 |
<p> |
31 |
<a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %]&layout_back_id=[% batche.layout_back_id | html %]&start_card=[% batche.start_card | html %][% batche.borrower_numbers | html %]">label_single_[% batche.card_count | html %].pdf</a> |
31 |
<a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %]&layout_back_id=[% batche.layout_back_id | html %]&start_card=[% batche.start_card | html %][% batche.borrower_numbers | html %]&order_by=[% order_by | html %]">label_single_[% batche.card_count | html %].pdf</a> |
32 |
</p> |
32 |
</p> |
33 |
[% ELSE %] |
33 |
[% ELSE %] |
34 |
<legend>Card batch number [% batche.batch_id | html %]</legend> |
34 |
<legend>Card batch number [% batche.batch_id | html %]</legend> |
35 |
<p> |
35 |
<p> |
36 |
<a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id | html %]&template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %]&layout_back_id=[% batche.layout_back_id | html %]&start_card=[% batche.start_card | html %]">label_batch_[% batche.batch_id | html %].pdf</a> |
36 |
<a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id | html %]&template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %]&layout_back_id=[% batche.layout_back_id | html %]&start_card=[% batche.start_card | html %]&order_by=[% order_by | html %]">label_batch_[% batche.batch_id | html %].pdf</a> |
37 |
</p> |
37 |
</p> |
38 |
[% END %] |
38 |
[% END %] |
39 |
[% END %] |
39 |
[% END %] |
Lines 76-92
Link Here
|
76 |
[% IF (patronlist_id) %] <input type="hidden" name="patronlist_id" value="[% patronlist_id | html %]" /> [% END %] |
76 |
[% IF (patronlist_id) %] <input type="hidden" name="patronlist_id" value="[% patronlist_id | html %]" /> [% END %] |
77 |
<fieldset class="rows"> |
77 |
<fieldset class="rows"> |
78 |
<ol> |
78 |
<ol> |
79 |
[% IF (patronlist_id) %] |
|
|
80 |
<li> |
81 |
<label style="width:9em" for="order_by">Order by: </label> |
82 |
<select name="order_by" id="order_by"> |
83 |
<option value=""></option> |
84 |
<option value="cardnumber">Card number</option> |
85 |
<option value="firstname">First name</option> |
86 |
<option value="surname">Surname</option> |
87 |
</select> |
88 |
</li> |
89 |
[% END %] |
90 |
<li> |
79 |
<li> |
91 |
<label style="width:9em" for="template_id">Select a template to be applied: </label> |
80 |
<label style="width:9em" for="template_id">Select a template to be applied: </label> |
92 |
<select name="template_id" id="template_id"> |
81 |
<select name="template_id" id="template_id"> |
Lines 118-123
Link Here
|
118 |
<label style="width:9em" for="start_card">Enter starting card position: </label> |
107 |
<label style="width:9em" for="start_card">Enter starting card position: </label> |
119 |
<input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" /> |
108 |
<input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" /> |
120 |
</li> |
109 |
</li> |
|
|
110 |
[% IF patronlist_id || batch_id %] |
111 |
<li> |
112 |
<label style="width:9em" for="order_by">Order by: </label> |
113 |
<select name="order_by" id="order_by"> |
114 |
<option value=""></option> |
115 |
<option value="cardnumber">Card number</option> |
116 |
<option value="firstname">First name</option> |
117 |
<option value="surname">Surname</option> |
118 |
</select> |
119 |
</li> |
120 |
[% END %] |
121 |
</ol> |
121 |
</ol> |
122 |
</fieldset> |
122 |
</fieldset> |
123 |
<fieldset class="action"> |
123 |
<fieldset class="action"> |