Koha/koha-tmpl/intranet-tmpl/prog/en/modules/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
..
csv Bug 10935: (follow-up) adding a line break to fix first list item 2013-10-17 17:03:41 +00:00
acqui-home.tt Bug 10792: fix sorting of funds table on acquisitions home page 2013-09-16 15:30:33 +00:00
addorder.tt Bug 9822: Alert on adding an order to a basket if budget s exceeded 2013-10-30 15:10:11 +00:00
addorderiso2709.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
ajax.tt
basket.tt Bug 5349: (follow-up) tweak order transfer form 2013-09-16 15:21:07 +00:00
basketgroup.tt Bug 7469: put focus on 1st field of creation form instead of search box (Acquisition) 2013-09-16 15:53:17 +00:00
basketheader.tt Bug 7469: put focus on 1st field of creation form instead of search box (Acquisition) 2013-09-16 15:53:17 +00:00
booksellers.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
histsearch.tt Bug 5336: (follow-up) multiple QA fixes 2013-10-22 13:30:34 +00:00
invoice.tt Bug 10705: change 'shipment cost' to 'shipping cost' 2013-10-09 04:59:43 +00:00
invoices.tt Bug 10401: Add ability to merge invoices 2013-10-21 19:08:03 +00:00
lateorders.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
modordernotes.tt Bug 7469: put focus on 1st field of creation form instead of search box (Acquisition) 2013-09-16 15:53:17 +00:00
neworderbiblio.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
neworderempty.tt Bug 8821: make receive shipment page hide inactive funds like new order form 2013-09-16 16:26:12 +00:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 10689: make subscription public note appear when making a new order from a subscription 2013-10-11 04:23:24 +00:00
newordersuggestion.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
ordered.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
orderreceive.tt Bug 10403: Show inactive but unlocked budgets on orderreceive 2013-10-22 12:57:41 +00:00
parcel.tt Bug 10725: Add filters on the pending orders table 2013-10-30 05:10:11 +00:00
parcels.tt Bug 10705: change 'shipment cost' to 'shipping cost' 2013-10-09 04:59:43 +00:00
spent.tt Bug 10705: follow-up - change one more instance of "shippment cost" 2013-10-09 05:00:37 +00:00
supplier.tt Bug 10847: Open link to vendor's website in new window 2013-09-23 16:10:33 +00:00
transferorder.tt Bug 5349: (follow-up) tweak order transfer form 2013-09-16 15:21:07 +00:00
uncertainprice.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
z3950_search.tt Bug 9747: sorting z3950 search results in acquisition 2013-10-09 04:22:28 +00:00