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