diff --git a/app/Ninja/Repositories/ClientRepository.php b/app/Ninja/Repositories/ClientRepository.php index 2a52767877..5ff208f362 100644 --- a/app/Ninja/Repositories/ClientRepository.php +++ b/app/Ninja/Repositories/ClientRepository.php @@ -49,7 +49,6 @@ class ClientRepository { if (!$publicId || $publicId == "-1") { $client = Client::createNew(); - $client->currency_id = 1; $contact = Contact::createNew(); $contact->is_primary = true; $contact->send_invoice = true; diff --git a/config/former.php b/config/former.php index 81fb688390..e6f0f3c77c 100644 --- a/config/former.php +++ b/config/former.php @@ -45,7 +45,7 @@ //////////////////////////////////////////////////////////////////// // Where Former should look for translations - 'translate_from' => 'validation.attributes', + 'translate_from' => 'texts', // Whether text that comes out of the translated // should be capitalized (ex: email => Email) automatically diff --git a/resources/views/accounts/details.blade.php b/resources/views/accounts/details.blade.php index fe29160a45..3100a99ef9 100644 --- a/resources/views/accounts/details.blade.php +++ b/resources/views/accounts/details.blade.php @@ -38,7 +38,7 @@ @if (Auth::user()->isPro() && Utils::isNinja()) {{ Former::setOption('capitalize_translations', false) }} {!! Former::text('subdomain')->placeholder('texts.www')->onchange('onSubdomainChange()') !!} - @endif + @endif {!! Former::text('id_number') !!} {!! Former::text('vat_number') !!}