From 2dbb40ff7c67ac1bb8c5e5f8b67870b56fd55f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 19 Jan 2021 14:48:47 +0300 Subject: [PATCH] contact card create message.. --- app/Abstracts/View/Components/DocumentForm.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Abstracts/View/Components/DocumentForm.php b/app/Abstracts/View/Components/DocumentForm.php index c8b12a186..f97a88c16 100644 --- a/app/Abstracts/View/Components/DocumentForm.php +++ b/app/Abstracts/View/Components/DocumentForm.php @@ -442,6 +442,7 @@ abstract class DocumentForm extends Base return $textCreateNewContact; } + /* $default_key = Str::plural(config('type.' . $type . '.contact_type'), 2); $translation = $this->getTextFromConfig($type, 'create_new_contact', $default_key, 'trans_choice'); @@ -452,11 +453,9 @@ abstract class DocumentForm extends Base $translation, ]; } + */ - return [ - 'general.form.add_new', - 'general.customers', - ]; + return 'general.add_new'; } protected function getTextEditContact($type, $textEditContact)