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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-8 / +8 lines)
Lines 234-240 Link Here
234
                                    >
234
                                    >
235
                                    <td data-code="[% c | html %]">
235
                                    <td data-code="[% c | html %]">
236
                                        [% IF c == undef %]
236
                                        [% IF c == undef %]
237
                                            <em>All</em>
237
                                            <em>All patron categories</em>
238
                                        [% ELSE %]
238
                                        [% ELSE %]
239
                                            [% Categories.GetName(c) | html %]
239
                                            [% Categories.GetName(c) | html %]
240
                                        [% END %]
240
                                        [% END %]
Lines 463-469 Link Here
463
                        <td>2</td>
463
                        <td>2</td>
464
                        <td>
464
                        <td>
465
                            <select name="categorycode" id="categorycode">
465
                            <select name="categorycode" id="categorycode">
466
                                <option value="*">All</option>
466
                                <option value="*">All patron categories</option>
467
                                [% FOREACH patron_category IN patron_categories %]
467
                                [% FOREACH patron_category IN patron_categories %]
468
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
468
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
469
                                [% END %]
469
                                [% END %]
Lines 927-933 Link Here
927
                            <tr>
927
                            <tr>
928
                                <td>
928
                                <td>
929
                                    [% IF c == undef %]
929
                                    [% IF c == undef %]
930
                                        <em>All</em>
930
                                        <em>All patron categories</em>
931
                                    [% ELSE %]
931
                                    [% ELSE %]
932
                                        [% Categories.GetName(c) | html %]
932
                                        [% Categories.GetName(c) | html %]
933
                                    [% END %]
933
                                    [% END %]
Lines 958-964 Link Here
958
                <tr>
958
                <tr>
959
                    <td>
959
                    <td>
960
                        <select name="waiting_hold_cancellation_category" id="waiting_hold_cancellation_category">
960
                        <select name="waiting_hold_cancellation_category" id="waiting_hold_cancellation_category">
961
                            <option value="*">All</option>
961
                            <option value="*">All patron categories</option>
962
                            [% FOREACH patron_category IN patron_categories %]
962
                            [% FOREACH patron_category IN patron_categories %]
963
                                <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
963
                                <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
964
                            [% END %]
964
                            [% END %]
Lines 1011-1017 Link Here
1011
                        [% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %]
1011
                        [% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %]
1012
                            <tr>
1012
                            <tr>
1013
                                [% IF c == undef %]
1013
                                [% IF c == undef %]
1014
                                    <td><em>All</em></td>
1014
                                    <td><em>All patron categories</em></td>
1015
                                [% ELSE %]
1015
                                [% ELSE %]
1016
                                    <td> [% Categories.GetName(c) | html %] </td>
1016
                                    <td> [% Categories.GetName(c) | html %] </td>
1017
                                [% END %]
1017
                                [% END %]
Lines 1032-1038 Link Here
1032
                    <tr>
1032
                    <tr>
1033
                        <td>
1033
                        <td>
1034
                            <select name="categorycode">
1034
                            <select name="categorycode">
1035
                                <option value="*">All</option>
1035
                                <option value="*">All patron categories</option>
1036
                                [% FOREACH patron_category IN patron_categories %]
1036
                                [% FOREACH patron_category IN patron_categories %]
1037
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1037
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1038
                                [% END %]
1038
                                [% END %]
Lines 1072-1078 Link Here
1072
                            <tr>
1072
                            <tr>
1073
                                <td>
1073
                                <td>
1074
                                    [% IF c == undef %]
1074
                                    [% IF c == undef %]
1075
                                        <em>All</em>
1075
                                        <em>All patron categories</em>
1076
                                    [% ELSE %]
1076
                                    [% ELSE %]
1077
                                        [% Categories.GetName(c) | html %]
1077
                                        [% Categories.GetName(c) | html %]
1078
                                    [% END %]
1078
                                    [% END %]
Lines 1093-1099 Link Here
1093
                    <tr>
1093
                    <tr>
1094
                        <td>
1094
                        <td>
1095
                            <select name="article_request_fee_category" id="article_request_fee_category">
1095
                            <select name="article_request_fee_category" id="article_request_fee_category">
1096
                                <option value="*">All</option>
1096
                                <option value="*">All patron categories</option>
1097
                                [% FOREACH patron_category IN patron_categories %]
1097
                                [% FOREACH patron_category IN patron_categories %]
1098
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1098
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1099
                                [% END %]
1099
                                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt (-2 / +1 lines)
Lines 75-81 Link Here
75
                                <label for="categorycode" class="required">Patron category: </label>
75
                                <label for="categorycode" class="required">Patron category: </label>
76
                                <select name="categorycode" id="categorycode" required="required">
76
                                <select name="categorycode" id="categorycode" required="required">
77
                                    <option value=""> Choose</option>
77
                                    <option value=""> Choose</option>
78
                                    <option value="*" selected="selected">All</option>
78
                                    <option value="*" selected="selected">All patron categories</option>
79
                                    [% FOREACH category IN categories %]
79
                                    [% FOREACH category IN categories %]
80
                                        <option value="[% category.categorycode | html %]"> [% category.description | html %]</option>
80
                                        <option value="[% category.categorycode | html %]"> [% category.description | html %]</option>
81
                                    [% END %]
81
                                    [% END %]
82
- 

Return to bug 31736