convert setting('default.currency') to default_currency() helper function..

This commit is contained in:
Cüneyt Şentürk
2022-10-05 10:35:19 +03:00
parent e683a0d171
commit d29859f65b
45 changed files with 84 additions and 84 deletions

View File

@ -44,7 +44,7 @@ class Document extends AbstractFactory
'company_id' => $this->company->id,
'issued_at' => $issued_at,
'due_at' => $due_at,
'currency_code' => setting('default.currency'),
'currency_code' => default_currency(),
'currency_rate' => '1',
'notes' => $this->faker->text(5),
'amount' => '0',
@ -247,7 +247,7 @@ class Document extends AbstractFactory
'tax_ids' => [$tax->id],
'quantity' => '1',
'price' => $amount,
'currency' => setting('default.currency'),
'currency' => default_currency(),
],
];