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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-14 / +13 lines)
Lines 128-134 Link Here
128
                </td>
128
                </td>
129
                <td>
129
                <td>
130
                    <label for="PeriodDaySel">Select day: </label><select name="PeriodDaySel" id="PeriodDaySel">
130
                    <label for="PeriodDaySel">Select day: </label><select name="PeriodDaySel" id="PeriodDaySel">
131
                    <option value =""></option>
131
                    <option value ="">Any day</option>
132
                    <option value ="Monday">Monday</option>
132
                    <option value ="Monday">Monday</option>
133
                    <option value ="Tuesday">Tuesday</option>
133
                    <option value ="Tuesday">Tuesday</option>
134
                    <option value ="Wednesday">Wednesday</option>
134
                    <option value ="Wednesday">Wednesday</option>
Lines 138-144 Link Here
138
                    <option value ="Sunday">Sunday</option>
138
                    <option value ="Sunday">Sunday</option>
139
                    </select>
139
                    </select>
140
                    <label for="PeriodMonthSel">Select month:</label> <select name="PeriodMonthSel" id="PeriodMonthSel">
140
                    <label for="PeriodMonthSel">Select month:</label> <select name="PeriodMonthSel" id="PeriodMonthSel">
141
                    <option value =""></option>
141
                    <option value ="">Any month</option>
142
                    <option value ="January">January</option>
142
                    <option value ="January">January</option>
143
                    <option value ="February">February</option>
143
                    <option value ="February">February</option>
144
                    <option value ="March">March</option>
144
                    <option value ="March">March</option>
Lines 159-165 Link Here
159
            <td><input type="radio" name="Line" value="borrowers.categorycode" /></td>
159
            <td><input type="radio" name="Line" value="borrowers.categorycode" /></td>
160
            <td><input type="radio" name="Column" value="borrowers.categorycode" /></td>
160
            <td><input type="radio" name="Column" value="borrowers.categorycode" /></td>
161
           <td><select name="Filter" id="borcat">
161
           <td><select name="Filter" id="borcat">
162
               <option value=""> </option>
162
               <option value="">Not filtered by category</option>
163
               [% FOREACH categoryloo IN categoryloop %]
163
               [% FOREACH categoryloo IN categoryloop %]
164
                 <option value="[% categoryloo.categorycode %]">[% categoryloo.description %]</option>
164
                 <option value="[% categoryloo.categorycode %]">[% categoryloo.description %]</option>
165
               [% END %]
165
               [% END %]
Lines 171-177 Link Here
171
            <td><input type="radio" name="Line" value="itemtype" /></td>
171
            <td><input type="radio" name="Line" value="itemtype" /></td>
172
            <td><input type="radio" name="Column" value="itemtype" /></td>
172
            <td><input type="radio" name="Column" value="itemtype" /></td>
173
           <td><select name="Filter" id="itemtype">
173
           <td><select name="Filter" id="itemtype">
174
               <option value=""> </option>
174
               <option value="">Not filtered by item type</option>
175
               [% FOREACH itemtype IN itemtypes %]
175
               [% FOREACH itemtype IN itemtypes %]
176
                 <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option>
176
                 <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option>
177
               [% END %]
177
               [% END %]
Lines 183-189 Link Here
183
            <td><input type="radio" name="Line" value="branch" /></td>
183
            <td><input type="radio" name="Line" value="branch" /></td>
184
            <td><input type="radio" name="Column" value="branch" /></td>
184
            <td><input type="radio" name="Column" value="branch" /></td>
185
            <td><select name="Filter" id="branch">
185
            <td><select name="Filter" id="branch">
186
                <option value=""> </option>
186
                <option value="">Not filtered by issuing library</option>
187
                [% PROCESS options_for_libraries libraries => Branches.all() %]
187
                [% PROCESS options_for_libraries libraries => Branches.all() %]
188
               </select>
188
               </select>
189
             </td> 
189
             </td> 
Lines 193-199 Link Here
193
            <td><input type="radio" name="Line"   value="items.ccode" /></td>
193
            <td><input type="radio" name="Line"   value="items.ccode" /></td>
194
            <td><input type="radio" name="Column" value="items.ccode" /></td>
194
            <td><input type="radio" name="Column" value="items.ccode" /></td>
195
            <td><select name="Filter" id="ccode">
195
            <td><select name="Filter" id="ccode">
196
                <option value=""> </option>
196
                <option value="">Not filtered by collection</option>
197
                [% FOREACH ccodeloo IN ccodeloop %]
197
                [% FOREACH ccodeloo IN ccodeloop %]
198
                    <option value="[% ccodeloo.code %]">[% ccodeloo.description %]</option>
198
                    <option value="[% ccodeloo.code %]">[% ccodeloo.description %]</option>
199
                [% END %]
199
                [% END %]
Lines 205-211 Link Here
205
            <td><input type="radio" name="Line" value="items.location" /></td>
205
            <td><input type="radio" name="Line" value="items.location" /></td>
206
            <td><input type="radio" name="Column" value="items.location" /></td>
