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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-5 / +5 lines)
Lines 219-229 Link Here
219
                                                                                [% IF budget.b_active %]
219
                                                                                [% IF budget.b_active %]
220
                                                                                    <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 %]</option>
220
                                                                                    <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 %]</option>
221
                                                                                [% ELSE %]
221
                                                                                [% ELSE %]
222
                                                                                <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 %] (inactive)</option>
222
                                                                                <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>
223
                                                                            [% END %]
223
                                                                            [% END %]
224
                                                                            [% ELSE %]
224
                                                                            [% ELSE %]
225
                                                                                [% IF budget.b_active %]<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>
225
                                                                                [% IF budget.b_active %]<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>
226
                                                                                [% ELSE %]<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>
226
                                                                                [% ELSE %]<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>
227
                                                                                [% END %]
227
                                                                                [% END %]
228
                                                                                [% END %]
228
                                                                                [% END %]
229
                                                                            [% END %]
229
                                                                            [% END %]
Lines 355-363 Link Here
355
                                                                                                [% END %]
355
                                                                                                [% END %]
356
                                                                                            [% ELSE %]
356
                                                                                            [% ELSE %]
357
                                                                                                [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]
357
                                                                                                [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]
358
                                                                                                <option value="[% budget_loo.b_id | html %]" class="buget_item_inactive" selected="selected">[% budget_loo.b_txt | html %] (inactive)</option>
358
                                                                                                <option value="[% budget_loo.b_id | html %]" class="buget_item_inactive" selected="selected">[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
359
                                                                                                [% ELSE %]
359
                                                                                                [% ELSE %]
360
                                                                                                <option value="[% budget_loo.b_id | html %]" class="budget_item_inactive">[% budget_loo.b_txt | html %] (inactive)</option>
360
                                                                                                <option value="[% budget_loo.b_id | html %]" class="budget_item_inactive">[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
361
                                                                                                [% END %]
361
                                                                                                [% END %]
362
                                                                                            [% END %]
362
                                                                                            [% END %]
363
                                                                                        [% END %]
363
                                                                                        [% END %]
Lines 510-516 Link Here
510
                                                            [% IF ( budget_loo.b_active ) %]
510
                                                            [% IF ( budget_loo.b_active ) %]
511
                                                                <option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
511
                                                                <option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
512
                                                            [% ELSE %]
512
                                                            [% ELSE %]
513
                                                                <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 %]">[% budget_loo.b_txt | html %] (inactive)</option>
513
                                                                <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 %]">[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
514
                                                            [% END %]
514
                                                            [% END %]
515
                                                        [% END %]
515
                                                        [% END %]
516
                                                    </select>
516
                                                    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt (-1 / +1 lines)
Lines 213-219 Link Here
213
                    <option value="">Select a fund</option>
213
                    <option value="">Select a fund</option>
214
                  [% FOREACH budget_loo IN budget_loop %]
214
                  [% FOREACH budget_loo IN budget_loop %]
215
                      [% IF ( budget_loo.b_active ) %]<option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
215
                      [% IF ( budget_loo.b_active ) %]<option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
216
                      [% ELSE %]<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 %]">[% budget_loo.b_txt | html %] (inactive)</option>
216
                      [% ELSE %]<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 %]">[% budget_loo.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
217
                      [% END %]
217
                      [% END %]
218
                  [% END %]
218
                  [% END %]
219
                  </select>
219
                  </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-1 / +1 lines)
Lines 535-541 Link Here
535
            [% IF ( budget.b_active ) %]
535
            [% IF ( budget.b_active ) %]
536
                <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>
536
                <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>
537
            [% ELSE %]
537
            [% ELSE %]
538
                <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>
538
                <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>
539
            [% END %]
539
            [% END %]
540
        [% END # /FOREACH budget %]
540
        [% END # /FOREACH budget %]
541
    </select>
541
    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-1 / +1 lines)
Lines 621-627 Link Here
621
                        <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 %]"
621
                        <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 %]"
622
                        >
622
                        >
623
                    [% END %]
623
                    [% END %]
624
                        [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] (inactive)[% END %]
624
                        [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] [% tp('Fund status' , '(inactive)') | html %][% END %]
625
                    </option>
625
                    </option>
626
                [% END %]
