1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Minor fixes for client statements

This commit is contained in:
David Bomba 2021-12-13 20:31:28 +11:00
parent 106cfbd6d5
commit 3f59c213b4

View File

@ -172,7 +172,7 @@ class Statement
$item->tax_rate1 = 5;
}
$product = Product::all()->random();
$product = Product::first();
$item->cost = (float) $product->cost;
$item->product_key = $product->product_key;