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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-17 / +5 lines)
Lines 250-262 Link Here
250
                                                                                        >[% budget.b_txt | html %]</option
250
                                                                                        >[% budget.b_txt | html %]</option
251
                                                                                    >
251
                                                                                    >
252
                                                                                [% ELSE %]
252
                                                                                [% ELSE %]
253
                                                                                    <option
253
                                                                                    <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
254
                                                                                        value="[% budget.b_id | html %]"
255
                                                                                        data-sort1-authcat="[% budget.b_sort1_authcat | html %]"
256
                                                                                        data-sort2-authcat="[% budget.b_sort2_authcat | html %]"
257
                                                                                        selected="selected"
258
                                                                                        >[% budget.b_txt | html %] (inactive)</option
259
                                                                                    >
260
                                                                                [% END %]
254
                                                                                [% END %]
261
                                                                            [% ELSE %]
255
                                                                            [% ELSE %]
262
                                                                                [% IF budget.b_active %]
256
                                                                                [% IF budget.b_active %]
Lines 264-276 Link Here
264
                                                                                        >[% budget.b_txt | html %]</option
258
                                                                                        >[% budget.b_txt | html %]</option
265
                                                                                    >
259
                                                                                    >
266
                                                                                [% ELSE %]
260
                                                                                [% ELSE %]
267
                                                                                    <option
261
                                                                                    <option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
268
                                                                                        value="[% budget.b_id | html %]"
269
                                                                                        class="b_inactive"
270
                                                                                        data-sort1-authcat="[% budget.b_sort1_authcat | html %]"
271
                                                                                        data-sort2-authcat="[% budget.b_sort2_authcat | html %]"
272
                                                                                        >[% budget.b_txt | html %] (inactive)</option
273
                                                                                    >
274
                                                                                [% END %]
262
                                                                                [% END %]
275
                                                                            [% END %]
263
                                                                            [% END %]
276
                                                                        [% END %]
264
                                                                        [% END %]
Lines 418-426 Link Here
418
                                                                                            [% END %]
406
                                                                                            [% END %]
419
                                                                                        [% ELSE %]
407
                                                                                        [% ELSE %]
420
                                                                                            [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]
408
                                                                                            [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]
421
                                                                                                <option value="[% budget_loo.b_id | html %]" class="buget_item_inactive" selected="selected">[% budget_loo.b_txt | html %] (inactive)</option>
409
                                                                                                <option value="[% budget_loo.b_id | html %]" class="buget_item_inactive" selected="selected">[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
422
                                                                                            [% ELSE %]
410
                                                                                            [% ELSE %]
423
                                                                                                <option value="[% budget_loo.b_id | html %]" class="budget_item_inactive">[% budget_loo.b_txt | html %] (inactive)</option>
411
                                                                                                <option value="[% budget_loo.b_id | html %]" class="budget_item_inactive">[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
424
                                                                                            [% END %]
412
                                                                                            [% END %]
425
                                                                                        [% END %]
413
                                                                                        [% END %]
426
                                                                                    [% END %]
414
                                                                                    [% END %]
Lines 613-619 Link Here
613
                                                                class="b_inactive"
601
                                                                class="b_inactive"
614
                                                                data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]"
602
                                                                data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]"
615
                                                                data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
603
                                                                data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
616
                                                                >[% budget_loo.b_txt | html %] (inactive)</option
604
                                                                >[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option
617
                                                            >
605
                                                            >
618
                                                        [% END %]
606
                                                        [% END %]
619
                                                    [% END %]
607
                                                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt (-1 / +1 lines)
Lines 222-228 Link Here
222
                                        >
222
                                        >
223
                                    [% ELSE %]
223
                                    [% ELSE %]
224
                                        <option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
224
                                        <option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
225
                                            >[% budget_loo.b_txt | html %] (inactive)</option
225
                                            >[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option
226
                                        >
226
                                        >
227
                                    [% END %]
227
                                    [% END %]
228
                                [% END %]
228
                                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-1 / +1 lines)
Lines 531-537 Link Here
531
            [% IF ( budget.b_active ) %]
531
            [% IF ( budget.b_active ) %]
532
                <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
532
                <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
533
            [% ELSE %]
533
            [% ELSE %]
534
                <option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat |html %]">[% budget.b_txt | html %] (inactive)</option>
534
                <option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat |html %]">[% budget.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
535
            [% END %]
535
            [% END %]
536
        [% END # /FOREACH budget %]
536
        [% END # /FOREACH budget %]
537
    </select>
537
    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-1 / +1 lines)
Lines 610-616 Link Here
610
                            [% END %]
610
                            [% END %]
611
611
612
                            <option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">
612
                            <option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">
613
                                [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %](inactive)[% END %]
613
                                [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %][% tp('Fund status' , '(inactive)') | html %][% END %]
614
                            </option>
614
                            </option>
615
                        [% END %]
615
                        [% END %]
616
                    </select>
616
                    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-2 / +2 lines)
Lines 290-296 Link Here
290
                                                        [% SET optgroup_label = budget_period.description %]
290
                                                        [% SET optgroup_label = budget_period.description %]
291
                                                        [% IF budget_period.active %]
291
                                                        [% IF budget_period.active %]
292
                                                            [% SET optgroup_class = "inactive_budget" %]
292
                                                            [% SET optgroup_class = "inactive_budget" %]
293
                                                            [% SET optgroup_label = t("{budget_description} (Inactive)", {budget_description = budget_period.description}) %]
293
                                                            [% SET optgroup_label = tp("Budget status", "{budget_description} (Inactive)", {budget_description = budget_period.description}) %]
294
                                                        [% END %]
294
                                                        [% END %]
295
295
296
                                                        <optgroup class="inactive_budget" label="[% optgroup_label | html %]">
296
                                                        <optgroup class="inactive_budget" label="[% optgroup_label | html %]">
Lines 317-323 Link Here
317
                                                                    data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]"
317
                                                                    data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]"
318
                                                                    data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
318
                                                                    data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
319
                                                                >
319
                                                                >
320
                                                                    [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %](inactive)[% END %]
320
                                                                    [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %][% tp('Fund status', '(inactive)') | html %][% END %]
321
                                                                </option>
321
                                                                </option>
322
                                                            [% END %]
322
                                                            [% END %]
323
                                                        </optgroup>
323
                                                        </optgroup>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt (-1 / +1 lines)
Lines 185-191 Link Here
185
                                            [% IF ( budget.b_active ) %]
185
                                            [% IF ( budget.b_active ) %]
186
                                                <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
186
                                                <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
187
                                            [% ELSE %]
187
                                            [% ELSE %]
188
                                                <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] (inactive)</option>
188
                                                <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
189
                                            [% END %]
189
                                            [% END %]
190
                                        [% END %]
190
                                        [% END %]
191
                                    </select>
191
                                    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt (-1 / +1 lines)
Lines 118-124 Link Here
118
                                    [% option_class = budgetsloo.active ? "": "b_inactive" %]
118
                                    [% option_class = budgetsloo.active ? "": "b_inactive" %]
119
                                [% END %]
119
                                [% END %]
120
                                <option value="[% budgetsloo.value | html %]" class="[% option_class | html %]" [% IF budgetsloo.selected %]selected="selected"[% END %]>
120
                                <option value="[% budgetsloo.value | html %]" class="[% option_class | html %]" [% IF budgetsloo.selected %]selected="selected"[% END %]>
121
                                    [% budgetsloo.description | html %] [% IF !budgetsloo.active %]<span>(inactive)</span>[% END %]
121
                                    [% budgetsloo.description | html %] [% IF !budgetsloo.active %]<span>[% tp('Fund status', '(inactive)') | html %]</span>[% END %]
122
                                </option>
122
                                </option>
123
                            [% END %]
123
                            [% END %]
124
                        </select>
124
                        </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-3 / +2 lines)
Lines 1345-1355 Link Here
1345
        [% END %]
1345
        [% END %]
1346
        [% FOREACH budget IN sugg_budgets %]
1346
        [% FOREACH budget IN sugg_budgets %]
1347
            [% IF ( budget.selected ) %]
1347
            [% IF ( budget.selected ) %]
1348
                <option value="[% budget.b_id | html %]" selected="selected">[% budget.b_txt | html %] [% IF ( !budget.b_active ) %](inactive)[% END %]</option>
1348
                <option value="[% budget.b_id | html %]" selected="selected">[% budget.b_txt | html %] [% IF ( !budget.b_active ) %][% tp('Fund status', '(inactive)') | html %][% END %]</option>
1349
            [% ELSIF ( budget.b_active ) %]
1349
            [% ELSIF ( budget.b_active ) %]
1350
                <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
1350
                <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
1351
            [% ELSE %]
1351
            [% ELSE %]
1352
                <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] (inactive)</option>
1352
                <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
1353
            [% END %]
1353
            [% END %]
1354
        [% END %]
1354
        [% END %]
1355
    </select>
1355
    </select>
1356
- 

Return to bug 39045