]> git.koha-community.org Git - koha.git/commit
Bug 8821: make receive shipment page hide inactive funds like new order form
authorOwen Leonard <oleonard@myacpl.org>
Fri, 19 Jul 2013 13:07:52 +0000 (09:07 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 7 Nov 2013 15:49:37 +0000 (12:49 -0300)
commitd5d0708662f5493a93b4ea29b5e7290276e0db4f
tree107a63fb68408ebb2fc5e89777539672a74f8934
parent80b2c6d7da95ea67bb8f0ece2f0cb97d99a15af9
Bug 8821: make receive shipment page hide inactive funds like new order form

This patch adapts the fund-handling code from neworderempty.pl
in order to limit the display of funds by default to active ones,
with the option to check a box to display all funds.

This patch also adds "(inactive)" to the display of funds on this and
the neworderempty.tt template because it seemed like that was useful
information.

To test, make sure you have both active and inactive funds.
Start the process of receiving a shipment. The "fund" option
in the receive shipment form should show only active funds.
Checking the "show all" checkbox should allow you to choose
from both active and inactive funds.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 04aa35077730bdd4bc8d3c01c461518ecb0d9e60)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
acqui/parcels.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt