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

@ -25,16 +25,18 @@ class Contact extends Factory
public function definition()
{
$types = array_merge($this->getCustomerTypes(), $this->getVendorTypes());
$countries = array_keys(trans('countries'));
return [
'company_id' => $this->company->id,
'type' => $this->faker->randomElement($types),
'name' => $this->faker->name,
'email' => $this->faker->unique()->safeEmail,
'email' => $this->faker->freeEmail,
'user_id' => null,
'tax_number' => $this->faker->randomNumber(9),
'phone' => $this->faker->phoneNumber,
'address' => $this->faker->address,
'country' => $this->faker->randomElement($countries),
'website' => 'https://akaunting.com',
'currency_code' => setting('default.currency'),
'reference' => $this->faker->text(5),