1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
This commit is contained in:
David Bomba 2020-01-20 21:53:47 +11:00 committed by GitHub
parent db558acf70
commit 63de0d86ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -471,7 +471,7 @@ class CreateTestData extends Command
{
$item = InvoiceItemFactory::create();
$item->quantity = 1;
//$item->cost =10;
//$item->cost = 10;
if (rand(0, 1)) {
$item->tax_name1 = 'GST';
@ -490,7 +490,7 @@ class CreateTestData extends Command
$product = Product::all()->random();
$item->cost = $product->cost;
$item->cost = (float)$product->cost;
$item->product_key = $product->product_key;
$item->notes = $product->notes;
$item->custom_value1 = $product->custom_value1;