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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-1 / +12 lines)
Lines 466-471 Link Here
466
                                        <option value="ORDERED">Ordered</option>
466
                                        <option value="ORDERED">Ordered</option>
467
                                    [% END %]
467
                                    [% END %]
468
468
469
                                    [% IF ( statusselected_AVAILABLE ) %]
470
                                        <option value="AVAILABLE" selected="selected">Available</option>
471
                                    [% ELSE %]
472
                                        <option value="AVAILABLE">Available</option>
473
                                    [% END %]
474
469
                                    [% FOREACH s IN SuggestionStatuses %]
475
                                    [% FOREACH s IN SuggestionStatuses %]
470
                                        [% IF s.authorised_value == suggestion.STATUS %]
476
                                        [% IF s.authorised_value == suggestion.STATUS %]
471
                                            <option value="[% s.authorised_value | html %]" selected="selected">[% s.lib | html %]</option>
477
                                            <option value="[% s.authorised_value | html %]" selected="selected">[% s.lib | html %]</option>
Lines 934-939 Link Here
934
                                                            <option value="ORDERED">Ordered</option>
940
                                                            <option value="ORDERED">Ordered</option>
935
                                                        [% END %]
941
                                                        [% END %]
936
942
943
                                                        [% IF ( statusselected_AVAILABLE ) %]
944
                                                            <option value="AVAILABLE" selected="selected">Available</option>
945
                                                        [% ELSE %]
946
                                                            <option value="AVAILABLE">Available</option>
947
                                                        [% END %]
948
937
                                                        [% FOREACH s IN SuggestionStatuses %]
949
                                                        [% FOREACH s IN SuggestionStatuses %]
938
                                                            <option value="[% s.authorised_value | html %]">[% s.lib | html %]</option>
950
                                                            <option value="[% s.authorised_value | html %]">[% s.lib | html %]</option>
939
                                                        [% END %]
951
                                                        [% END %]
940
- 

Return to bug 37588