Bugzilla – Attachment 110716 Details for
Bug 26496
Budget plan save button doesn't save plans
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26496: Add op field to Budget Planning
Bug-26496-Add-op-field-to-Budget-Planning.patch (text/plain), 1.58 KB, created by
David Cook
on 2020-09-24 23:35:20 UTC
(
hide
)
Description:
Bug 26496: Add op field to Budget Planning
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-09-24 23:35:20 UTC
Size:
1.58 KB
patch
obsolete
>From 78b3e73b5c26b6da8b9227231f19bbdecd0ee105 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 21 Sep 2020 02:02:27 +0000 >Subject: [PATCH] Bug 26496: Add op field to Budget Planning > >Without this patch, it's impossible to save a budget plan. > >With this patch, it is possible to save a budget plan. > >Test: >1. Apply patch >2. Modify a budget (e.g. http://localhost:8081/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&budget_period_id=1) >3. Unlock the budget if necessary by unticking "Lock budget" and click "Save" >4. Go to a budget (e.g. http://localhost:8081/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=1) >5. Click "Planning" and "Plan by libraries" >6. Click "Auto-fill row" on the first line >7. Click "Save" >8. Note that results are saved and shown on the newly loaded page > >To verify this patch is necessary, do the test plan without applying the patch. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt >index 08a03e7dc0..d6ec9b0013 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt >@@ -154,6 +154,7 @@ > [% IF ( budget_period_locked ) %] > <!-- <input STYLE="background: gray;" type="submit" value="Save" disabled="disabled"/> --> > [% ELSE %] >+ <input type="hidden" name="op" value="save" /> > <fieldset class="action"><input type="submit" value="Save"/></fieldset> > [% END %] > >-- >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 26496
:
110446
|
110716
|
112011
|
112040