Koha-clms/acqui
Jonathan Druart ea3b5aad21 Bug 9822: Alert on adding an order to a basket if budget s exceeded
2 DB fields are not used: aqbudgets.encumb and aqbudgets.expend.

This patch uses these fields in order to show a warning message if the
budget selected for an order has exceeded.

Test plan:
- Create a new active fund with at least 1 of both warning fields
  ('Warning at (%)' and 'Warning at (amount)').
- Create a new order for a basket with this new fund and a cost >
  warning amount defined for the fund (or using %).
- Save and check that a warning message appears
- Retry playing with all combinations of warning fields

Signed-off-by: Koha Team Lyon 3 <koha@univ-lyon3.fr>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-30 15:10:11 +00:00
..
pdfformat
…
acqui-home.pl Bug 10792: fix sorting of funds table on acquisitions home page 2013-09-16 15:30:33 +00:00
addorder.pl Bug 9822: Alert on adding an order to a basket if budget s exceeded 2013-10-30 15:10:11 +00:00
addorderiso2709.pl
…
basket.pl Bug 5336: Order search (search and UI enhancements) 2013-10-22 13:24:52 +00:00
basketgroup.pl
…
basketheader.pl
…
booksellers.pl Bug 10967: fix minor POD error 2013-10-02 14:52:48 +00:00
check_budget_total.pl
…
check_duplicate_barcode_ajax.pl
…
check_uniqueness.pl
…
currency.pl
…
fetch_sort_dropbox.pl
…
finishreceive.pl Bug 10403: add ability to change fund on receipt 2013-10-22 12:57:25 +00:00
histsearch.pl Bug 5336: (follow-up) multiple QA fixes 2013-10-22 13:30:34 +00:00
invoice.pl Bug 10401: Add ability to merge invoices 2013-10-21 19:08:03 +00:00
invoices.pl Bug 10401: Add ability to merge invoices 2013-10-21 19:08:03 +00:00
lateorders.pl Bug 10380: Change prototype for output_pref() routine 2013-10-17 23:34:26 +00:00
modordernotes.pl
…
neworderbiblio.pl
…
neworderempty.pl
…
newordersubscription.pl
…
newordersuggestion.pl
…
ordered.pl
…
orderreceive.pl Bug 10403: Show inactive but unlocked budgets on orderreceive 2013-10-22 12:57:41 +00:00
parcel.pl Bug 10725: Add filters on the pending orders table 2013-10-30 05:10:11 +00:00
parcels.pl Bug 8821: make receive shipment page hide inactive funds like new order form 2013-09-16 16:26:12 +00:00
spent.pl
…
supplier.pl
…
transferorder.pl Bug 10723: remove one last instance of GetPendingOrders() 2013-10-21 18:49:32 +00:00
uncertainprice.pl Bug 10723: Merge GetPendingOrders and SearchOrders routines 2013-10-21 18:24:32 +00:00
updatesupplier.pl
…
z3950_search.pl Bug 10096 - Add a Z39.50 interface for authority searching 2013-10-04 14:26:29 +00:00