mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
43e57d0117
* minor fix for payment notifications * styleci * Limit Self updating to self hosters only : * Fixes for designs * Minor fixes for self-update
25 lines
753 B
PHP
25 lines
753 B
PHP
<?php
|
|
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(App\Models\Product::class, function (Faker $faker) {
|
|
return [
|
|
'product_key' => $faker->text(7),
|
|
'notes' => $faker->text(20),
|
|
'cost' => $faker->numberBetween(1, 1000),
|
|
'price' => $faker->numberBetween(1, 1000),
|
|
'quantity' => $faker->numberBetween(1, 100),
|
|
'tax_name1' => 'GST',
|
|
'tax_rate1' => 10,
|
|
'tax_name2' => 'VAT',
|
|
'tax_rate2' => 17.5,
|
|
'tax_name3' => 'THIRDTAX',
|
|
'tax_rate3' => 5,
|
|
'custom_value1' => $faker->text(20),
|
|
'custom_value2' => $faker->text(20),
|
|
'custom_value3' => $faker->text(20),
|
|
'custom_value4' => $faker->text(20),
|
|
'is_deleted' => false,
|
|
];
|
|
});
|