[Koha-bugs] [Bug 9822] No alert appears on adding an order to a basket if the budget has exceeded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 18 10:18:45 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9822

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16314|0                           |1
        is obsolete|                            |

--- Comment #8 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 19092
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19092&action=edit
Bug 9822: Alert on adding an order to a basket if budget has 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 at univ-lyon3.fr>
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list