Bug 4266: Hide Encumbrance and Expenditure in aqbudgets.tt
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Fri, 22 Feb 2013 11:33:48 +0000 (12:33 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 15 Mar 2013 22:54:04 +0000 (18:54 -0400)
commit609ac4f1f93635df1370dc32d0f8ac1a5c67811a
tree84c1955eebf56d21270f342f0321d8e1c6e99d6b
parent8ef6d4e3035061dc651c1dc8d469723feda54cc9
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>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt