[Koha-bugs] [Bug 4502] Perl error in acq budget planning

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 24 15:58:27 CET 2015


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

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 37181
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37181&action=edit
Bug 4502: Catch software error if no active budget defined

To reproduce:
0/ On a fresh install (so no budget defined), create a budget and don't
mark it as active.
1/ Go on the budget detail page > Plannin > By months
2/ Click on the 'Select' button (on the left)

Without this patch, you get a software error:
  Usage: Date::Calc::Delta_YMD(year1, month1, day1, year2, month2, day2)
With this patch, you get a sweet alert message inviting you to create an
active budget.

Note: This script is a mess...

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list