Bugzilla – Attachment 16128 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]
[SIGNED-OFF] Bug 4266: Hide Encumbrance and Expenditure in aqbudgets.tt
SIGNED-OFF-Bug-4266-Hide-Encumbrance-and-Expenditu.patch (text/plain), 1.70 KB, created by
Owen Leonard
on 2013-03-14 13:58:01 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 4266: Hide Encumbrance and Expenditure in aqbudgets.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-03-14 13:58:01 UTC
Size:
1.70 KB
patch
obsolete
>From 6dfc0d4472f115470ccf8b819d2279447041c83f 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] [SIGNED-OFF] Bug 4266: Hide Encumbrance and Expenditure in > aqbudgets.tt >Content-Type: text/plain; charset="utf-8" > >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(); >--- > .../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.9.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 4266
:
14870
|
14874
|
15616
|
16128
|
16159