Fix for tracking product cost

This commit is contained in:
Hillel Coren 2023-12-27 15:16:03 +02:00
parent c8f18df96b
commit 2b6c7d5d58
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ class _InvoiceEditItemsDesktopState extends State<InvoiceEditItemsDesktop> {
..notes = item.isTask
? item.notes
: product.notes
..productCost = item.productCost
..productCost = product.cost
..cost = item.isTask && item.cost != 0
? item.cost
: cost