Bug 22521: Update UI to use accountlines.status
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / html_helpers.inc
1 [% BLOCK options_for_libraries %]
2     [% FOREACH l IN libraries %]
3         [% IF l.selected %]
4             <option value="[% prefix | html %][% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
5         [% ELSE %]
6             <option value="[% prefix | html %][% l.branchcode | html %]">[% l.branchname | html %]</option>
7         [% END%]
8     [% END %]
9 [% END %]
10
11 [% BLOCK options_for_authorised_value_categories %]
12     [% FOREACH avc IN authorised_value_categories %]
13         [% IF avc.selected %]
14             <option value="[% avc.category | html %]" selected="selected">[% avc.category | html %]</option>
15         [% ELSE %]
16             <option value="[% avc.category | html %]">[% avc.category | html %]</option>
17         [% END %]
18     [% END %]
19 [% END %]
20
21 [% BLOCK options_for_item_types %]
22     [% FOREACH itemtype IN itemtypes %]
23         [% IF itemtype.itemtype == selected_itemtype %]
24             <option value="[% itemtype.itemtype | html %]" selected="selected">
25         [% ELSE %]
26             <option value="[% itemtype.itemtype | html %]">
27         [% END %]
28             [% itemtype.translated_description | html %]
29         </option>
30     [% END %]
31 [% END %]