Lines 414-433
Item types administration
Link Here
|
414 |
<td>[% itemtype.processfee | $Price %]</td> |
414 |
<td>[% itemtype.processfee | $Price %]</td> |
415 |
<td>[% itemtype.checkinmsg | html_line_break | $raw %]</td> |
415 |
<td>[% itemtype.checkinmsg | html_line_break | $raw %]</td> |
416 |
<td> |
416 |
<td> |
417 |
[% IF itemtype.branches.size > 0 %] |
417 |
[% IF itemtype.library_limits %] |
418 |
[% branches_str = "" %] |
418 |
[% libraries_str = "" %] |
419 |
[% FOREACH branch IN itemtype.branches %] |
419 |
[% FOREACH library IN itemtype.library_limits %] |
420 |
[%- IF loop.first -%] |
420 |
[%- IF loop.first -%] |
421 |
[% branches_str = branch.branchname _ " (" _ branch.branchcode _ ")" %] |
421 |
[% libraries_str = library.branchname _ " (" _ library.branchcode _ ")" %] |
422 |
[% ELSE %] |
422 |
[% ELSE %] |
423 |
[% branches_str = branches_str _ "\n" _ branch.branchname _ " (" _ branch.branchcode _ ")" %] |
423 |
[% libraries_str = libraries_str _ "\n" _ library.branchname _ " (" _ library.branchcode _ ")" %] |
424 |
[% END %] |
424 |
[% END %] |
425 |
[% END %] |
425 |
[% END %] |
426 |
<span class="library_limitation" title="[% branches_str | html %]"> |
426 |
<span class="library_limitation" title="[% libraries_str | html %]"> |
427 |
[% IF itemtype.branches.size > 1 %] |
427 |
[% IF itemtype.library_limits.count > 1 %] |
428 |
[% itemtype.branches.size | html %] library limitations |
428 |
[% itemtype.library_limits.count | html %] library limitations |
429 |
[% ELSE %] |
429 |
[% ELSE %] |
430 |
[% itemtype.branches.size | html %] library limitation |
430 |
[% itemtype.library_limits.count | html %] library limitation |
431 |
[% END %] |
431 |
[% END %] |
432 |
[% ELSE %] |
432 |
[% ELSE %] |
433 |
No limitation |
433 |
No limitation |
434 |
- |
|
|