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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt (-6 / +3 lines)
Lines 86-97 Link Here
86
                            <li>
86
                            <li>
87
                                <label for="branch">Library: </label>
87
                                <label for="branch">Library: </label>
88
                                <select id="branch" name="branch">
88
                                <select id="branch" name="branch">
89
                                [% FOREACH branch IN branch_list %]
89
                                [% IF cash_register %]
90
                                [% IF cash_register.branch == branch.branchcode %]
90
                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => cash_register.branch ) %]
91
                                    <option value="[% branch.branchcode | html %]" selected="1">[% branch.branchname | html %]</option>
92
                                [% ELSE %]
91
                                [% ELSE %]
93
                                    <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
92
                                    [% PROCESS options_for_libraries libraries => Branches.all() %]
94
                                [% END %]
95
                                [% END %]
93
                                [% END %]
96
                                </select>
94
                                </select>
97
                            </li>
95
                            </li>
98
- 

Return to bug 26149