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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-6 / +7 lines)
Lines 7-12 Link Here
7
[% USE ItemTypes %]
7
[% USE ItemTypes %]
8
[% USE CirculationRules %]
8
[% USE CirculationRules %]
9
[% USE Price %]
9
[% USE Price %]
10
[% PROCESS 'i18n.inc' %]
10
[% SET footerjs = 1 %]
11
[% SET footerjs = 1 %]
11
12
12
[% SET branchcode = humanbranch || undef %]
13
[% SET branchcode = humanbranch || undef %]
Lines 211-217 Link Here
211
                                                    [% END %]</td>
212
                                                    [% END %]</td>
212
                                                <td>
213
                                                <td>
213
                                                    [% IF c == undef %]
214
                                                    [% IF c == undef %]
214
                                                        <em>All</em>
215
                                                        <em>[% tp('All patron categories', 'All') | html %]</em>
215
                                                    [% ELSE %]
216
                                                    [% ELSE %]
216
                                                        [% Categories.GetName(c) | html %]
217
                                                        [% Categories.GetName(c) | html %]
217
                                                    [% END %]
218
                                                    [% END %]
Lines 402-408 Link Here
402
                                <td>2</td>
403
                                <td>2</td>
403
                                <td>
404
                                <td>
404
                                    <select name="categorycode" id="categorycode">
405
                                    <select name="categorycode" id="categorycode">
405
                                        <option value="*">All</option>
406
                                        <option value="*">[% tp('All patron categories', 'All') | html %]</option>
406
                                    [% FOREACH patron_category IN patron_categories%]
407
                                    [% FOREACH patron_category IN patron_categories%]
407
                                        <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
408
                                        <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
408
                                    [% END %]
409
                                    [% END %]
Lines 888-894 Link Here
888
                                        <tr>
889
                                        <tr>
889
                                            <td>
890
                                            <td>
890
                                                [% IF c == '*' %]
891
                                                [% IF c == '*' %]
891
                                                    <em>All</em>
892
                                                    <em>[% tp('All patron categories', 'All') | html %]</em>
892
                                                [% ELSE %]
893
                                                [% ELSE %]
893
                                                    [% Categories.GetName(c) | html %]
894
                                                    [% Categories.GetName(c) | html %]
894
                                                [% END %]
895
                                                [% END %]
Lines 917-923 Link Here
917
                            <tr>
918
                            <tr>
918
                                <td>
919
                                <td>
919
                                    <select name="waiting_hold_cancellation_category" id="waiting_hold_cancellation_category">
920
                                    <select name="waiting_hold_cancellation_category" id="waiting_hold_cancellation_category">
920
                                        <option value="*">All</option>
921
                                        <option value="*">[% tp('All patron categories', 'All') | html %]</option>
921
                                    [% FOREACH patron_category IN patron_categories %]
922
                                    [% FOREACH patron_category IN patron_categories %]
922
                                        <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
923
                                        <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
923
                                    [% END %]
924
                                    [% END %]
Lines 1023-1029 Link Here
1023
                                <tr>
1024
                                <tr>
1024
                                    <td>
1025
                                    <td>
1025
                                        [% IF c == '*' %]
1026
                                        [% IF c == '*' %]
1026
                                            <em>All</em>
1027
                                            <em>[% tp('All patron categories', 'All') | html %]</em>
1027
                                        [% ELSE %]
1028
                                        [% ELSE %]
1028
                                            [% Categories.GetName(c) | html %]
1029
                                            [% Categories.GetName(c) | html %]
1029
                                        [% END %]
1030
                                        [% END %]
Lines 1044-1050 Link Here
1044
                            <tr>
1045
                            <tr>
1045
                                <td>
1046
                                <td>
1046
                                    <select name="article_request_fee_category" id="article_request_fee_category">
1047
                                    <select name="article_request_fee_category" id="article_request_fee_category">
1047
                                        <option value="*">All</option>
1048
                                        <option value="*">[% tp('All patron categories', 'All') | html %]</option>
1048
                                    [% FOREACH patron_category IN patron_categories%]
1049
                                    [% FOREACH patron_category IN patron_categories%]
1049
                                        <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1050
                                        <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1050
                                    [% END %]
1051
                                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt (-2 / +1 lines)
Lines 72-78 Link Here
72
                                    <label for="categorycode" class="required">Patron category: </label>
72
                                    <label for="categorycode" class="required">Patron category: </label>
73
                                    <select name="categorycode" id="categorycode" required="required">
73
                                    <select name="categorycode" id="categorycode" required="required">
74
                                        <option value=""> Choose</option>
74
                                        <option value=""> Choose</option>
75
                                        <option value="*" selected="selected">All</option>
75
                                        <option value="*" selected="selected">[% tp('All patron categories', 'All') | html %]</option>
76
                                        [% FOREACH category IN categories %]
76
                                        [% FOREACH category IN categories %]
77
                                            <option value = "[% category.categorycode | html %]"> [% category.description | html %]</option>
77
                                            <option value = "[% category.categorycode | html %]"> [% category.description | html %]</option>
78
                                        [%END%]
78
                                        [%END%]
79
- 

Return to bug 31736