[Koha-bugs] [Bug 18351] No warning when deleting budgets that have funds attached

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 12 18:34:58 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18351

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Aleisha,
I'd suggest to use C4::Budgets::GetBudgets with ({ budget_period_id =>
$budget_period_id }) instead of calling
  Koha::Database->new()->schema->resultset('Aqbudget')->search

It will make things easier to rewrite later. Indeed we should use a
Koha::Acquisition::Funds->search here, but does not exist yet.

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


More information about the Koha-bugs mailing list