Bugzilla – Attachment 86546 Details for
Bug 22498
Can not select any funds for invoice adjustments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22498: Rename variable for budgets loop for invoice adjustments
Bug-22498-Rename-variable-for-budgets-loop-for-inv.patch (text/plain), 3.18 KB, created by
Nick Clemens (kidclamp)
on 2019-03-12 17:03:17 UTC
(
hide
)
Description:
Bug 22498: Rename variable for budgets loop for invoice adjustments
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-03-12 17:03:17 UTC
Size:
3.18 KB
patch
obsolete
>From 88d726df631ee8fb2a13e25ba62a333dc0ce8589 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 12 Mar 2019 13:15:34 +0000 >Subject: [PATCH] Bug 22498: Rename variable for budgets loop for invoice > adjustments > >To test: >1 - Try to add some adjustments to an invoice (receive shipments, create invoice, click 'finish receiving') >2 - Note the fund dropdown has only 'No fund' >3 - Apply patch >4 - Refresh page >5 - Note you can now select funds, hooray! >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >index 1351676420..6498f42257 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >@@ -139,13 +139,13 @@ > <td> > <select id="budget_id_[% adjustment.adjustment_id | html %]" name="budget_id"> > <option value="">No fund</option> >- [% FOREACH budget IN budgets_loop %] >- [% IF ( budget.budget_id == adjustment.budget_id ) %] >- <option selected="selected" value="[% budget.budget_id | html %]"> >+ [% FOREACH budget IN budgets %] >+ [% IF ( budget.b_id == adjustment.budget_id ) %] >+ <option selected="selected" value="[% budget.b_id | html %]"> > [% ELSE %] >- <option value="[% budget.budget_id | html %]"> >+ <option value="[% budget.b_id | html %]"> > [% END %] >- [% budget.budget_name | html %] >+ [% budget.b_txt | html %] > </option> > [% END %] > </select> >@@ -207,9 +207,9 @@ > <label for="budget_id_new">Fund: </label> > <select id="budget_id_new" name="budget_id"> > <option selected="selected" value="">No fund</option> >- [% FOREACH budget IN budgets_loop %] >- <option value="[% budget.budget_id | html %]"> >- [% budget.budget_name | html %] >+ [% FOREACH budget IN budgets %] >+ <option value="[% budget.b_id | html %]"> >+ [% budget.b_txt | html %] > </option> > [% END %] > </select> >-- >2.11.0
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 22498
:
86531
|
86546
|
86567
|
86595