[Koha-bugs] [Bug 12164] Rollover outstanding orders not yet received

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 2 08:55:37 CEST 2014


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

--- Comment #42 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 29430
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29430&action=edit
[PASSED QA] Bug 12164: Fix decimal number display

If the funds are not moved, the amount is display like 123.000000.
This patch hardcodes the number of decimal numbers to display (2).

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Passes QA script and tests, especially all acquisition tests.

New routines in Budgets.pm:
  - CloneBudgetPeriod
  - CloneBudgetHierarchy
  - MoveOrders

OK t/db_dependent/Budgets.t

Some of the tests done:

1) Duplicate an existing budget

- OK Existing budget is active, duplicate it and mark it inactive
- OK Existing budget is inactive, duplicate and mark it inactive

2) Close budget
- OK Budget was created without funds - no changes are made
- OK Budget was created with funds, all orders moved correctly
  - moving the available money to the new budget is optional
- OK Budget was created with funds, but one fund deleted,
     all orders moved correctly, one missing fund reported,
     orders unchanged

3) Partial receiced undone
- OK Partial receive from last budget is undone, order lines
     are correctly recombined and fund is set to the current budget

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


More information about the Koha-bugs mailing list