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>
|
||
|---|---|---|
| .. | ||
| pdfformat | ||
| acqui-home.pl | ||
| addorder.pl | ||
| addorderiso2709.pl | ||
| basket.pl | ||
| basketgroup.pl | ||
| basketheader.pl | ||
| booksellers.pl | ||
| check_budget_total.pl | ||
| check_duplicate_barcode_ajax.pl | ||
| check_uniqueness.pl | ||
| currency.pl | ||
| fetch_sort_dropbox.pl | ||
| finishreceive.pl | ||
| histsearch.pl | ||
| invoice.pl | ||
| invoices.pl | ||
| lateorders.pl | ||
| modordernotes.pl | ||
| neworderbiblio.pl | ||
| neworderempty.pl | ||
| newordersubscription.pl | ||
| newordersuggestion.pl | ||
| ordered.pl | ||
| orderreceive.pl | ||
| parcel.pl | ||
| parcels.pl | ||
| spent.pl | ||
| supplier.pl | ||
| transferorder.pl | ||
| uncertainprice.pl | ||
| updatesupplier.pl | ||
| z3950_search.pl | ||