01 2020
This commit is contained in:
parent
f117f79bb9
commit
3711fcc8d0
101 changed files with 4027 additions and 918 deletions
|
|
@ -34,10 +34,11 @@
|
|||
"Confirm Password": "Passwort best\u00e4tigen",
|
||||
"Confirm E-Mail": "E-Mail wiederholen",
|
||||
"E-Mail Address": "E-Mail Adresse",
|
||||
"Confirm E-Mail Address": "E-Mail Adresse wiederholen",
|
||||
"Forgot your Password?": "Passwort vergessen?",
|
||||
"Login": "Einloggen",
|
||||
"Logout": "Ausloggen",
|
||||
"Password": " Passwort ",
|
||||
"Password": "Passwort",
|
||||
"Register": "Registrieren",
|
||||
"Remember Me": "Angemeldet bleiben",
|
||||
"Reset Password": "Passwort zur\u00fccksetzen",
|
||||
|
|
@ -95,7 +96,8 @@
|
|||
"E-Mail address can not be changed!": "E-Mail Adresse ist nicht \u00e4nderbar!",
|
||||
"E-Mail address can not be changed here!": "E-Mail Adresse kann hier nicht ge\u00e4ndert werden!",
|
||||
"Thank you for your registration!": "Vielen Dank f\u00fcr Ihre Registrierung!",
|
||||
"We have sent you an e-mail with a link to activate your data.": "Wir haben Ihnen eine E-Mail mit einem Link zur Freischaltung Ihrer Daten geschickt.",
|
||||
"We have sent you an e-mail with a link to activate your data.": "Wir haben Dir eine E-Mail mit einem Link zur Freischaltung Deines Accounts gesendet.",
|
||||
"Please check your emails and confirm the link.": "Bitte rufe Deine E-Mails ab und bestätige den Link.",
|
||||
"back to the homepage": "zur\u00fcck zur Startseite",
|
||||
"You have successfully verified your account!": "Sie haben Ihr Konto erfolgreich verifiziert!",
|
||||
"Now check your data and release the data.": "\u00dcberpr\u00fcfen Sie jetzt Ihre Daten und geben Sie die Daten frei.",
|
||||
|
|
@ -105,6 +107,7 @@
|
|||
"Data released": "Daten freigeben",
|
||||
"Data released now": "Daten jetzt freigeben",
|
||||
"E-Mail verified": "E-Mail verifiziert",
|
||||
"E-Mail not verified": "E-Mail nicht verifiziert",
|
||||
"Privacy policy approved": "Datenschutzerkl\u00e4rung zugestimmt",
|
||||
"Consent for further information": "Einwilligung f\u00fcr weitere Informationen",
|
||||
"at": "am",
|
||||
|
|
@ -157,6 +160,7 @@
|
|||
"Now assign a password.": "Vergeben Sie jetzt Ihr Passwort für den Zugriff auf Ihren Account.",
|
||||
"to your data":"zu Deinen Daten",
|
||||
"Your registration has already been completed.":"Deine Registrierung wurde bereits abgeschlossen.",
|
||||
"The link to register is no longer active.":"Der Link zur Registrierung ist nicht mehr aktiv, oder die Registrierung ist bereits abgeschlossen",
|
||||
"go to login": "zur Anmeldung",
|
||||
"Declaration of consent": "Einverst\u00e4ndniserkl\u00e4rung: Hiermit willige ich in die Verarbeitung der von mir freiwillig angegebenen personenbezogenen Daten ein. Ich wurde dar\u00fcber informiert, dass ich diese Einwilligung jederzeit widerrufen kann.",
|
||||
"Please confirm your data first.": "Bitte überprüfen Sie Ihre Daten als erstes und bestätigen Sie diese.",
|
||||
|
|
|
|||
|
|
@ -4,10 +4,11 @@
|
|||
'reset_passwort' => 'Passwort zurücksetzen',
|
||||
'mail_confirm' => 'E-Mail bestätigen',
|
||||
'subject_activate' => 'Account aktivieren',
|
||||
'account_active' => 'Account freigeschaltet',
|
||||
'subject_reset' => 'Passwort zurücksetzen',
|
||||
'salutation' => 'Sehr geehrter Kunde,',
|
||||
'dear_mrs' => 'Sehr geehrte Frau,',
|
||||
'dear_sir' => 'Sehr geehrter Herr,',
|
||||
'salutation' => 'Hallo Kunde',
|
||||
'dear_mrs' => 'Hallo',
|
||||
'dear_sir' => 'Hallo',
|
||||
'hello' => 'Hallo',
|
||||
'greetings' => 'Mit freundlichen Grüßen',
|
||||
'sender' => 'Dein mivita.care Team',
|
||||
|
|
@ -21,16 +22,17 @@
|
|||
'phone' => 'Telefon',
|
||||
'subject' => 'Betreff',
|
||||
'message' => 'Nachricht',
|
||||
'active_copy1line' => 'Sie erhalten diese E-Mail, weil wir eine Anfrage zur Änderung Ihrer E-Mail-Adresse für Ihr Konto erhalten haben.',
|
||||
'copy2line' => 'Oder kopieren Sie diesen Link in die Adressleiste Ihres Browsers.',
|
||||
'copy3line' => 'Für weitere Fragen stehen wir Ihnen gerne zur Verfügung.',
|
||||
'email_verify' => 'Bestätigen Sie Ihre E-Mail-Adresse',
|
||||
'verify_e_mail' => 'Bestätigen Sie Ihre Daten und E-Mail-Adresse',
|
||||
'verify_copy1line' => 'Wir haben Daten über Sie in unserem System gespeichert. Bitte folgen Sie dem unten stehenden Link um Ihre E-Mail-Adresse zu bestätigen. Weitherhin können Sie Ihre Daten ändern oder auch löschen.',
|
||||
'email_verify_copy1line' => 'Vielen Dank für die Erstellung eines Accounts. Bitte folgen Sie dem unten stehenden Link, um Ihre E-Mail-Adresse zu bestätigen.',
|
||||
'active_copy1line' => 'Du erhältst diese E-Mail, weil wir eine Anfrage zur Änderung Deiner E-Mail-Adresse für Dein Konto erhalten haben.',
|
||||
'copy2line' => 'Oder kopiere diesen Link in die Adressleiste Deines Browsers.',
|
||||
'copy3line' => 'Für weitere Fragen stehen wir Dir gerne zur Verfügung.',
|
||||
'email_verify' => 'Bestätige Deine E-Mail-Adresse',
|
||||
'verify_e_mail' => 'Bestätige Deine Daten und E-Mail-Adresse',
|
||||
'verify_copy1line' => 'Wir haben Daten über Dich in unserem System gespeichert. Bitte folge dem unten stehenden Link um Deine E-Mail-Adresse zu bestätigen. Weitherhin kannst Du Deine Daten ändern oder auch löschen.',
|
||||
'email_verify_copy1line' => 'Vielen Dank für Deine Registrierung. Bitte folge dem unten stehenden Link, um Deine E-Mail-Adresse zu bestätigen.',
|
||||
'copy_to_browser' => 'Oder kopiere diesen Link in die Adressleiste Deines Browsers.',
|
||||
'activate_copy' => 'Bitte bestätige Deine E-Mail und aktiviere Deinen Account über diesen Link:',
|
||||
'reset_pass_copy1line' => 'Du erhälst diese E-Mail, weil wir eine Anfrage zum Zurücksetzen des Passworts für Dein Konto erhalten haben.',
|
||||
'account_active_copy1line' => 'Dein Account wurde nach erfolgreicher Prüfung freigeschatet. Deinen Beratervertag findest du auf der Startseite im Loginbereich von my.mivita.care. Melde dich mit deinen Benutzerdaten an, um weitere Schritte zu unternehmen.',
|
||||
'reset_pass_copy1line' => 'Du erhälst diese E-Mail, weil wir eine Anfrage zum Zurücksetzen Deines Passworts für Dein Konto erhalten haben.',
|
||||
'checkout_copy1line' => 'vielen Dank für Deine Bestellung bei mivita.care. Nachfolgend haben wir zur Kontrolle Deine Bestellung noch einmal aufgelistet.',
|
||||
'checkout_copy3line' => 'Bei Fragen sind wir jederzeit für Dich da.',
|
||||
'status_copy1line' => 'Status zu Deiner Bestellung auf mivita.care',
|
||||
|
|
|
|||
|
|
@ -147,18 +147,22 @@ return [
|
|||
*/
|
||||
|
||||
'attributes' => [
|
||||
'salutation' => 'Anrede',
|
||||
'name' => 'Name',
|
||||
'username' => 'Benutzername',
|
||||
'email' => 'E-Mail-Adresse',
|
||||
'email-confirm' => 'E-Mail-Adresse wiederholen',
|
||||
'first_name' => 'Vorname',
|
||||
'last_name' => 'Nachname',
|
||||
'password' => 'Passwort',
|
||||
'password_confirmation' => 'Passwort-Bestätigung',
|
||||
'password-confirm' => 'Passwort-Bestätigung',
|
||||
'city' => 'Stadt',
|
||||
'country' => 'Land',
|
||||
'address' => 'Adresse',
|
||||
'phone' => 'Telefonnummer',
|
||||
'mobile' => 'Handynummer',
|
||||
'mobil' => 'Mobiltelefon',
|
||||
'age' => 'Alter',
|
||||
'sex' => 'Geschlecht',
|
||||
'gender' => 'Geschlecht',
|
||||
|
|
@ -178,6 +182,7 @@ return [
|
|||
'available' => 'verfügbar',
|
||||
'size' => 'Größe',
|
||||
'user_shop_name' => 'Shop Name',
|
||||
'birthday' => 'Geburtsdatum',
|
||||
'user_shop_active' => 'Nutzungsbedinungen',
|
||||
'g-recaptcha-response' => 'google reCaptcha',
|
||||
'accepted_data_protection' => 'Einwilligung Datenschutzerklärung',
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<td>{{ $value->pos }}</td>
|
||||
<td>{{ $value->name }}</td>
|
||||
<td>{{ $value->getTranNames() }}</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="far fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span>@endif</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>@endif</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_product_attribute_delete', [$value->id]) }}" onclick="return confirm('{{__('Really delete entry?')}}');"><i class="far fa-trash-alt"></i></a></td>
|
||||
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -36,9 +36,9 @@
|
|||
<br>
|
||||
<a href="{{ route('admin_product_category_image_delete', [$category->iq_image->id, $category->id]) }}" class="btn btn-sm btn-primary mt-2 mb-2" onclick="return confirm('Bild wirklich löschen?');">Bild löschen</a>
|
||||
@if($category->iq_image->active)
|
||||
<a href="{{ route('admin_product_category_image_attribute', [$category->iq_image->id, 'active', 0]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-success"><i class="far fa-check"></i></span> <i class="far fa-sync"></i></a>
|
||||
<a href="{{ route('admin_product_category_image_attribute', [$category->iq_image->id, 'active', 0]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span> <i class="far fa-sync"></i></a>
|
||||
@else
|
||||
<a href="{{ route('admin_product_category_image_attribute', [$category->iq_image->id, 'active', 1]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span> <i class="far fa-sync"></i></a>
|
||||
<a href="{{ route('admin_product_category_image_attribute', [$category->iq_image->id, 'active', 1]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span> <i class="far fa-sync"></i></a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<td>@if($value->parent) {{ $value->name }} @else - @endif</td>
|
||||
<td>{{ $value->headline }}</td>
|
||||
<!-- <td>{{ $value->getTranNames() }}</td> -->
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="far fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span>@endif</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>@endif</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_product_category_delete', [$value->id]) }}" onclick="return confirm('{{__('Really delete entry?')}}');"><i class="far fa-trash-alt"></i></a></td>
|
||||
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<td>{{ $value->de }}</td>
|
||||
<td>{{ $value->code }}</td>
|
||||
<td>{{ $value->phone }}</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="far fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span>@endif</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>@endif</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
@endif
|
||||
</h4>
|
||||
|
||||
{!! Form::open(['url' => route('admin_lead_store'), 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
{!! Form::open(['url' => route('admin_lead_store')."?show=".$show, 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
|
||||
<div class="text-left mt-0 mb-2">
|
||||
<button type="submit" class="btn btn-submit btn-primary">{{ __('save') }}</button>
|
||||
|
|
@ -33,9 +33,12 @@
|
|||
|
||||
@if($m_data_load)
|
||||
@include('admin.lead.m_data_form_edit')
|
||||
@else
|
||||
@include('admin.lead.m_data_form')
|
||||
@endif
|
||||
|
||||
@include('admin.lead.m_register_data')
|
||||
|
||||
@if(!$m_data_load)
|
||||
@include('admin.lead.m_data_form')
|
||||
@endif
|
||||
|
||||
@if(!$user->id || $user->id === 'new')
|
||||
|
|
@ -56,7 +59,7 @@
|
|||
<!-- Modal template -->
|
||||
<div class="modal fade" id="modals-edit-m-data">
|
||||
<div class="modal-dialog">
|
||||
<form class="modal-content" action="{{route('admin_lead_edit', [$user->id])}}" method="post">
|
||||
<form class="modal-content" action="{{route('admin_lead_edit', [$user->id])}}?show={{$show}}" method="post">
|
||||
@csrf
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title"> {{__('Inhalte mivita')}} <span class="font-weight-light">{{__('create/edit')}}</span></h5>
|
||||
|
|
@ -65,8 +68,8 @@
|
|||
<div class="modal-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="name" class="form-label">{{__('Key')}}</label>
|
||||
<input type="text" class="form-control" name="edit_m_data_key" placeholder="{{__('Key')}}">
|
||||
<label for="name" class="form-label">{{__('Passwort')}}</label>
|
||||
<input type="text" class="form-control" name="edit_m_data_key" placeholder="{{__('Passwort')}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -10,14 +10,20 @@
|
|||
</div>
|
||||
@endif
|
||||
<div class="card mb-4">
|
||||
|
||||
|
||||
<h5 class="card-header">
|
||||
{{ __('mivita interne Daten') }}
|
||||
<a href="#" class="@if($show !== 'check_lead') collapsed @endif" data-toggle="collapse" data-target="#collapseMDataForm" aria-expanded="@if($show !== 'check_lead') false @else true @endif" aria-controls="collapseMDataForm">
|
||||
<i class="fa fa-caret-expand"></i> {{ __('mivita interne Daten') }}
|
||||
</a>
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn icon-btn btn-sm btn-primary" data-toggle="modal" data-target="#modals-edit-m-data">
|
||||
<span class="far fa-edit"></span>
|
||||
</button>
|
||||
</div>
|
||||
</h5>
|
||||
<div class="collapse @if($show === 'check_lead') show @endif" id="collapseMDataForm">
|
||||
|
||||
<div class="card-body mb-4 pb-1">
|
||||
<div class="table-responsive">
|
||||
<table class="table card-table m-0">
|
||||
|
|
@ -48,5 +54,6 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,9 @@
|
|||
<label class="form-label" for="m_notes">{{ __('weitere Daten') }}</label>
|
||||
{{ Form::textarea('m_notes', $user->account->m_notes , array('placeholder'=>__('weitere Daten'), 'class'=>'form-control', 'id'=>'m_notes', 'rows'=>4)) }}
|
||||
</div>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-submit btn-primary">{{ __('save') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
153
resources/views/admin/lead/m_register_data.blade.php
Normal file
153
resources/views/admin/lead/m_register_data.blade.php
Normal file
|
|
@ -0,0 +1,153 @@
|
|||
|
||||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
<a href="#" class="@if($show !== 'check_lead') collapsed @endif" data-toggle="collapse" data-target="#collapseMRegister" aria-expanded="@if($show !== 'check_lead') false @else true @endif" aria-controls="collapseMRegister">
|
||||
<i class="fa fa-caret-expand"></i> {{__('Activities') }}
|
||||
</a>
|
||||
</h5>
|
||||
<div class="collapse @if($show === 'check_lead') show @endif" id="collapseMRegister">
|
||||
|
||||
<div class="card-body mb-2 pb-1">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
@if($user->payment_shop)
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Berater-Shop aktiv')}}</strong> {{__('bis zum')}}: {{ $user->getPaymentShopDateFormat() }}</p>
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('Berater-Shop inaktiv')}}</strong></p>
|
||||
@endif
|
||||
|
||||
@if($user->payment_account )
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Berater-Account aktiv')}}</strong> {{__('bis zum:')}} {{ $user->getPaymentAccountDateFormat() }}</p>
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('Berater-Account inaktiv')}}</strong></p>
|
||||
@endif
|
||||
|
||||
@if($user->active == 1)
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Daten vollständig, freigeschaltet')}}</strong>: {{ $user->getActiveDateFormat() }}</p>
|
||||
@if($user->files->count())
|
||||
@foreach($user->files()->whereIdentifier('contract')->get() as $file)
|
||||
<a class="btn btn-secondary" href="{{ route('storage_file', [$file->id, 'user']) }}" target="_blank">MIVITA_Beratervertrag.pdf</a>
|
||||
@endforeach
|
||||
@endif
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('Daten nicht vollständigt, inaktiv')}}</strong><br>
|
||||
@if($user->release_account)
|
||||
Registrierung abgeschlossen {{ $user->getReleaseAccountFormat() }}<br><br>
|
||||
<a class="btn btn-info" href="{{route('admin_lead_new_released', $user->id)}}" onclick="return confirm('Alle Daten vollständig und Berater freischalten?');">Daten vollständigt => Berater freischalten</a>
|
||||
@else
|
||||
<span class="text-danger">Berater muss Registrierung noch abschließen</span></p>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
@if($user->account_id)
|
||||
@if($user->agreement)
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Einverständniserklärung')}}</strong>: {{ $user->getAgreementFormat() }}
|
||||
</p>
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('Einverständniserklärung')}}</strong> {{ __('nicht akzeptiert') }}</p>
|
||||
@endif
|
||||
@if($user->account->data_protection)
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Privacy policy approved')}}</strong>: {{ $user->account->getDataProtectionFormat() }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@if($user->confirmed == 1)
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('E-Mail verified')}}</strong>: {{ $user->getConfirmationDateFormat() }}</p>
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('E-Mail not verified')}}</strong></p>
|
||||
<a class="btn btn-warning btn-sm" href="{{route('admin_lead_new_mail_verified', $user->id)}}">Neue E-Mail für die Registrierung zusenden</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
@if($user->files->count())
|
||||
<div class="card-body mb-4 pb-1">
|
||||
<div class="table-responsive">
|
||||
<table class="table card-table m-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Ausweisdaten</th>
|
||||
<th>Name</th>
|
||||
<th>Größe</th>
|
||||
<th class="text-right">löschen</th>
|
||||
</tr>
|
||||
@foreach($user->files()->whereIdentifier('id_card')->get() as $file)
|
||||
<tr>
|
||||
<td><a target="_blank" href="{{ route('storage_file', [$file->id, 'user']) }}">
|
||||
@if(strtolower($file->ext ) === 'pdf')
|
||||
<object data="{{ route('storage_file', [$file->id, 'user']) }}" type="application/pdf" width="160"></object>
|
||||
@else
|
||||
<img src="{{ route('storage_file', [$file->id, 'user']) }}" alt="" width="160">
|
||||
@endif
|
||||
</a>
|
||||
</td>
|
||||
<td><a target="_blank" href="{{ route('storage_file', [$file->id, 'user']) }}">{{ $file->original_name }}</a></td>
|
||||
<td>{{ $file->formatBytes() }}</td>
|
||||
<td class="text-right">
|
||||
<a href="{{ route('wizard_delete_file', [$file->id, 'upload']) }}" class="btn btn-sm" onclick="return confirm('Datei wirklich löschen?');">
|
||||
<span class="ion ion-md-trash text-danger"></span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table class="table card-table m-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Gewerbenachweis</th>
|
||||
<th>Name</th>
|
||||
<th>Größe</th>
|
||||
<th class="text-right">löschen</th>
|
||||
</tr>
|
||||
@foreach($user->files()->whereIdentifier('business_license')->get() as $file)
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_blank" href="{{ route('storage_file', [$file->id, 'user']) }}">
|
||||
@if(strtolower($file->ext ) == 'pdf')
|
||||
<object data="{{ route('storage_file', [$file->id, 'user']) }}" type="application/pdf" width="160"></object>
|
||||
@else
|
||||
<img src="{{ route('storage_file', [$file->id, 'user']) }}" alt="" width="160">
|
||||
@endif
|
||||
</a>
|
||||
</td>
|
||||
<td><a target="_blank" href="{{ route('storage_file', [$file->id, 'user']) }}">{{ $file->original_name }}</a></td>
|
||||
<td>{{ $file->formatBytes() }}</td>
|
||||
<td class="text-right">
|
||||
<a href="{{ route('wizard_delete_file', [$file->id, 'upload']) }}" class="btn btn-sm" onclick="return confirm('Datei wirklich löschen?');">
|
||||
<span class="ion ion-md-trash text-danger"></span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
<td>{{ $value->name }}</td>
|
||||
<td>{{ $value->getFormattedMargin() }}</td>
|
||||
<td>{{ $value->getTranNames() }}</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="far fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span>@endif</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>@endif</td>
|
||||
<!-- <td><a class="text-danger" href="{{ route('admin_product_attribute_delete', [$value->id]) }}" onclick="return confirm('{{__('Really delete entry?')}}');"><i class="far fa-trash-alt"></i></a></td> -->
|
||||
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@
|
|||
<br>
|
||||
<a href="{{ route('admin_product_image_delete', [$image->id, $product->id]) }}" class="btn btn-sm btn-primary mt-2 mb-2" onclick="return confirm('Bild wirklich löschen?');">Bild löschen</a>
|
||||
@if($image->active)
|
||||
<a href="{{ route('admin_product_image_attribute', [$image->id, 'active', 0]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-success"><i class="far fa-check"></i></span> <i class="far fa-sync"></i></a>
|
||||
<a href="{{ route('admin_product_image_attribute', [$image->id, 'active', 0]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span> <i class="far fa-sync"></i></a>
|
||||
@else
|
||||
<a href="{{ route('admin_product_image_attribute', [$image->id, 'active', 1]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span> <i class="far fa-sync"></i></a>
|
||||
<a href="{{ route('admin_product_image_attribute', [$image->id, 'active', 1]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span> <i class="far fa-sync"></i></a>
|
||||
@endif
|
||||
<br>
|
||||
<div class="input-group input-group-sm">
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
{{ $category->category->name }}
|
||||
@endforeach
|
||||
</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="far fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span>@endif</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>@endif</td>
|
||||
<td><a class="text-info" href="{{ route('admin_product_copy', [$value->id]) }}" onclick="return confirm('{{__('Eintrag kopieren?')}}');"><i class="far fa-copy"></i></a>
|
||||
<a class="text-danger" href="{{ route('admin_product_delete', [$value->id]) }}" onclick="return confirm('{{__('Really delete entry?')}}');"><i class="far fa-trash-alt"></i></a></td>
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>{{ $value->name }}</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="far fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span>@endif</td>
|
||||
<td data-sort="{{ $value->active }}">@if($value->active) <span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>@else<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>@endif</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_shipping_delete', [$value->id]) }}" onclick="return confirm('{{__('Really delete entry?')}}');"><i class="far fa-trash-alt"></i></a></td>
|
||||
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@
|
|||
<br>
|
||||
<a href="{{ route('admin_sites_image_delete', [$value->slug, $value->iq_image->id]) }}" class="btn btn-sm btn-primary mt-2 mb-2" onclick="return confirm('Bild wirklich löschen?');">Bild löschen</a>
|
||||
@if($value->iq_image->active)
|
||||
<a href="{{ route('admin_sites_image_attribute', [$value->slug, $value->iq_image->id, 'active', 0]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-success"><i class="far fa-check"></i></span> <i class="far fa-sync"></i></a>
|
||||
<a href="{{ route('admin_sites_image_attribute', [$value->slug, $value->iq_image->id, 'active', 0]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span> <i class="far fa-sync"></i></a>
|
||||
@else
|
||||
<a href="{{ route('admin_sites_image_attribute', [$value->slug, $value->iq_image->id, 'active', 1]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-danger"><i class="far fa-times"></i></span> <i class="far fa-sync"></i></a>
|
||||
<a href="{{ route('admin_sites_image_attribute', [$value->slug, $value->iq_image->id, 'active', 1]) }}" class="btn btn-sm btn-default mt-2 mb-2"><span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span> <i class="far fa-sync"></i></a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
<!-- Form -->
|
||||
<form method="POST" class="my-5" action="{{ route('login') }}" aria-label="{{ __('Login') }}">
|
||||
@csrf
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{ __('E-Mail Address') }}</label>
|
||||
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required autofocus>
|
||||
|
|
|
|||
228
resources/views/emails/info.blade.php
Normal file
228
resources/views/emails/info.blade.php
Normal file
|
|
@ -0,0 +1,228 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>mivita.care</title>
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 600px;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
border: 0;
|
||||
outline: none;
|
||||
color: #919f7a;
|
||||
}
|
||||
a:hover {
|
||||
color: #b6b600;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
td, h1, h2, h3 {
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #37302d;
|
||||
background: #ffffff;
|
||||
font-size: 15px;
|
||||
line-height: 26px
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: separate !important;
|
||||
}
|
||||
|
||||
.headline {
|
||||
color: #37302d;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.sub_headline {
|
||||
color: #788662;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.force-full-width {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid #b7c59e;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
@media screen {
|
||||
/*Thanks Outlook 2013! http://goo.gl/XLxpyl*/
|
||||
td, h1, h2, h3 {
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="only screen and (max-width: 480px)">
|
||||
/* Mobile styles */
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
table[class="w320"] {
|
||||
width: 320px !important;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
<!--[if mso]>
|
||||
<style type="text/css">
|
||||
body, table, td {
|
||||
font-family: Helvetica, Arial, sans-serif !important;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
|
||||
</head>
|
||||
<body class="body" style="padding:0; margin:0; display:block; background:#f8f8f8; -webkit-text-size-adjust:none" bgcolor="#f8f8f8">
|
||||
|
||||
<div style="display: none; mso-hide: all; width: 0px; height: 0px; max-width: 0px; max-height: 0px; font-size: 0px; line-height: 0px;">
|
||||
{{ $copy1line }}
|
||||
</div>
|
||||
|
||||
<table align="left" cellpadding="0" cellspacing="0" width="100%" height="100%">
|
||||
<tr>
|
||||
<td align="left" valign="top" bgcolor="#f8f8f8" width="100%">
|
||||
<br>
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700" class="w320">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style=" text-align:center;">
|
||||
<center>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="">
|
||||
<tbody class="">
|
||||
<tr class="">
|
||||
<td align="center" valign="middle" style="font-size: 0px;" class="">
|
||||
<center>
|
||||
<picture style="text-align: center">
|
||||
<img src="https://my.mivita.care/images/logo_mivita.png" alt="mivita.care" style="border:none" width="230">
|
||||
</picture>
|
||||
</center>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding="10" style="padding: 10px;" cellspacing="0" border="0" width="100%" bgcolor="#ffffff">
|
||||
<tr>
|
||||
<td class="headline">
|
||||
<b>{{ $salutation }} </b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
{!! nl2br($copy1line) !!}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="word-wrap:break-word;background:transparent;font-size:0px;padding:10px 25px;padding-top:15px;padding-bottom:15px;padding-right:40px;padding-left:40px;" align="center" valign="top" background="data:image/gif;base64,">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" align="center" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="border:none;border-radius:20px;color:#ffffff;cursor:auto;padding:15px 25px;" align="center" valign="middle" bgcolor="#b5c49b">
|
||||
<p style="text-decoration:none;background:#b5c49b;color:#ffffff;font-family:Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;text-transform:none;margin:0px;text-align: center">
|
||||
<a href="{{ $url }}" style="color:#ffffff;font-size:14px;font-weight:bold;text-align:center;text-decoration:none;-webkit-text-size-adjust:none;">{{ $button }}</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;text-align: center">
|
||||
<span style="color: #cabda9; font-weight: normal; font-size: 13px; text-decoration: underline; word-wrap: break-word;white-space: pre-line;">{{ $url }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="2" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
{!! nl2br($content) !!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<table cellpadding="0" cellspacing="0" class="force-full-width"
|
||||
bgcolor="#f8f8f8" style="margin: 0 auto; text-align: center">
|
||||
<tr>
|
||||
<td style="color:#7B7B7E; font-size:14px; text-align: center">
|
||||
<p>
|
||||
{{__('email.footer_copy1')}}
|
||||
</p>
|
||||
<br>
|
||||
<a href="https://www.mivita.care" style="color: #7B7B7E; text-decoration: underline;">www.mivita.care</a>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#bbbbbb; font-size:12px; text-align: center">
|
||||
<p>{{__('email.footer_copy2')}}</p>
|
||||
<a href="https://www.mivita.care/datenschutz">Datenschutzerklärung</a> <br>
|
||||
<p>{{__('email.footer_copy3')}}</p>
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -16,6 +16,26 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
@if($user->payment_account && $user->daysActiveAccount() <= 29)
|
||||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
<h4>{{__('Mitgliedschaft Jahresbeitrag') }}</h4>
|
||||
|
||||
|
||||
@if($user->daysActiveAccount() < 0)
|
||||
<h5 class="alert badge-danger"><strong>Achtung:</strong> Deine Mitgliedschaft ist vor {{ $user->daysActiveAccount()*-1 }} Tagen ausgelaufen, bitte aktualisiere jetzt Deine Zahlung!</h5>
|
||||
@elseif($user->daysActiveAccount() < 14)
|
||||
<h5 class="alert badge-warning"><strong>Achtung:</strong> Deine Mitgliedschaft läuft in {{$user->daysActiveAccount()}} Tagen aus, bitte aktualisiere jetzt Deine Zahlung!</h5>
|
||||
@else
|
||||
<h5 class="alert badge-default"><strong>Achtung:</strong> Deine Mitgliedschaft läuft in {{$user->daysActiveAccount()}} Tagen aus, bitte aktualisiere jetzt Deine Zahlung!</h5>
|
||||
{{--
|
||||
TODO SEPA
|
||||
--}}
|
||||
@endif
|
||||
<p>Erst wenn Dein Jahresbeitrag bei uns eingeht wird Deine Mitgliedschaft automastisch um ein Jahr verlängert.</p>
|
||||
<p>Die Verlängerung gibt ab erstes Abschlussdatum ein weiteres volles Jahr, bis zum <strong>{{$user->modifyActiveAccount()}}</strong></p>
|
||||
<a href="" class="btn btn-primary mb-3">Mitgliedschaft jetzt hier verlängern</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if($user->active == 1)
|
||||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
|
|
@ -42,33 +62,47 @@
|
|||
<strong>{{__('Shop nicht gebucht')}}</strong></p>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
<h4>{{__('Activities') }}</h4>
|
||||
|
||||
@if($user->payment_account )
|
||||
@if($user->isActiveAccount() )
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Account aktiv')}}</strong> {{__('bis zum:')}} {{ $user->getPaymentAccountDateFormat() }}</p>
|
||||
<strong>{{__('Berater-Mitgliedschaft aktiv')}}</strong> {{__('bis zum:')}} {{ $user->getPaymentAccountDateFormat() }}</p>
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('Account inaktiv')}}</strong></p>
|
||||
<strong>{{__('Berater-Account inaktiv')}} </strong>
|
||||
@if($user->payment_account)
|
||||
{{__('abgelaufen am')}}: {{ $user->getPaymentAccountDateFormat() }}
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if($user->payment_shop)
|
||||
@if($user->isActiveShop())
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Shop aktiv')}}</strong> {{__('bis zum')}}: {{ $user->getPaymentShopDateFormat() }}</p>
|
||||
<strong>{{__('Berater-Online-Shop aktiv')}}</strong> {{__('bis zum')}}: {{ $user->getPaymentShopDateFormat() }}</p>
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('Shop inaktiv')}}</strong></p>
|
||||
<strong>{{__('Berater-Shop inaktiv')}}</strong>
|
||||
@if($user->payment_shop)
|
||||
{{__('abgelaufen am')}}: {{ $user->getPaymentShopDateFormat() }}
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
<hr>
|
||||
|
||||
|
||||
|
||||
@if($user->active == 1)
|
||||
@if($user->files->count())
|
||||
@foreach($user->files()->whereIdentifier('contract')->get() as $file)
|
||||
<a class="btn btn-secondary mb-3" href="{{ route('storage_file', [$file->id, 'user']) }}" target="_blank">MIVITA_Beratervertrag.pdf</a>
|
||||
@endforeach
|
||||
@endif
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Daten vervollständigt')}}</strong> {{__('at')}}: {{ $user->getActiveDateFormat() }}</p>
|
||||
<strong>{{__('Daten vollständig, freigeschaltet')}}</strong> {{__('at')}}: {{ $user->getActiveDateFormat() }}</p>
|
||||
|
||||
@endif
|
||||
|
||||
@if($user->account_id)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="{{ app()->getLocale() }}" class="default-style">
|
||||
<html lang="{{ app()->getLocale() }}" class="default-style layout-collapsed">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1">
|
||||
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/growl/growl.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/libs/dropzone/dropzone.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/bootstrap-select/bootstrap-select.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/select2/select2.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/datatables/datatables.css') }}">
|
||||
|
|
@ -39,6 +38,8 @@
|
|||
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/libs/summernote/dist/summernote-bs4.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/libs/slim-image-cropper/slim/slim.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/libs/dropzone/dropzone.css') }}">
|
||||
|
||||
|
||||
|
||||
<!-- Layout helpers -->
|
||||
|
|
@ -102,7 +103,6 @@
|
|||
<script src="{{ mix('/vendor/js/sidenav.js') }}"></script>
|
||||
<script src="{{ mix('/vendor/libs/growl/growl.js') }}"></script>
|
||||
|
||||
<script src="{{asset('/vendor/libs/dropzone/dropzone.js')}}"></script>
|
||||
<script src="{{ mix('/vendor/libs/validate/validate.js') }}"></script>
|
||||
|
||||
<script src="{{ mix('/vendor/libs/bootstrap-select/bootstrap-select.js') }}"></script>
|
||||
|
|
@ -118,19 +118,22 @@
|
|||
<script src="{{ asset('/vendor/libs/summernote-cleaner/summernote-cleaner.js') }}"></script>
|
||||
|
||||
|
||||
<script src="{{ asset('/js/forms_file-upload.js') }}"></script>
|
||||
<script src="{{ asset('/vendor/libs/slim-image-cropper/slim/slim.kickstart.min.js') }}"></script>
|
||||
<script src="{{asset('/vendor/libs/dropzone/dropzone.js')}}"></script>
|
||||
<script src="{{ asset('/js/forms_file-upload.js') }}"></script>
|
||||
|
||||
|
||||
<!-- Libs -->
|
||||
|
||||
<!-- `perfect-scrollbar` library required by SideNav plugin -->
|
||||
<script src="{{ mix('/vendor/libs/perfect-scrollbar/perfect-scrollbar.js') }}"></script>
|
||||
|
||||
@yield('scripts')
|
||||
|
||||
<!-- Application javascripts -->
|
||||
<script src="{{ mix('/js/application.js') }}"></script>
|
||||
<script src="{{ asset('/js/custom.js') }}"></script>
|
||||
|
||||
@yield('scripts')
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
|
|
@ -199,6 +202,8 @@
|
|||
});
|
||||
$('.note-status-output').hide();
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
function _scrollTo(to, offset) {
|
||||
|
|
@ -206,6 +211,7 @@
|
|||
$('html,body').animate({scrollTop: $(to).offset().top - offset}, 800);
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -17,11 +17,19 @@
|
|||
<a href="{{ route('user_edit') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-create"></i><div>{{ __('Your Data') }}</div></a>
|
||||
</li>
|
||||
|
||||
@if(Auth::user()->isActiveShop())
|
||||
<li class="sidenav-item{{ Request::is('user/shop') ? ' active' : '' }}">
|
||||
<a href="{{ route('user_shop') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-basket"></i><div>{{ __('Your Shop') }}</div></a>
|
||||
</li>
|
||||
@endif
|
||||
<li class="sidenav-item{{ Request::is('user/shop') ? ' active' : '' }}">
|
||||
<a href="{{ route('user_shop') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-basket"></i><div>{{ __('Your Shop') }}</div></a>
|
||||
</li>
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
@if(Auth::user()->isAdmin())
|
||||
<li class="sidenav-divider mb-1"></li>
|
||||
<li class="sidenav-header small font-weight-semibold">ADMIN</li>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,28 @@
|
|||
@extends('layouts.layout-2')
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
|
||||
<div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/back.jpg')}});">
|
||||
<div class="ui-bg-overlay bg-dark opacity-25"></div>
|
||||
|
||||
<div class="authentication-inner py-5">
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<div class="d-flex justify-content-center align-items-center pb-2 mb-2">
|
||||
<div class="">
|
||||
<div class="w-100 position-relative">
|
||||
<a href="https://www.mivita.care"><img src="{{ asset('/images/logo_mivita.png') }}" alt="mivita.care" class=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
line-height: calc(90px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
|
|
@ -21,19 +31,17 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<p class="text-center text-big mb-4"><strong>{{ __('Your registration has already been completed.') }}</strong></p>
|
||||
<a href="{{route('login')}}" class="btn btn-lg btn-primary btn-block">{{ __('go to login') }}</a>
|
||||
<a href="{{route('password.request')}}" class="btn btn-lg btn-secondary btn-block">{{ __('create new password') }}</a>
|
||||
<p class="text-center text-big mb-4"><strong>{{ __('The link to register is no longer active.') }}</strong></p>
|
||||
<a href="{{route('login')}}" class="btn btn-primary btn-block">{{ __('go to login') }}</a>
|
||||
<a href="{{route('password.request')}}" class="btn btn-secondary btn-block">{{ __('create new password') }}</a>
|
||||
<hr>
|
||||
<a href="{{route('/')}}" class="btn btn-default btn-block">{{ __('back to the homepage') }}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,18 +1,27 @@
|
|||
@extends('layouts.layout-2')
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/back.jpg')}});">
|
||||
<div class="ui-bg-overlay bg-dark opacity-25"></div>
|
||||
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<div class="d-flex justify-content-center align-items-center pb-2 mb-2">
|
||||
<div class="">
|
||||
<div class="w-100 position-relative">
|
||||
<a href="https://www.mivita.care"><img src="{{ asset('/images/logo_mivita.png') }}" alt="mivita.care" class=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
line-height: calc(90px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
|
|
|
|||
|
|
@ -1,18 +1,27 @@
|
|||
@extends('layouts.layout-2')
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/back.jpg')}});">
|
||||
<div class="ui-bg-overlay bg-dark opacity-25"></div>
|
||||
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<div class="d-flex justify-content-center align-items-center pb-2 mb-2">
|
||||
<div class="">
|
||||
<div class="w-100 position-relative">
|
||||
<a href="https://www.mivita.care"><img src="{{ asset('/images/logo_mivita.png') }}" alt="mivita.care" class=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
line-height: calc(90px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
|
|
|
|||
|
|
@ -7,12 +7,19 @@
|
|||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<div class="d-flex justify-content-center align-items-center pb-2 mb-2">
|
||||
<div class="">
|
||||
<div class="w-100 position-relative">
|
||||
<a href="https://www.mivita.care"><img src="{{ asset('/images/logo_mivita.png') }}" alt="mivita.care" class=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
line-height: calc(90px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
|
|
|
|||
|
|
@ -1,18 +1,27 @@
|
|||
@extends('layouts.layout-2')
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/back.jpg')}});">
|
||||
<div class="ui-bg-overlay bg-dark opacity-25"></div>
|
||||
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<div class="d-flex justify-content-center align-items-center pb-2 mb-2">
|
||||
<div class="">
|
||||
<div class="w-100 position-relative">
|
||||
<a href="https://www.mivita.care"><img src="{{ asset('/images/logo_mivita.png') }}" alt="mivita.care" class=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
line-height: calc(90px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
@extends('layouts.layout-2')
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/back.jpg')}});">
|
||||
<div class="ui-bg-overlay bg-dark opacity-25"></div>
|
||||
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
|
|
|
|||
|
|
@ -66,24 +66,24 @@
|
|||
<div class="text-muted">{{ __('Status') }}</div>
|
||||
<div class="text-right">
|
||||
@if($user->shop->getSubdomainStatus())
|
||||
<span class="badge badge-pill badge-success"><i class="far fa-check"> {{ __('available') }} </i> DNS</span><br>
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('available') }} </i> DNS</span><br>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="far fa-times"> {{ __('not available') }} </i> DNS</span>
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('not available') }} </i> DNS</span>
|
||||
@endif
|
||||
|
||||
@if($user->shop->getSubdomainAvailable())
|
||||
<span class="badge badge-pill badge-success"><i class="far fa-check"> {{ __('available') }} </i>
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('available') }} </i>
|
||||
@if($user->shop->getSubdomainSslSin()) HTTPS @else HTTP @endif
|
||||
</span>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="far fa-times"> {{ __('not available') }} </i> HTTP </span>
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('not available') }} </i> HTTP </span>
|
||||
@endif
|
||||
|
||||
@if($user->shop->getSubdomainSslSinActive())
|
||||
<span class="badge badge-pill badge-success"><i class="far fa-check"> {{ __('available') }} </i> SSL
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('available') }} </i> SSL
|
||||
</span>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="far fa-times"> {{ __('not available') }} </i> SSL </span>
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('not available') }} </i> SSL </span>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -115,6 +115,9 @@
|
|||
<label class="form-label" for="mobil">{{ __('Mobile Phone') }}</label>
|
||||
{{ Form::text('mobil', $user->account->mobil, array('placeholder'=>__('Mobile Phone'), 'class'=>'form-control', 'id'=>'mobil', 'tabindex' => 13)) }}
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<div class="badge badge-warning">Bitte {{ __('Phone') }} und/oder {{ __('Mobile Phone') }} angeben!*</div>
|
||||
</div>
|
||||
</div>
|
||||
@if(!isset($step))
|
||||
<hr>
|
||||
|
|
@ -167,7 +170,6 @@
|
|||
{{ Form::text(' tax_identification_number', $user->account-> tax_identification_number, array('placeholder'=>__('USt-ID Nummer'), 'class'=>'form-control', 'id'=>' tax_identification_number', $user->account->getCountryAttrAs('tax_id_number','required'))) }}
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
|
||||
<label class="form-label" for="taxable_sales">{{ __('Umsatzsteuerpflicht') }} @if($user->account->getCountryAttrAs('taxable_sales'))* @endif</label>
|
||||
<select class="selectpicker" name="taxable_sales" id="taxable_sales" data-style="btn-light" @if($user->account->getCountryAttrAs('taxable_sales')) required @endif>
|
||||
{!! HTMLHelper::getTaxSaleOptions($user->account->taxable_sales) !!}
|
||||
|
|
@ -302,8 +304,8 @@
|
|||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
<label for="birthday" class="form-label">{{ __('Geburtstag') }}</label>
|
||||
{{ Form::text('birthday', $user->account->birthday, array('placeholder'=>Util::formatDate(), 'data-date-format'=>Util::formatDate(), 'data-start_view'=>2, 'class'=>'form-control datepicker-birthday')) }}
|
||||
<label for="birthday" class="form-label">{{ __('Geburtsdatum') }}*</label>
|
||||
{{ Form::text('birthday', $user->account->birthday, array('placeholder'=>Util::formatDate(), 'data-date-format'=>Util::formatDate(), 'data-start_view'=>2, 'required'=>true, 'class'=>'form-control datepicker-birthday')) }}
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label class="form-label" for="website">{{ __('Webseite') }}</label>
|
||||
|
|
@ -447,6 +449,10 @@
|
|||
city : {
|
||||
required: "{{__('This field is required.')}}",
|
||||
},
|
||||
birthday : {
|
||||
required: "{{__('This field is required.')}}",
|
||||
},
|
||||
|
||||
equalTo : "{{__('Please enter the same value again.')}}",
|
||||
'email-confirm' : {
|
||||
equalTo : "{{__('Please enter the same value again.')}}",
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
<div class="mb-3">
|
||||
<div id="smartwizard-3-step-1" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
{!! Form::open(['url' => route('wizard_store', [0]), 'class' => 'form-horizontal', 'id'=>'lead-form-validation-confirm']) !!}
|
||||
{!! Form::open(['url' => route('wizard_store_create', [0]), 'class' => 'form-horizontal', 'id'=>'lead-form-validation-confirm']) !!}
|
||||
@include('user.data_confirm')
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('zustimmen und weiter') }}</button>
|
||||
|
|
@ -84,14 +84,14 @@
|
|||
<div id="smartwizard-3-step-2" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
@if(!$user->isPasswort())
|
||||
{!! Form::open(['url' => route('wizard_store', [1])]) !!}
|
||||
{!! Form::open(['url' => route('wizard_store_create', [1])]) !!}
|
||||
@include('user.update_password_first_form')
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('erstellen und weiter') }}</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
@else
|
||||
{!! Form::open(['url' => route('wizard_store', [1])]) !!}
|
||||
{!! Form::open(['url' => route('wizard_store_create', [1])]) !!}
|
||||
<p>Passwort wurde bereits erstellt.</p>
|
||||
<button type="submit" class="btn btn-secondary">{{ __('weiter') }}</button>
|
||||
{!! Form::close() !!}
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
</div>
|
||||
<div id="smartwizard-3-step-3" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
{!! Form::open(['url' => route('wizard_store', [2]), 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
{!! Form::open(['url' => route('wizard_store_create', [2]), 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
@include('user.user_form')
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('speichern und weiter') }}</button>
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
</div>
|
||||
<div id="smartwizard-3-step-4" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
{!! Form::open(['url' => route('wizard_store', [3]), 'class' => 'form-horizontal']) !!}
|
||||
{!! Form::open(['url' => route('wizard_store_create', [3]), 'class' => 'form-horizontal']) !!}
|
||||
<div class="table-responsive">
|
||||
<table class="table table- m-0">
|
||||
<tbody>
|
||||
300
resources/views/user/wizard/register.blade.php
Normal file
300
resources/views/user/wizard/register.blade.php
Normal file
|
|
@ -0,0 +1,300 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
|
||||
@if ($errors->any())
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<h4 class="font-weight-bold py-2 mb-2">
|
||||
{{ __('Registrierung abschließen') }}
|
||||
</h4>
|
||||
|
||||
<div id="smartwizard-3" class="smartwizard-register">
|
||||
<ul class="card px-4 pt-3 mb-3">
|
||||
<li>
|
||||
<a href="#smartwizard-3-step-1" class="mb-3">
|
||||
<span class="sw-done-icon ion ion-md-checkmark"></span>
|
||||
<span class="sw-number">1</span>
|
||||
Datenschutz
|
||||
<div class="text-muted small">zustimmen</div>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#smartwizard-3-step-2" class="mb-3">
|
||||
<span class="sw-done-icon ion ion-md-checkmark"></span>
|
||||
<span class="sw-number">2</span>
|
||||
Daten
|
||||
<div class="text-muted small">anpassen</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#smartwizard-3-step-3" class="mb-3">
|
||||
<span class="sw-done-icon ion ion-md-checkmark"></span>
|
||||
<span class="sw-number">3</span>
|
||||
Ausweis
|
||||
<div class="text-muted small">hochladen</div>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#smartwizard-3-step-4" class="mb-3">
|
||||
<span class="sw-done-icon ion ion-md-checkmark"></span>
|
||||
<span class="sw-number">4</span>
|
||||
Gewerbeschein
|
||||
<div class="text-muted small">hochladen</div>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#smartwizard-3-step-5" class="mb-3">
|
||||
<span class="sw-done-icon ion ion-md-checkmark"></span>
|
||||
<span class="sw-number">5</span>
|
||||
Registrierung
|
||||
<div class="text-muted small">abschließen</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="mb-3">
|
||||
<div id="smartwizard-3-step-1" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
{!! Form::open(['url' => route('wizard_store_register', [0]), 'class' => 'form-horizontal', 'id'=>'lead-form-validation-confirm']) !!}
|
||||
@include('user.data_confirm')
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('zustimmen und weiter') }}</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
<div id="smartwizard-3-step-2" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
{!! Form::open(['url' => route('wizard_store_register', [1]), 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
@include('user.user_form')
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('speichern und weiter') }}</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
<div id="smartwizard-3-step-3" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('Ausweis hochladen (nur PDF, JPG, PNG)') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="mt-4">
|
||||
{!! Form::open([ 'url' => route('wizard_store_register', [2]), 'method' => 'post', 'files' => true, 'enctype' => 'multipart/form-data', 'class' => 'dropzone', 'id' => 'idcardDropzone' ]) !!}
|
||||
<div class="fallback">
|
||||
<input name="file" type="file" multiple>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
<br>
|
||||
<div class="alert alert-danger alert-dismissable" style="display:none;"></div>
|
||||
<p>Bitte lade eine Kopie, Vorder- und Rückseite Deines Ausweises (Personalausweis / Reisepass) als Foto oder PDF hoch. Wir benötigen den Ausweis als Identitätsnachweis, um Deinen Account freizuschalten.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
@if($user->files->count())
|
||||
<div class="row">
|
||||
@foreach($user->files()->whereIdentifier('id_card')->get() as $file)
|
||||
<div class="col-md-12 col-xl-6">
|
||||
<div class="card mb-3">
|
||||
<div class="card-body">
|
||||
<h6 class="card-title"><a target="_blank" href="{{ route('storage_file', [$file->id, 'user']) }}">{{ $file->original_name }}</a></h6>
|
||||
<p class="card-text">{{ $file->formatBytes() }}
|
||||
<a href="{{ route('wizard_delete_file', [$file->id, 'upload']) }}" class="btn btn-sm btn-default float-right" onclick="return confirm('Datei wirklich löschen?');">
|
||||
<span class="ion ion-md-trash text-danger"></span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
@if(strtolower($file->ext ) == 'pdf')
|
||||
<object data="{{ route('storage_file', [$file->id, 'user']) }}" type="application/pdf" class="card-img-bottom"></object>
|
||||
@else
|
||||
<img src="{{ route('storage_file', [$file->id, 'user']) }}" alt="" class="card-img-bottom">
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-left mt-3">
|
||||
{!! Form::open(['url' => route('wizard_store_register', [2])]) !!}
|
||||
<button type="submit" name="submit" value="do" class="btn btn-secondary">{{ __('speichern und weiter') }}</button>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="smartwizard-3-step-4" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('Gewerbeschein hochladen (nur PDF, JPG, PNG)') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="mt-4">
|
||||
{!! Form::open([ 'url' => route('wizard_store_register', [3]), 'method' => 'post', 'files' => true, 'enctype' => 'multipart/form-data', 'class' => 'dropzone', 'id' => 'businesslDropzone' ]) !!}
|
||||
<div class="fallback">
|
||||
<input name="file" type="file" multiple>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
<br>
|
||||
<div class="alert alert-danger alert-dismissable" style="display:none;"></div>
|
||||
<p>Bitte lade eine Kopie Deines Gewerbeschein / Gewerbenachweis als Foto oder PDF hoch. Wir benötigen den Nachweis, um Deinen Account freizuschalten.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
@if($user->files->count())
|
||||
<div class="row">
|
||||
@foreach($user->files()->whereIdentifier('business_license')->get() as $file)
|
||||
<div class="col-md-12 col-xl-6">
|
||||
<div class="card mb-3">
|
||||
<div class="card-body">
|
||||
<h6 class="card-title"><a target="_blank" href="{{ route('storage_file', [$file->id, 'user']) }}">{{ $file->original_name }}</a></h6>
|
||||
<p class="card-text">{{ $file->formatBytes() }}
|
||||
<a href="{{ route('wizard_delete_file', [$file->id, 'upload']) }}" class="btn btn-sm btn-default float-right" onclick="return confirm('Datei wirklich löschen?');">
|
||||
<span class="ion ion-md-trash text-danger"></span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
@if(strtolower($file->ext ) == 'pdf')
|
||||
<object data="{{ route('storage_file', [$file->id, 'user']) }}" type="application/pdf" class="card-img-bottom"></object>
|
||||
@else
|
||||
<img src="{{ route('storage_file', [$file->id, 'user']) }}" alt="" class="card-img-bottom">
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-left mt-3">
|
||||
{!! Form::open(['url' => route('wizard_store_register', [3])]) !!}
|
||||
<button type="submit" name="submit" value="do" class="btn btn-secondary">{{ __('speichern und weiter') }}</button>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="smartwizard-3-step-5" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
<h4>Registrierung abschließen</h4>
|
||||
<p>Sind alle Daten richtig und vollständig? Falls nicht kannst du oben die einzelen Punkt anklicken und noch Änderungen vornehmen.</p>
|
||||
<p>Passt alles, dann drücke jetzt auf den Button "Registrierung abschließen", wir werden Deine Daten prüfen und uns falls nötig bei Dir melden.</p>
|
||||
<p>Sobald wir Deinen Account freigeschaltet haben erhälst Du eine E-Mail.</p>
|
||||
{!! Form::open(['url' => route('wizard_store_register', [4])]) !!}
|
||||
<button type="submit" name="submit" value="do" class="btn btn-secondary">{{ __('Registrierung abschließen') }}</button>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/smartwizard/smartwizard.css') }}">
|
||||
<script src="{{ mix('/vendor/libs/smartwizard/smartwizard.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('.smartwizard-register').smartWizard({
|
||||
autoAdjustHeight: true,
|
||||
backButtonSupport: true,
|
||||
useURLhash: false,
|
||||
showStepURLhash: false,
|
||||
selected: '{{$step}}',
|
||||
toolbarSettings: {
|
||||
showNextButton: false,
|
||||
showPreviousButton: false,
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var real_dropzone = {
|
||||
uploadMultiple: false,
|
||||
parallelUploads: 1,
|
||||
maxFilesize: 32,
|
||||
addRemoveLinks: true,
|
||||
dictDefaultMessage: 'Hier klicken, oder Datei hier reinziehen (Drag&Drop)',
|
||||
dictFallbackMessage: 'Ihr Browser unterstützt Drag&Drop Dateiuploads nicht',
|
||||
dictFallbackText: 'Benutzen Sie das Formular um Ihre Dateien hochzuladen',
|
||||
dictFileTooBig: "Die Datei ist zu groß. Die maximale Dateigröße beträgt 32 MB",
|
||||
dictInvalidFileType: 'Eine Datei dieses Typs kann nicht hochgeladen werden',
|
||||
dictResponseError: "Der Server hat ihre Anfrage mit Status error abgelehnt",
|
||||
dictCancelUpload: 'Hochladen abbrechen',
|
||||
dictCancelUploadConfirmation: null,
|
||||
dictRemoveFile: 'Datei entfernen',
|
||||
dictMaxFilesExceeded: 'Sie können keine weiteren Dateien mehr hochladen',
|
||||
acceptedFiles: "image/jpeg,image/pjpeg,image/png,image/gif,application/pdf,text/plain",
|
||||
// The setting up of the dropzone
|
||||
init:function() {
|
||||
|
||||
this.on("removedfile", function(file) {
|
||||
var _ele = $('.alert-danger');
|
||||
_ele.fadeOut();
|
||||
|
||||
} );
|
||||
|
||||
this.on("addedfile", function (file) {
|
||||
var _ele = $('.alert-danger');
|
||||
_ele.fadeOut();
|
||||
});
|
||||
|
||||
},
|
||||
error: function(file, response) {
|
||||
var message
|
||||
if($.type(response) === "string")
|
||||
message = response; //dropzone sends it's own error messages in string
|
||||
else
|
||||
message = response.message;
|
||||
var _ele = $('.alert-danger');
|
||||
_ele.fadeIn();
|
||||
_ele.text(message);
|
||||
|
||||
|
||||
},
|
||||
success: function(file,response) {
|
||||
console.log(file);
|
||||
console.log(response.filename);
|
||||
console.log(response.filedata);
|
||||
console.log(response);
|
||||
|
||||
if(response.redirect){
|
||||
window.location.href = response.redirect;
|
||||
}else{
|
||||
if(response.error === false){
|
||||
//true
|
||||
window.location.href = window.location.href;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Dropzone.options.idcardDropzone = real_dropzone;
|
||||
Dropzone.options.businesslDropzone = real_dropzone;
|
||||
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
38
resources/views/user/wizard/register_release.blade.php
Normal file
38
resources/views/user/wizard/register_release.blade.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
|
||||
@if ($errors->any())
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<h4 class="font-weight-bold py-2 mb-2">
|
||||
{{ __('Registrierung abgeschlossen') }}
|
||||
</h4>
|
||||
|
||||
<div id="smartwizard-3" class="smartwizard-register">
|
||||
<div class="mb-3">
|
||||
<div id="smartwizard-3-step-6" class="card animated fadeIn">
|
||||
<div class="card-body">
|
||||
<h4>Wartet auf Überprüfung.</h4>
|
||||
<p>Deine Registrierung ist abgeschlossen, Deine Daten werden geprüft.</p>
|
||||
<p>Nach erfolgreicher Prüfung wird dein Account freigeschaltet und Du erhälst Du eine E-Mail.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
|
||||
@endsection
|
||||
|
|
@ -72,8 +72,10 @@
|
|||
href="{{url('/geschaeftsmodell/karrierechancen')}}">Karrierechancen</a></li>
|
||||
<li class="{{ Request::is('kontakt') ? ' active' : '' }}"><a
|
||||
href="{{url('/kontakt')}}">Kontakt</a></li>
|
||||
<li class="{{ Request::is('partner') ? ' active' : '' }}"><a
|
||||
<li class="{{ Request::is('partner') ? ' register_user' : '' }}"><a
|
||||
href="{{url('/partner')}}">Partner</a></li>
|
||||
<li class="{{ Request::is('register_user') ? ' active' : '' }}"><a
|
||||
href="{{url('/registrierung')}}">Registrierung</a></li>
|
||||
</ul>
|
||||
<!-- /Links -->
|
||||
</div>
|
||||
|
|
|
|||
12
resources/views/web/templates/_content_contact.blade.php
Normal file
12
resources/views/web/templates/_content_contact.blade.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<div class="col-md-12">
|
||||
<hr>
|
||||
<h2>Das klingt spannend für Dich?</h2>
|
||||
<p>Dann nimm noch heute Kontakt mit uns auf - wir freuen uns, Dich kennenzulernen.</p>
|
||||
|
||||
<a href="/registrierung" rel="nofollow" target="_blank" class="btn btn-default btn-lg pull-right">zur
|
||||
Registrierung</a>
|
||||
|
||||
<a href="/kontakt" rel="nofollow" target="_blank" class="btn btn-primary btn-lg">zum
|
||||
Kontaktformular</a>
|
||||
|
||||
</div>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<section class="page-header page-header-xlg" style="background-image:url('assets/images/vision-min.jpg'); ">
|
||||
<section class="page-header page-header-xlg" style="background-image:url('/assets/images/vision-min.jpg'); ">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
|
||||
<div class="container">
|
||||
|
|
@ -170,15 +170,9 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!-- / -->
|
||||
|
|
|
|||
|
|
@ -46,25 +46,14 @@
|
|||
<hr>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="embed-responsive embed-responsive-16by9 box-shadow-1">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/HScne8-4d60?rel=0"
|
||||
frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"><br></div>
|
||||
|
||||
|
||||
<div class="col-md-12">
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<h2>Das klingt spannend für Dich?</h2>
|
||||
<p>Dann nimm noch heute Kontakt mit uns auf - wir freuen uns, Dich kennenzulernen.</p>
|
||||
<a href="/kontakt" rel="nofollow" target="_blank" class="btn btn-primary btn-lg">zum
|
||||
Kontaktformular</a>
|
||||
|
||||
</div>
|
||||
@include('web.templates._content_contact')
|
||||
</div>
|
||||
<!-- /LEFT COLUMNS -->
|
||||
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
@endif
|
||||
<p>
|
||||
Dein Team von,<br />
|
||||
<strong> mivita.</strong>
|
||||
<strong> mivita.care</strong>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -61,16 +61,7 @@
|
|||
<img class="img-fluid" src="/assets/images/produktfamilie.jpg" alt="" />
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<h2>Das klingt spannend für Dich?</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
|
||||
<a href="/kontakt" rel="nofollow" target="_blank" class="btn btn-primary btn-lg">zum Kontaktformular</a>
|
||||
|
||||
</div>
|
||||
@include('web.templates._content_contact')
|
||||
</div>
|
||||
<!-- /LEFT COLUMNS -->
|
||||
|
||||
|
|
|
|||
|
|
@ -101,17 +101,7 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<h2>Das klingt spannend für Dich?</h2>
|
||||
<p>Dann nimm noch heute Kontakt mit uns auf - wir freuen uns, Dich kennenzulernen.</p>
|
||||
<a href="/kontakt" rel="nofollow" target="_blank" class="btn btn-primary btn-lg">zum
|
||||
Kontaktformular</a>
|
||||
|
||||
</div>
|
||||
@include('web.templates._content_contact')
|
||||
</div><!-- /LEFT COLUMNS -->
|
||||
|
||||
<!-- RIGHT COLUMNS -->
|
||||
|
|
|
|||
|
|
@ -191,21 +191,7 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div class="col-md-12">
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-12">
|
||||
<h2>Das klingt spannend für Dich?</h2>
|
||||
<p>Dann nimm noch heute Kontakt mit uns auf - wir freuen uns, Dich kennenzulernen.</p>
|
||||
<a href="/kontakt" rel="nofollow" target="_blank" class="btn btn-primary btn-lg">zum
|
||||
Kontaktformular</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@include('web.templates._content_contact')
|
||||
</div>
|
||||
<!-- /LEFT COLUMNS -->
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,13 @@
|
|||
border: 6px solid #bbccab;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.radio, .checkbox {
|
||||
font-size: 14px;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
.checkbox i {
|
||||
top:1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- /PAGE HEADER -->
|
||||
|
|
@ -70,6 +77,7 @@
|
|||
|
||||
<p>Du interessierst Dich für unser Geschäft oder hast Fragen zu den Produkten? Dann freuen wir uns auf eine Nachricht von Dir. Wir werden uns im Anschluss sobald wie möglich bei Dir zurückmelden.</p>
|
||||
|
||||
<div class="box-static box-transparent box-bordered padding-20">
|
||||
{!! Form::open(['url' => '/kontakt']) !!}
|
||||
<div class="row contact-row">
|
||||
<div class="col-md-6">
|
||||
|
|
@ -130,7 +138,7 @@
|
|||
|
||||
<label class="checkbox {{ ($errors->has('accepted_data_protection') ? 'error' : '') }}" for="accepted_data_protection">
|
||||
{!! Form::checkbox('accepted_data_protection', 1, false, ['id'=>'accepted_data_protection', 'class' => 'form-control '.($errors->has('accepted_data_protection') ? 'error' : ''), 'required']) !!}
|
||||
<i></i> Hiermit willige ich in die im Rahmen der <a target="_blank" href="{{ url('datenschutz') }}">Datenschutzerklärung</a>
|
||||
<i></i> <span class="fa fa-angle-double-left text-success fa-lg"></span> Hiermit willige ich in die im Rahmen der <a target="_blank" href="{{ url('datenschutz') }}">Datenschutzerklärung</a>
|
||||
genannte Datenverarbeitung ein.
|
||||
</label>
|
||||
@if ($errors->has('accepted_data_protection'))
|
||||
|
|
@ -155,6 +163,7 @@
|
|||
{!! Form::close() !!}
|
||||
</div> <!-- end col -->
|
||||
<!-- /FORM -->
|
||||
</div>
|
||||
|
||||
|
||||
<!-- INFO -->
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</style>
|
||||
|
||||
|
||||
<section class="page-header page-header-xlg" style="background-image:url('assets/images/vision-min.jpg'); ">
|
||||
<section class="page-header page-header-xlg" style="background-image:url('/assets/images/vision-min.jpg'); ">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
|
||||
<div class="container">
|
||||
|
|
|
|||
263
resources/views/web/templates/registrierung.blade.php
Normal file
263
resources/views/web/templates/registrierung.blade.php
Normal file
|
|
@ -0,0 +1,263 @@
|
|||
@extends($user_shop ?'web.user.layouts.layout' : 'web.layouts.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section class="page-header page-header-xlg parallax parallax-3"
|
||||
style="background-image:url('assets/images/vision-min.jpg')">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
<div class="container">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.checkbox.error{
|
||||
color:#b92c28 !important;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
.tp-caption {
|
||||
text-shadow: none;
|
||||
}
|
||||
div.shop-item {
|
||||
margin-bottom: 30px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
div.shop-item > .thumbnail, .thumbnail {
|
||||
border: none;
|
||||
}
|
||||
|
||||
div.shop-item-summary {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
div.shop-item-summary h2 a {
|
||||
color: #9aa983;
|
||||
font-size: 1.2em;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
div.shop-item-buttons {
|
||||
padding: 0 8px 10px 8px;
|
||||
}
|
||||
|
||||
div.shop-item-buttons .btn-xs {
|
||||
padding: 4px;
|
||||
}
|
||||
img.avatar {
|
||||
width: 75%;
|
||||
max-width: 200px;
|
||||
border: 6px solid #bbccab;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.radio, .checkbox {
|
||||
font-size: 14px;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
.checkbox i {
|
||||
top:1px;
|
||||
}
|
||||
|
||||
.alert.error {
|
||||
padding: 8px;
|
||||
margin-bottom: 4px;
|
||||
margin-top: 4px;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
}
|
||||
select.form-control:not([size]):not([multiple]) {
|
||||
height: 40px;
|
||||
}
|
||||
</style>
|
||||
|
||||
{{-- <script src='https://www.google.com/recaptcha/api.js'></script>--}}
|
||||
|
||||
|
||||
<section>
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<!-- FORM -->
|
||||
<div class="col-md-9 col-sm-8">
|
||||
|
||||
<h1>Registrierung</h1>
|
||||
|
||||
<p>Dieses Formular ist für die Registrierung neuer Vertriebspartner. Nach dem Absenden des Formulars erhälst du eine E Mail mit weiteren Informationen sowie den Freischaltlink.</p>
|
||||
|
||||
<div class="box-static box-transparent box-bordered padding-20">
|
||||
|
||||
{!! Form::open(['url' => '/registrierung']) !!}
|
||||
<div class="row contact-row">
|
||||
<div class="form-group col-md-12">
|
||||
{!! Form::label('first_name', __('Salutation').'*') !!}
|
||||
{!! Form::select('salutation', [''=>'Bitte wählen', 'mr'=>'Herr', 'ms'=>'Frau'], '', ['class' => 'form-control '.($errors->has('salutation') ? 'error is-invalid' : '')]) !!}
|
||||
@if ($errors->has('salutation'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('salutation') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
{!! Form::label('first_name', __('First name').'*') !!}
|
||||
{!! Form::text('first_name', '', ['class' => 'form-control '.($errors->has('first_name') ? 'error is-invalid' : ''), 'placeholder'=>__('First name'), '']) !!}
|
||||
@if ($errors->has('first_name'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('first_name') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
{!! Form::label('last_name', __('Last Name').'*') !!}
|
||||
{!! Form::text('last_name', '', ['class' => 'form-control '.($errors->has('last_name') ? 'error is-invalid' : ''), 'placeholder'=>__('Last Name'), '']) !!}
|
||||
@if ($errors->has('last_name'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('last_name') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="col-md-12"> <hr> </div>
|
||||
|
||||
<div class="form-group col-md-12">
|
||||
{!! Form::label('email', __('E-Mail Address').'*') !!}
|
||||
{!! Form::email('email', '', ['class' => 'form-control '.($errors->has('email') ? 'error is-invalid' : ''), 'placeholder'=>__('E-Mail Address'), '']) !!}
|
||||
@if ($errors->has('email'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('email') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-12">
|
||||
{!! Form::label('email-confirm', __('Confirm E-Mail Address').'*') !!}
|
||||
{!! Form::email('email-confirm', '', ['class' => 'form-control '.($errors->has('email-confirm') ? 'error is-invalid' : ''), 'placeholder'=>__('Confirm E-Mail Address'), '']) !!}
|
||||
@if ($errors->has('email-confirm'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('email-confirm') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="col-md-12"> <hr> </div>
|
||||
|
||||
|
||||
<div class="form-group col-md-12">
|
||||
{!! Form::label('password', __('Password').'*') !!}
|
||||
{!! Form::password('password', ['class' => 'form-control '.($errors->has('password') ? 'error is-invalid' : ''), 'placeholder'=>__('Password'), '']) !!}
|
||||
@if ($errors->has('password'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('password') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
{!! Form::label('password_confirmation', __('Confirm Password').'*') !!}
|
||||
{!! Form::password('password_confirmation', ['class' => 'form-control '.($errors->has('password_confirmation') ? 'error is-invalid' : ''), 'placeholder'=>__('Confirm Password'), '']) !!}
|
||||
@if ($errors->has('password_confirmation'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('password_confirmation') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-12" style="margin-bottom: 8px; margin-top: 5px;">
|
||||
<em class="small">* Pflichtpfelder</em>
|
||||
</div>
|
||||
<div class="col-md-12" style="margin-bottom: 8px; margin-top: 8px;">
|
||||
<label class="checkbox {{ ($errors->has('accepted_data_protection') ? 'error' : '') }}" for="accepted_data_protection">
|
||||
{!! Form::checkbox('accepted_data_protection', 1, false, ['id'=>'accepted_data_protection', 'class' => 'form-control '.($errors->has('accepted_data_protection') ? 'error' : ''), '']) !!}
|
||||
<i></i> <span class="fa fa-angle-double-left text-success fa-lg"></span> Hiermit willige ich in die im Rahmen der <a target="_blank" href="{{ url('datenschutz') }}">Datenschutzerklärung</a>
|
||||
genannte Datenverarbeitung ein. Ich wurde darüber informiert, dass ich diese Einwilligung jederzeit widerrufen kann.*
|
||||
</label>
|
||||
@if ($errors->has('accepted_data_protection'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('accepted_data_protection') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{-- <div class="row contact-row">
|
||||
<div class="col-md-12">
|
||||
<div class="g-recaptcha" data-sitekey="{{$GOOGLE_ReCAPTCHA_KEY}}"></div>
|
||||
@if ($errors->has('g-recaptcha-response'))
|
||||
<div class="alert alert-danger error"><!-- DANGER -->
|
||||
{{ $errors->first('g-recaptcha-response') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
--}}
|
||||
<button type="submit" class="btn btn-primary"><i class="fa fa-check"></i> jetzt registrieren</button>
|
||||
{!! Form::close() !!}
|
||||
</div> <!-- end col -->
|
||||
<!-- /FORM -->
|
||||
</div>
|
||||
|
||||
|
||||
<!-- INFO -->
|
||||
<div class="col-md-3 col-sm-4" style="border-left: 1px solid #ddd;">
|
||||
|
||||
|
||||
@if($user_shop)
|
||||
<h2 class="text-center">Kontakt</h2>
|
||||
<p class="text-center">Ich freue mich über Deinen Besuch in meinem MIVITA Onlineshop. Ich bin Deine persönliche Beratung rund um die Produkte und ihrer Anwendung.</p>
|
||||
<div class="text-center">
|
||||
@if($user_shop->isImage())
|
||||
<img class="img-responsive rounded avatar" src="{{ url($user_shop->getImage()) }}" alt="">
|
||||
@else
|
||||
<img class="img-responsive rounded avatar" src="{{ asset('assets/images/avatar.png') }}" alt="">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<p class="text-center">
|
||||
@if($user_shop->title)
|
||||
<strong style="color: #97b085; font-size: 1.1em;">{{ $user_shop->title }}</strong><br>
|
||||
@endif
|
||||
@if($user_shop->contact)
|
||||
{!! nl2br($user_shop->contact) !!}
|
||||
@endif
|
||||
<br>
|
||||
{{ $user_shop->getSubdomain() }}
|
||||
</p>
|
||||
|
||||
@if($user_shop->accessibility)
|
||||
<p class="text-center">
|
||||
<strong>Meine Erreichbarkeit:</strong><br>
|
||||
{!! nl2br($user_shop->accessibility) !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@else
|
||||
|
||||
<h2>Kontakt</h2>
|
||||
<hr/>
|
||||
<p>
|
||||
<span class="block"><strong><i class="fa fa-map-marker"></i> Adresse:<br></strong> mivita e.K.<br>
|
||||
Leinfeld 2<br>
|
||||
87755 Kirchhaslach</span>
|
||||
<span class="block"><strong><i class="fa fa-phone"></i> Telefon:</strong> <a
|
||||
href="tel:0 8333-946 98 90">0 8333-946 98 90</a></span>
|
||||
<span class="block"><strong><i class="fa fa-envelope"></i> Email:</strong> <a
|
||||
href="mailto:info@riwa-tec.de">info@mivita.care</a></span>
|
||||
</p>
|
||||
<hr/>
|
||||
<h4 class="font300">Geschäftszeiten</h4>
|
||||
<p>
|
||||
<span class="block"><strong>Mo. - Fr.:</strong> 9-12 Uhr u. 13-16 Uhr</span>
|
||||
</p>
|
||||
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- / -->
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
161
resources/views/web/templates/registrierung_finish.blade.php
Normal file
161
resources/views/web/templates/registrierung_finish.blade.php
Normal file
|
|
@ -0,0 +1,161 @@
|
|||
@extends($user_shop ?'web.user.layouts.layout' : 'web.layouts.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section class="page-header page-header-xlg parallax parallax-3"
|
||||
style="background-image:url('/assets/images/vision-min.jpg')">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
<div class="container">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.checkbox.error{
|
||||
color:#b92c28 !important;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
.tp-caption {
|
||||
text-shadow: none;
|
||||
}
|
||||
div.shop-item {
|
||||
margin-bottom: 30px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
div.shop-item > .thumbnail, .thumbnail {
|
||||
border: none;
|
||||
}
|
||||
|
||||
div.shop-item-summary {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
div.shop-item-summary h2 a {
|
||||
color: #9aa983;
|
||||
font-size: 1.2em;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
div.shop-item-buttons {
|
||||
padding: 0 8px 10px 8px;
|
||||
}
|
||||
|
||||
div.shop-item-buttons .btn-xs {
|
||||
padding: 4px;
|
||||
}
|
||||
img.avatar {
|
||||
width: 75%;
|
||||
max-width: 200px;
|
||||
border: 6px solid #bbccab;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.radio, .checkbox {
|
||||
font-size: 14px;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
.checkbox i {
|
||||
top:1px;
|
||||
}
|
||||
|
||||
.alert.error {
|
||||
padding: 8px;
|
||||
margin-bottom: 4px;
|
||||
margin-top: 4px;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
}
|
||||
select.form-control:not([size]):not([multiple]) {
|
||||
height: 40px;
|
||||
}
|
||||
</style>
|
||||
|
||||
{{-- <script src='https://www.google.com/recaptcha/api.js'></script>--}}
|
||||
|
||||
|
||||
<section>
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<!-- FORM -->
|
||||
<div class="col-md-9 col-sm-8">
|
||||
|
||||
<h1>Registrierung</h1>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<h3>{{ __('Thank you for your registration!') }}</h3>
|
||||
<h4>{{ __('We have sent you an e-mail with a link to activate your data.') }}</h4>
|
||||
<p>{{ __('Please check your emails and confirm the link.') }}</p>
|
||||
<hr />
|
||||
<p>
|
||||
<strong>{{ __('your mivita.care team') }}</strong>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- INFO -->
|
||||
<div class="col-md-3 col-sm-4" style="border-left: 1px solid #ddd;">
|
||||
|
||||
|
||||
@if($user_shop)
|
||||
<h2 class="text-center">Kontakt</h2>
|
||||
<p class="text-center">Ich freue mich über Deinen Besuch in meinem MIVITA Onlineshop. Ich bin Deine persönliche Beratung rund um die Produkte und ihrer Anwendung.</p>
|
||||
<div class="text-center">
|
||||
@if($user_shop->isImage())
|
||||
<img class="img-responsive rounded avatar" src="{{ url($user_shop->getImage()) }}" alt="">
|
||||
@else
|
||||
<img class="img-responsive rounded avatar" src="{{ asset('assets/images/avatar.png') }}" alt="">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<p class="text-center">
|
||||
@if($user_shop->title)
|
||||
<strong style="color: #97b085; font-size: 1.1em;">{{ $user_shop->title }}</strong><br>
|
||||
@endif
|
||||
@if($user_shop->contact)
|
||||
{!! nl2br($user_shop->contact) !!}
|
||||
@endif
|
||||
<br>
|
||||
{{ $user_shop->getSubdomain() }}
|
||||
</p>
|
||||
|
||||
@if($user_shop->accessibility)
|
||||
<p class="text-center">
|
||||
<strong>Meine Erreichbarkeit:</strong><br>
|
||||
{!! nl2br($user_shop->accessibility) !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@else
|
||||
|
||||
<h2>Kontakt</h2>
|
||||
<hr/>
|
||||
<p>
|
||||
<span class="block"><strong><i class="fa fa-map-marker"></i> Adresse:<br></strong> mivita e.K.<br>
|
||||
Leinfeld 2<br>
|
||||
87755 Kirchhaslach</span>
|
||||
<span class="block"><strong><i class="fa fa-phone"></i> Telefon:</strong> <a
|
||||
href="tel:0 8333-946 98 90">0 8333-946 98 90</a></span>
|
||||
<span class="block"><strong><i class="fa fa-envelope"></i> Email:</strong> <a
|
||||
href="mailto:info@riwa-tec.de">info@mivita.care</a></span>
|
||||
</p>
|
||||
<hr/>
|
||||
<h4 class="font300">Geschäftszeiten</h4>
|
||||
<p>
|
||||
<span class="block"><strong>Mo. - Fr.:</strong> 9-12 Uhr u. 13-16 Uhr</span>
|
||||
</p>
|
||||
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- / -->
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
@section('content')
|
||||
|
||||
<section class="page-header page-header-xlg parallax parallax-3"
|
||||
style="background-image:url('assets/images/vision-min.jpg')">
|
||||
style="background-image:url('/assets/images/vision-min.jpg')">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
|
||||
<div class="container">
|
||||
|
|
|
|||
|
|
@ -68,17 +68,8 @@
|
|||
zu entwickeln.</p>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<h2>Das klingt spannend für Dich?</h2>
|
||||
<p>Dann nimm noch heute Kontakt mit uns auf - wir freuen uns, Dich kennenzulernen.</p>
|
||||
<a href="/kontakt" rel="nofollow" target="_blank" class="btn btn-primary btn-lg">zum
|
||||
Kontaktformular</a>
|
||||
|
||||
</div>
|
||||
@include('web.templates._content_contact')
|
||||
</div>
|
||||
</div>
|
||||
<!-- /LEFT COLUMNS -->
|
||||
|
|
|
|||
|
|
@ -90,15 +90,7 @@
|
|||
|
||||
</ul>
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
<h2>Das klingt spannend für Dich?</h2>
|
||||
<p>Dann nimm noch heute Kontakt mit uns auf - wir freuen uns, Dich kennenzulernen.</p>
|
||||
<a href="/kontakt" rel="nofollow" target="_blank" class="btn btn-primary btn-lg">zum
|
||||
Kontaktformular</a>
|
||||
|
||||
|
||||
@include('web.templates._content_contact')
|
||||
</div>
|
||||
<!-- /LEFT COLUMNS -->
|
||||
|
||||
|
|
|
|||
|
|
@ -93,6 +93,8 @@
|
|||
href="{{url('/kontakt')}}">Kontakt</a></li>
|
||||
<li class="{{ Request::is('partner') ? ' active' : '' }}"><a
|
||||
href="{{url('/partner')}}">Partner</a></li>
|
||||
<li class="{{ Request::is('register_user') ? ' active' : '' }}"><a
|
||||
href="{{url('/registrierung')}}">Registrierung</a></li>
|
||||
</ul>
|
||||
<!-- /Links -->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue