Bugzilla – Attachment 16159 Details for
Bug 4266
encumbrance and expenditure not used in code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 4266: Hide Encumbrance and Expenditure in aqbudgets.tt
Bug-4266-Hide-Encumbrance-and-Expenditure-in-aqbud.patch (text/plain), 1.72 KB, created by
Jonathan Druart
on 2013-03-15 10:45:01 UTC
(
hide
)
Description:
Bug 4266: Hide Encumbrance and Expenditure in aqbudgets.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-03-15 10:45:01 UTC
Size:
1.72 KB
patch
obsolete
>From de59815ce868747de748105342e8177d108300ed Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Fri, 22 Feb 2013 12:33:48 +0100 >Subject: [PATCH] Bug 4266: Hide Encumbrance and Expenditure in aqbudgets.tt > >Encumbrance and Expenditure fields are not taken into account by Koha, >but the data are saved in database. >This patch hide these fields in aqbudgets.tt >To test : check if the 2 fields are hidden when creating a new fund. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >This could certainly be done in a few different ways both with CSS and >JS, but this is a simple change and can be easily overridden: > >$("#budget_encumb,#budget_expend").closest("li").show(); > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index 519c276..af0f086 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -341,12 +341,12 @@ > <input type="text" name="budget_amount" id="budget_amount" value="[% budget_amount %]" size="8" /> > </li> > >- <li> >+ <li style="display:none;"> > <label for="budget_encumb">Encumbrance: </label> > <input type="text" name="budget_encumb" id="budget_encumb" value="[% budget_encumb %]" size="8" /> > </li> > >- <li> >+ <li style="display:none;"> > <label for="budget_expend">Expenditure: </label> > <input type="text" name="budget_expend" id="budget_expend" value="[% budget_expend %]" size="8" /> > </li> >-- >1.7.10.4
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 4266
:
14870
|
14874
|
15616
|
16128
| 16159