mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for updating prices
This commit is contained in:
parent
f24103182b
commit
1863da0829
@ -33,7 +33,7 @@ class UpdatePrice extends AbstractService
|
|||||||
->first();
|
->first();
|
||||||
|
|
||||||
if ($product) {
|
if ($product) {
|
||||||
$line_items[$key]->cost = floatval($product->cost);
|
$line_items[$key]->cost = floatval($product->price);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user