Remove overwrites for fields (RFF)

This commit is contained in:
Benjamin Beganović 2024-03-05 19:10:34 +01:00
parent 8a25832589
commit 6d93e11c65

View File

@ -147,13 +147,6 @@ class RequiredClientInfo extends Component
public function mount()
{
$this->fields = [
['name' => 'contact_first_name', 'label' => ctrans('texts.first_name'), 'type' => 'text', 'validation' => 'required'],
['name' => 'contact_last_name', 'label' => ctrans('texts.last_name'), 'type' => 'text', 'validation' => 'required'],
['name' => 'contact_email', 'label' => ctrans('texts.email'), 'type' => 'text', 'validation' => 'required,email:rfc'],
...$this->fields
];
MultiDB::setDb($this->company->db);
$this->client = $this->contact->client;