contact card create message..

This commit is contained in:
Cüneyt Şentürk 2021-01-19 14:48:47 +03:00
parent 9269b93e3d
commit 2dbb40ff7c

View File

@ -442,6 +442,7 @@ abstract class DocumentForm extends Base
return $textCreateNewContact; return $textCreateNewContact;
} }
/*
$default_key = Str::plural(config('type.' . $type . '.contact_type'), 2); $default_key = Str::plural(config('type.' . $type . '.contact_type'), 2);
$translation = $this->getTextFromConfig($type, 'create_new_contact', $default_key, 'trans_choice'); $translation = $this->getTextFromConfig($type, 'create_new_contact', $default_key, 'trans_choice');
@ -452,11 +453,9 @@ abstract class DocumentForm extends Base
$translation, $translation,
]; ];
} }
*/
return [ return 'general.add_new';
'general.form.add_new',
'general.customers',
];
} }
protected function getTextEditContact($type, $textEditContact) protected function getTextEditContact($type, $textEditContact)