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 Account extends Factory
*/
public function definition()
{
$types = ['bank', 'credit_card'];
return [
'company_id' => $this->company->id,
'type' => $this->faker->randomElement($types),
'name' => $this->faker->text(15),
'number' => (string) $this->faker->iban(),
'currency_code' => $this->company->currencies()->enabled()->get()->random(1)->pluck('code')->first(),