Lines 1-6
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
|
|
4 |
[% USE Branches %] |
4 |
[% USE AuthorisedValues %] |
5 |
[% USE AuthorisedValues %] |
5 |
[% USE Price %] |
6 |
[% USE Price %] |
6 |
[% USE TablesSettings %] |
7 |
[% USE TablesSettings %] |
Lines 376-388
Data deleted
Link Here
|
376 |
<li><label for="branches">Library limitation: </label> |
377 |
<li><label for="branches">Library limitation: </label> |
377 |
<select id="branches" name="branches" multiple size="10"> |
378 |
<select id="branches" name="branches" multiple size="10"> |
378 |
<option value="">All libraries</option> |
379 |
<option value="">All libraries</option> |
379 |
[% FOREACH branch IN branches_loop %] |
380 |
[% PROCESS options_for_libraries libraries => Branches.all( selecteds => itemtype.get_library_limits, unfiltered => 1, do_not_select_my_library => 1 ) %] |
380 |
[% IF ( branch.selected ) %] |
|
|
381 |
<option selected="selected" value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option> |
382 |
[% ELSE %] |
383 |
<option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option> |
384 |
[% END %] |
385 |
[% END %] |
386 |
</select> |
381 |
</select> |
387 |
<span class="hint">Select 'All libraries' if all libraries use this item type. Otherwise, select the specific libraries that use this item type.</span> |
382 |
<span class="hint">Select 'All libraries' if all libraries use this item type. Otherwise, select the specific libraries that use this item type.</span> |
388 |
</li> |
383 |
</li> |
Lines 529-548
Data deleted
Link Here
|
529 |
<td>[% itemtype.processfee | $Price %]</td> |
524 |
<td>[% itemtype.processfee | $Price %]</td> |
530 |
<td>[% itemtype.checkinmsg | html_line_break | $raw %]</td> |
525 |
<td>[% itemtype.checkinmsg | html_line_break | $raw %]</td> |
531 |
<td> |
526 |
<td> |
532 |
[% IF itemtype.library_limits %] |
527 |
[% SET library_limits = itemtype.library_limits %] |
533 |
[% libraries_str = "" %] |
528 |
[% IF library_limits.count > 0 %] |
534 |
[% FOREACH library IN itemtype.library_limits %] |
529 |
[% library_str = "" %] |
|
|
530 |
[% FOREACH library IN library_limits %] |
535 |
[%- IF loop.first -%] |
531 |
[%- IF loop.first -%] |
536 |
[% libraries_str = library.branchname _ " (" _ library.branchcode _ ")" %] |
532 |
[% library_str = library.branchname _ " (" _ library.branchcode _ ")" %] |
537 |
[% ELSE %] |
533 |
[% ELSE %] |
538 |
[% libraries_str = libraries_str _ "\n" _ library.branchname _ " (" _ library.branchcode _ ")" %] |
534 |
[% library_str = library_str _ "\n" _ library.branchname _ " (" _ library.branchcode _ ")" %] |
539 |
[% END %] |
535 |
[% END %] |
540 |
[% END %] |
536 |
[% END %] |
541 |
<span class="library_limitation" title="[% libraries_str | html %]"> |
537 |
<span class="library_limitation" title="[% library_str | html %]"> |
542 |
[% IF itemtype.library_limits.count > 1 %] |
538 |
[% IF library_limits.count > 1 %] |
543 |
[% itemtype.library_limits.count | html %] library limitations |
539 |
[% library_limits.count | html %] library limitations |
544 |
[% ELSE %] |
540 |
[% ELSE %] |
545 |
[% itemtype.library_limits.count | html %] library limitation |
541 |
[% library_limits.count | html %] library limitation |
546 |
[% END %] |
542 |
[% END %] |
547 |
[% ELSE %] |
543 |
[% ELSE %] |
548 |
No limitation |
544 |
No limitation |
549 |
- |
|
|