From 6d93e11c655ddd20606726350cfe0c2cd9c20ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 5 Mar 2024 19:10:34 +0100 Subject: [PATCH] Remove overwrites for fields (RFF) --- app/Livewire/RequiredClientInfo.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/Livewire/RequiredClientInfo.php b/app/Livewire/RequiredClientInfo.php index 959824d2f49d..80e2654fdcd7 100644 --- a/app/Livewire/RequiredClientInfo.php +++ b/app/Livewire/RequiredClientInfo.php @@ -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;