206
            <td><input type="radio" name="Column" value="items.location" /></td>
207
            <td><select name="Filter" id="location">
207
            <td><select name="Filter" id="location">
208
                <option value=""> </option>
208
                <option value="">Not filtered by shelving location</option>
209
                [% FOREACH locationloo IN locationloop %]
209
                [% FOREACH locationloo IN locationloop %]
210
                    <option value="[% locationloo.code %]">[% locationloo.description %]</option>
210
                    <option value="[% locationloo.code %]">[% locationloo.description %]</option>
211
                [% END %]
211
                [% END %]
Lines 223-229 Link Here
223
			<td><input type="radio" name="Line" value="borrowers.sort1" /></td>
223
			<td><input type="radio" name="Line" value="borrowers.sort1" /></td>
224
			<td><input type="radio" name="Column" value="borrowers.sort1" /></td>
224
			<td><input type="radio" name="Column" value="borrowers.sort1" /></td>
225
			<td><select name="Filter" id="sort1">
225
			<td><select name="Filter" id="sort1">
226
               <option value=""> </option>
226
               <option value="">Not filtered by Sort1</option>
227
               [% FOREACH Bsort IN Bsort1 %]
227
               [% FOREACH Bsort IN Bsort1 %]
228
                <option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option>
228
                <option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option>
229
               [% END %]
229
               [% END %]
Lines 236-242 Link Here
236
            <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
236
            <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
237
            <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
237
            <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
238
           	<td><select name="Filter" id="sort2">
238
           	<td><select name="Filter" id="sort2">
239
               <option value=""> </option>
239
               <option value="">Not filtered by Sort2</option>
240
               [% FOREACH Bsort IN Bsort2 %]
240
               [% FOREACH Bsort IN Bsort2 %]
241
                   <option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option>
241
                   <option value="[% Bsort.authorised_value %]" >[% Bsort.lib %]</option>
242
               [% END %]
242
               [% END %]
Lines 248-254 Link Here
248
            <td><input type="radio" name="Line" value="items.homebranch" /></td>
248
            <td><input type="radio" name="Line" value="items.homebranch" /></td>
249
            <td><input type="radio" name="Column" value="items.homebranch" /></td>
249
            <td><input type="radio" name="Column" value="items.homebranch" /></td>
250
            <td><select name="Filter" id="homebranch">
250
            <td><select name="Filter" id="homebranch">
251
                    <option value=""> </option>
251
                    <option value="">Not filtered by home library</option>
252
                    [% PROCESS options_for_libraries libraries => Branches.all() %]
252
                    [% PROCESS options_for_libraries libraries => Branches.all() %]
253
                </select>
253
                </select>
254
            </td>
254
            </td>
Lines 258-264 Link Here
258
            <td><input type="radio" name="Line" value="items.holdingbranch" /></td>
258
            <td><input type="radio" name="Line" value="items.holdingbranch" /></td>
259
            <td><input type="radio" name="Column" value="items.holdingbranch" /></td>
259
            <td><input type="radio" name="Column" value="items.holdingbranch" /></td>
260
            <td><select name="Filter" id="holdingbranch">
260
            <td><select name="Filter" id="holdingbranch">
261
                    <option value=""> </option>
261
                    <option value="">Not filtered by holding library</option>
262
                    [% PROCESS options_for_libraries libraries => Branches.all() %]
262
                    [% PROCESS options_for_libraries libraries => Branches.all() %]
263
                </select>
263
                </select>
264
            </td>
264
            </td>
Lines 269-275 Link Here
269
            <td><input type="radio" name="Column" value="borrowers.branchcode" /></td>
269
            <td><input type="radio" name="Column" value="borrowers.branchcode" /></td>
270
            <td>
270
            <td>
271
                <select name="Filter" id="patronbranch">
271
                <select name="Filter" id="patronbranch">
272
                    <option value="">&nbsp;</option>
272
                    <option value="">Not filtered by patron's library</option>
273
                    [% FOREACH branch IN branchloop %]
273
                    [% FOREACH branch IN branchloop %]
274
                        <option value="[% branch.value %]">
274
                        <option value="[% branch.value %]">
275
                            [% branch.branchname %]
275
                            [% branch.branchname %]
Lines 297-303 Link Here
297
                        <td>
297
                        <td>
298
                            [% IF attr_type.authorised_value_category %]
298
                            [% IF attr_type.authorised_value_category %]
299
                                <select name="Filter_borrower_attributes.[% attr_type.code %]">
299
                                <select name="Filter_borrower_attributes.[% attr_type.code %]">
300
                                    <option value="">&nbsp;</option>
300
                                    <option value="">Not filtered</option>
301
                                    [% FOREACH av IN attr_type.authorised_values %]
301
                                    [% FOREACH av IN attr_type.authorised_values %]
302
                                        <option value="[% av.authorised_value %]">
302
                                        <option value="[% av.authorised_value %]">
303
                                            [% av.lib %]
303
                                            [% av.lib %]
304
- 

Return to bug 3311