[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
Fri May 26 15:41:46 CEST 2023


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

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

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 151761
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151761&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>

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


More information about the Koha-bugs mailing list