[Koha-bugs] [Bug 33783] Populate actual cost with estimated cost if actual cost not set when receiving (bug 8179 follow-up)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 30 14:36:25 CEST 2023


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #151761|0                           |1
        is obsolete|                            |
 Attachment #151789|0                           |1
        is obsolete|                            |

--- Comment #9 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 151794
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151794&action=edit
Bug 33783: (bug 8179 follow-up) Populate actual cost with ecost during
receiving if not set

This restores behavior prior to 8179 to use the estimated cost when receiving
if the
actual cost is not set.

We set the unitprice in the table row so that it will be used when editing and
will be saved even if not adjusted

To test:
1 - Add some orders to a basket, do not set actual cost field
2 - Close basket, receive orders
3 - Note actual cost field is blank
4 - Cancel receipt
5 - Apply patch
6 - Receive again
7 - Note actual cost is populated
8 - Complete receipt and confirm actual cost correctly saved

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list