contact modal updated

This commit is contained in:
Cihan Şentürk
2022-06-07 17:19:49 +03:00
parent 688363f7b4
commit 9e77c9e5d5
9 changed files with 346 additions and 47 deletions

View File

@ -603,20 +603,18 @@ abstract class Form extends Component
return $textCreateNewContact;
}
/*
$default_key = Str::plural(config('type.document.' . $type . '.contact_type'), 2);
$translation = $this->getTextFromConfig($type, 'create_new_contact', $default_key, 'trans_choice');
if (!empty($translation)) {
return [
'general.form.add_new',
'general.title.new',
$translation,
];
}
*/
return 'general.add_new';
return 'general.title.add';
}
protected function getTextEditContact($type, $textEditContact)