Bugzilla – Attachment 186191 Details for
Bug 40743
Unable to select the correct fund when paying invoices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40743: Make active funds visible again
Bug-40743-Make-active-funds-visible-again.patch (text/plain), 3.00 KB, created by
David Nind
on 2025-09-05 08:21:10 UTC
(
hide
)
Description:
Bug 40743: Make active funds visible again
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-09-05 08:21:10 UTC
Size:
3.00 KB
patch
obsolete
>From bce0f6b0d60cfeecdc0b0af02286d6b14add5c09 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Wed, 3 Sep 2025 15:45:30 +0000 >Subject: [PATCH] Bug 40743: Make active funds visible again >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: > >1. Create a basket and add an item to the order. Close the basket. >2. Receive shipment. Create an invoice. >3. Go to the invoice and then go to the receipt page. >4. Receive the item you had added to your basket. Under Fund you will only see âKeep current (your budget name)â. Active budgets are not visible. >5. Click on âShow inactiveâ â both inactive and active budgets become visible. >6. Apply the patch. Restart all. >7. Repeat step 3 and 4. Notice now that the active budgets are visible under your Fund dropdown. On this step you can create an inactive budget / fund if you donât have one set already. Next click on âShow inactiveâ and notice that the active fund is active, and the inactive fund has a budget_description of inactive. >8. Test to make sure budgets stick. >9. Sign off and have a wonderful day! > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index b36f1d39b9..caf9ba9547 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -288,12 +288,12 @@ > [% SET budget_period = budget_loops.$budget_period_id %] > [% SET optgroup_class = "" %] > [% SET optgroup_label = budget_period.description %] >- [% IF budget_period.active %] >+ [% IF !budget_period.active %] > [% SET optgroup_class = "inactive_budget" %] > [% SET optgroup_label = t("{budget_description} (Inactive)", {budget_description = budget_period.description}) %] > [% END %] > >- <optgroup class="inactive_budget" label="[% optgroup_label | html %]"> >+ <optgroup class="[% optgroup_class | html %]" label="[% optgroup_label | html %]"> > [% FOREACH budget_loo IN budget_period.funds %] > [% level_indent_cnt = 0 %] > [% level_indent = "" %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40743
:
186059
|
186083
|
186084
|
186190
| 186191