From: soufiane Date: Thu, 15 Jun 2023 15:28:57 +0000 (+0200) Subject: wait #6038 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=86f2f2eab616d2eb64e254d7c7837b0ab716e513;p=pmi.git wait #6038 @0:10 --- diff --git a/app/Models/ClientUser.php b/app/Models/ClientUser.php deleted file mode 100644 index 1cef4c0..0000000 --- a/app/Models/ClientUser.php +++ /dev/null @@ -1,36 +0,0 @@ -notify((new ResetPasswordNotification($token))->locale('fr')); - } - - /** - * Get the e-mail address where password reset links are sent. - * - * @return string - */ - public function getEmailForPasswordReset() - { - return $this->email; - } -} diff --git a/resources/views/partials/form.blade.php b/resources/views/partials/form.blade.php index baf6041..adc9f89 100644 --- a/resources/views/partials/form.blade.php +++ b/resources/views/partials/form.blade.php @@ -3,6 +3,8 @@ if(isset($ga) && !$ga){ $gaattrs=''; } + + if(\App\Models\Client::getClientConnected()) $client = \App\Models\Client::getClientConnected() @endphp @if ($page->get('form')) @push('scripts') @@ -35,27 +37,27 @@ @switch($field['type']) @case('name') {{ __('Nom')}}{{ $asx}} - + @break @case('firstname') {{ __('Prénom')}}{{ $asx}} - + @break @case('company') {{ __('Société')}}{{ $asx}} - + @break @case('phone') {{ __('Téléphone')}}{{ $asx}} - + @break @case('email') {{ __('E-mail')}}{{ $asx}} - + @break @case('ref') @@ -65,7 +67,7 @@ @case('sku') {{ __('Numéro de série')}}{{ $asx}} - + @break @case('subject')