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

@ -42,7 +42,7 @@ class DeleteCurrency extends Job implements ShouldDelete
$relationships = $this->countRelationships($this->model, $rels);
if ($this->model->code == setting('default.currency')) {
if ($this->model->code == default_currency()) {
$relationships[] = strtolower(trans_choice('general.companies', 1));
}

View File

@ -64,7 +64,7 @@ class UpdateCurrency extends Job implements ShouldUpdate
$relationships = $this->countRelationships($this->model, $rels);
if ($this->model->code == setting('default.currency')) {
if ($this->model->code == default_currency()) {
$relationships[] = strtolower(trans_choice('general.companies', 1));
}