Company form add tax_number and phone fields..

This commit is contained in:
Cüneyt Şentürk
2021-01-11 15:52:27 +03:00
parent e709c29201
commit 8d76babea3
4 changed files with 18 additions and 0 deletions

View File

@@ -58,6 +58,14 @@ class UpdateCompany extends Job
setting()->set('company.email', $this->request->get('email'));
}
if ($this->request->has('tax_number')) {
setting()->set('company.tax_number', $this->request->get('tax_number'));
}
if ($this->request->has('phone')) {
setting()->set('company.phone', $this->request->get('phone'));
}
if ($this->request->has('address')) {
setting()->set('company.address', $this->request->get('address'));
}