626
                [% END %]
627
                </select>
627
                </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-2 / +2 lines)
Lines 302-308 Link Here
302
                                                [% IF budget_period.active %]
302
                                                [% IF budget_period.active %]
303
                                                    <optgroup label="[% budget_period.description | html %]">
303
                                                    <optgroup label="[% budget_period.description | html %]">
304
                                                [% ELSE %]
304
                                                [% ELSE %]
305
                                                    <optgroup class="inactive_budget" label="[% budget_period.description | html %] (Inactive)">
305
                                                    <optgroup class="inactive_budget" label="[% budget_period.description | html %] [%tp ('Budget status', '(Inactive)') | html %]">
306
                                                [% END %]
306
                                                [% END %]
307
                                                [% FOREACH budget_loo IN budget_period.funds %]
307
                                                [% FOREACH budget_loo IN budget_period.funds %]
308
                                                [% level_indent_cnt = 0 %]
308
                                                [% level_indent_cnt = 0 %]
Lines 321-327 Link Here
321
                                                        [% bdgclass=budget_loo.b_active? "": "inactive_budget" | html %]
321
                                                        [% bdgclass=budget_loo.b_active? "": "inactive_budget" | html %]
322
                                                        <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 %]">
322
                                                        <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 %]">
323
                                                    [% END %]
323
                                                    [% END %]
324
                                                        [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] (inactive)[% END %]
324
                                                        [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] [% tp('Fund status', '(inactive)') | html %][% END %]
325
                                                    </option>
325
                                                    </option>
326
                                                [% END %]
326
                                                [% END %]
327
                                                </optgroup>
327
                                                </optgroup>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt (-1 / +1 lines)
Lines 183-189 Link Here
183
                    [% IF ( budget.b_active ) %]
183
                    [% IF ( budget.b_active ) %]
184
                        <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
184
                        <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
185
                    [% ELSE %]
185
                    [% ELSE %]
186
                        <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] (inactive)</option>
186
                        <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
187
                    [% END %]
187
                    [% END %]
188
                [% END %]
188
                [% END %]
189
            </select>
189
            </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt (-1 / +1 lines)
Lines 117-123 Link Here
117
                [% bdgclass=budgetsloo.active? "": "b_inactive" | html %]
117
                [% bdgclass=budgetsloo.active? "": "b_inactive" | html %]
118
                    <option class="[% bdgclass | html %]" value="[% budgetsloo.value | html %]">
118
                    <option class="[% bdgclass | html %]" value="[% budgetsloo.value | html %]">
119
            [% END %]
119
            [% END %]
120
            [% budgetsloo.description | html %] [% IF !budgetsloo.active %]<span>(inactive)</span>[% END %]
120
            [% budgetsloo.description | html %] [% IF !budgetsloo.active %]<span>[% tp('Fund status', '(inactive)') | html %]</span>[% END %]
121
            </option>
121
            </option>
122
        [% END %]
122
        [% END %]
123
        </select>
123
        </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-3 / +2 lines)
Lines 1298-1308 Link Here
1298
        [% END %]
1298
        [% END %]
1299
        [% FOREACH budget IN sugg_budgets %]
1299
        [% FOREACH budget IN sugg_budgets %]
1300
            [% IF ( budget.selected ) %]
1300
            [% IF ( budget.selected ) %]
1301
                <option value="[% budget.b_id | html %]" selected="selected">[% budget.b_txt | html %] [% IF ( !budget.b_active ) %](inactive)[% END %]</option>
1301
                <option value="[% budget.b_id | html %]" selected="selected">[% budget.b_txt | html %] [% IF ( !budget.b_active ) %][% tp('Fund status', '(inactive)') | html %][% END %]</option>
1302
            [% ELSIF ( budget.b_active ) %]
1302
            [% ELSIF ( budget.b_active ) %]
1303
                <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
1303
                <option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option>
1304
            [% ELSE %]
1304
            [% ELSE %]
1305
                <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] (inactive)</option>
1305
                <option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] [% tp('Fund status', '(inactive)') | html %]</option>
1306
            [% END %]
1306
            [% END %]
1307
        [% END %]
1307
        [% END %]
1308
    </select>
1308
    </select>
1309
- 

Return to bug 39045