v6 update

This commit is contained in:
Mohit Panjwani
2022-01-10 16:06:17 +05:30
parent b770e6277f
commit bdea879273
722 changed files with 19047 additions and 9186 deletions

View File

@ -25,7 +25,8 @@ class CompanyFactory extends Factory
return [
'unique_hash' => str_random(20),
'name' => $this->faker->name(),
'owner_id' => User::where('role', 'super admin')->first()->id
'owner_id' => User::where('role', 'super admin')->first()->id,
'slug' => $this->faker->word
];
}
}

View File

@ -36,7 +36,7 @@ class TaxFactory extends Factory
'amount' => $this->faker->randomDigitNotNull,
'compound_tax' => $this->faker->randomDigitNotNull,
'base_amount' => $this->faker->randomDigitNotNull,
'currency_id' => Currency::where('name', 'US Dollar')->first()->company_id,
'currency_id' => Currency::where('name', 'US Dollar')->first()->id,
];
}
}