mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:54:41 -04:00
Remove overwrites for fields (RFF)
This commit is contained in:
parent
8a25832589
commit
6d93e11c65
@ -147,13 +147,6 @@ class RequiredClientInfo extends Component
|
|||||||
|
|
||||||
public function mount()
|
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);
|
MultiDB::setDb($this->company->db);
|
||||||
|
|
||||||
$this->client = $this->contact->client;
|
$this->client = $this->contact->client;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user