akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -21,8 +21,11 @@ class Item extends Factory
*/
public function definition()
{
$types = ['product', 'service'];
return [
'company_id' => $this->company->id,
'type' => $this->faker->randomElement($types),
'name' => $this->faker->text(15),
'description' => $this->faker->text(100),
'purchase_price' => $this->faker->randomFloat(2, 10, 20),