]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Sep 2013 16:26:12 +0000 (16:26 +0000)
commit04aa35077730bdd4bc8d3c01c461518ecb0d9e60
treea22132c34edcf04b2c536fa558ca7b8ca07eef33
parent29498bf696d86a761708ec59f0a75be6353feecf
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>
acqui/parcels.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt