#10 Promotion Modul, Kommentar 2
This commit is contained in:
parent
f0da981737
commit
c9e1545693
128 changed files with 8194 additions and 637 deletions
|
|
@ -37,9 +37,4 @@
|
|||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
@include('admin.product.images')
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -17,34 +17,38 @@
|
|||
{{ Form::text('name', $product->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required')) }}
|
||||
</div>
|
||||
<div class="form-row">
|
||||
{{-- <div class="form-group col-sm-6">
|
||||
<label class="form-label" for="title">{{ __('Title') }}</label>
|
||||
{{ Form::text('title', $product->title, array('placeholder'=>__('Title'), 'class'=>'form-control', 'id'=>'title')) }}
|
||||
<div class="form-group col-sm-5">
|
||||
<label class="form-label" for="show_at">{{ __('Produkt anzeigen') }}</label>
|
||||
{{ Form::select('show_at', $product->showATs, $product->show_at, array('data-live-search'=>'false', 'class'=>'selectpicker', 'id'=>'show_at') ) }}
|
||||
</div>
|
||||
--}}
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-5">
|
||||
<div class="form-group col-sm-10">
|
||||
<label class="form-label" for="title">{{ __('Kategorie (Mehrfachauswahl)') }}*</label>
|
||||
<select class="selectpicker" name="categories[]" id="categories" data-style="btn-light" data-live-search="false" multiple required>
|
||||
{!! HTMLHelper::getCategoriesOptions($product->categories()->pluck('category_id')->toArray(), false) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-5">
|
||||
<label class="form-label" for="show_at">{{ __('Produkt anzeigen') }}</label>
|
||||
{{ Form::select('show_at', $product->showATs, $product->show_at, array('data-live-search'=>'false', 'class'=>'selectpicker', 'id'=>'show_at') ) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-2">
|
||||
<label class="form-label" for="pos">{{ __('Listenposition') }}</label>
|
||||
{{ Form::text('pos', $product->pos, array('placeholder'=>__('1, 2, 3, etc'), 'class'=>'form-control', 'id'=>'pos')) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-10">
|
||||
<label class="form-label" for="show_on">{{ __('Produkt anzeigen (Mehrfachauswahl)') }}</label>
|
||||
{{ Form::select('show_on[]', $product->showONs, $product->show_on, array('data-live-search'=>'false', 'class'=>'selectpicker', 'id'=>'show_on', 'multiple') ) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="copy">{{ __('Produktbeschreibung') }}</label>
|
||||
{{ Form::textarea('copy', $product->copy , array('placeholder'=>__('Produktbeschreibung'), 'class'=>'form-control summernote', 'id'=>'copy')) }}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="short_copy">{{ __('Kurzbeschreibung Microsite') }}</label>
|
||||
{{ Form::textarea('short_copy', $product->short_copy , array('placeholder'=>__('Kurzbeschreibung'), 'class'=>'form-control summernote', 'id'=>'short_copy')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-6">
|
||||
|
|
|
|||
|
|
@ -1,16 +1,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
<div class="card mb-2">
|
||||
|
||||
<h5 class="card-header">
|
||||
{{ __('Bilder') }}
|
||||
|
||||
</h5>
|
||||
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
@if($product->id>0)
|
||||
|
|
@ -25,7 +18,6 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-sm-6">
|
||||
|
||||
<div class="row">
|
||||
@foreach($product->images as $image)
|
||||
<div class="col-6 col-md-4 text-center" style="border: 1px solid #eee;">
|
||||
|
|
@ -62,7 +54,7 @@
|
|||
<div class="slim" style="margin:20px auto;"
|
||||
data-label='<span class="text-green">Foto-Upload</span><br>(Datei suchen oder Drag & Drop)'
|
||||
data-fetcher="fetch.php"
|
||||
data-size="600,800"
|
||||
data-size="600,600"
|
||||
data-min-size="200,200"
|
||||
data-max-file-size="10"
|
||||
data-status-image-too-small="Bild zu klein<br>min. $0 Pixel"
|
||||
|
|
@ -73,7 +65,7 @@
|
|||
data-button-confirm-title="bestätigen"
|
||||
data-button-cancel-title="abbrechen"
|
||||
data-button-rotate-title="drehen"
|
||||
data-ratio="3:4">
|
||||
data-ratio="1:1">
|
||||
<input type="file" name="images[]" required />
|
||||
</div>
|
||||
|
||||
|
|
@ -87,10 +79,6 @@
|
|||
</div>
|
||||
@else
|
||||
<p>Produkt erst speichern</p>
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
<td>{{ $value->getUnitType() }}</td>
|
||||
<td>{{ $value->getBasePriceFormatted() }}</td>
|
||||
<td>{{ $value->weight }}</td>
|
||||
<td>{{ $value->getShowAtType() }}</td>
|
||||
<td>{!! implode($value->getShowOnTypes(), '<br>') !!}</td>
|
||||
<td data-sort="{{ $value->shipping_addon }}">{!! get_active_badge($value->shipping_addon) !!}</td>
|
||||
<td data-sort="{{ $value->max_buy }}">{!! get_active_badge($value->max_buy) !!}</td>
|
||||
<td data-sort="{{ $value->single_commission }}">{!! get_active_badge($value->single_commission) !!}</td>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="form-group ">
|
||||
<label class="custom-control custom-checkbox float-right">
|
||||
{!! Form::checkbox('active', 1, $promotion->active, ['class'=>'custom-control-input']) !!}
|
||||
<span class="custom-control-label">{{__('aktiv')}}</span>
|
||||
<span class="custom-control-label">{{__('Berater können diese Promotion sehen')}}</span>
|
||||
</label>
|
||||
<label class="form-label" for="name">{{ __('Promotionname / Titel') }}*</label>
|
||||
{{ Form::text('name', $promotion->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required')) }}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,9 @@
|
|||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
<p>
|
||||
Geben Sie Ihre E-Mail-Adresse ein und wir senden Ihnen einen Link, um Ihr Passwort zurückzusetzen.
|
||||
</p>
|
||||
<!-- Form -->
|
||||
<form method="POST" class="my-3" action="{{ route('password.email') }}" aria-label="{{ __('Reset Password') }}">
|
||||
@csrf
|
||||
|
|
|
|||
5
resources/views/errors/402.blade.php
Normal file
5
resources/views/errors/402.blade.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@extends('errors::minimal')
|
||||
|
||||
@section('title', __('Promotion nicht gefunden'))
|
||||
@section('code', '404')
|
||||
@section('message', __('Promotion nicht gefunden'))
|
||||
5
resources/views/errors/404.blade.php
Normal file
5
resources/views/errors/404.blade.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@extends('errors::minimal')
|
||||
|
||||
@section('title', __('Not Found'))
|
||||
@section('code', '404')
|
||||
@section('message', __('Not Found'))
|
||||
|
|
@ -27,7 +27,6 @@
|
|||
<link rel="stylesheet" href="{{ mix('/vendor/css/uikit.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/css/theme-corporate.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/css/mycolors.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/growl/growl.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/bootstrap-select/bootstrap-select.css') }}">
|
||||
|
|
@ -46,8 +45,7 @@
|
|||
<script src="{{ mix('/vendor/js/layout-helpers.js') }}"></script>
|
||||
|
||||
<!-- Libs -->
|
||||
|
||||
<!-- `perfect-scrollbar` library required by SideNav plugin -->
|
||||
<!-- perfect-scrollbar library required by SideNav plugin -->
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/perfect-scrollbar/perfect-scrollbar.css') }}">
|
||||
|
||||
@yield('styles')
|
||||
|
|
@ -132,10 +130,11 @@
|
|||
<script src="{{ asset('/js/forms_file-upload.js?v=1') }}"></script>
|
||||
|
||||
<script src="{{ asset('/vendor/libs/clipboard/clipboard.min.js')}}"></script>
|
||||
<script src="{{ asset('/vendor/libs/autosize/autosize.js') }}?v=1"></script>
|
||||
<script src="{{ asset('/vendor/libs/bootstrap-maxlength/bootstrap-maxlength.js') }}?v=1"></script>
|
||||
|
||||
<!-- `perfect-scrollbar` library required by SideNav plugin -->
|
||||
<script src="{{ mix('/vendor/libs/perfect-scrollbar/perfect-scrollbar.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('/js/shopping_card.js') }}?v=1{{ get_file_last_time('/js/shopping_card.js') }}"></script>
|
||||
|
||||
<!-- Application javascripts -->
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@
|
|||
<!-- Core stylesheets -->
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/bootstrap.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/appwork.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/theme-corporate.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/colors.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/uikit.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/css/mycolors.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/css/theme-corporate.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/css/mycolors.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/growl/growl.css') }}">
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@
|
|||
<li class="sidenav-item{{ Request::is('user/edit') ? ' active' : '' }}">
|
||||
<a href="{{ route('user_edit') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-create"></i><div>{{ __('navigation.my_data') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('user/profile') ? ' active' : '' }}">
|
||||
<a href="{{ route('user_profile') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-contact"></i><div>{{ __('navigation.my_profile') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('user/membership') ? ' active' : '' }}">
|
||||
<a href="{{ route('user_membership') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-people"></i><div>{{ __('navigation.membership') }}</div></a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@
|
|||
@endif
|
||||
|
||||
|
||||
{!! Form::open(['url' => route('user_checkout_store', [$identifier]), 'class' => 'row clearfix', 'id'=>'checkout_card_final']) !!}
|
||||
{!! Form::open(['url' => route('user_checkout_store', [$identifier]), 'class' => 'row clearfix form-prevent-multiple-submits', 'id'=>'checkout_card_final']) !!}
|
||||
{!! Form::hidden('selected_country', '') !!}
|
||||
{!! Form::hidden('is_for', $shopping_user->is_for) !!}
|
||||
{!! Form::hidden('is_from', $shopping_user->is_from) !!}
|
||||
|
|
@ -530,20 +530,17 @@
|
|||
<tbody class="switchers-stacked">
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('PP', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<td class="align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
{!! Form::radio('payment_method', 'pp', '', ['class'=>'switcher-input', 'required'=>true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"></span>
|
||||
</label>
|
||||
<span class="switcher-label font-weight-bold text-left">PayPal</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="px-2 py-3 text-left font-weight-bold">
|
||||
<div class="mt-1"> PayPal </div>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3">
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/paypal.png')}}" alt="PayPal">
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -551,100 +548,85 @@
|
|||
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('SB', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<td class="align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
{!! Form::radio('payment_method', 'SB', '', ['class'=>'switcher-input', 'required'=>true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"></span>
|
||||
<span class="switcher-label font-weight-bold text-left">Sofort -Überweisung</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="px-2 py-3 text-left font-weight-bold">
|
||||
<div class="mt-1"> Sofort -Überweisung </div>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3">
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/sofort.png')}}" alt="Sofort">
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('CC', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<td class="align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
{!! Form::radio('payment_method', 'vor', '', ['class'=>'switcher-input', 'required'=>true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"></span>
|
||||
<span class="switcher-label font-weight-bold text-left">Kreditkarte</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="px-2 py-3 text-left font-weight-bold">
|
||||
<div class="mt-1"> Kreditkarte </div>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3">
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/creditcard.png')}}" alt="Mastercard + Visa">
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('SEPA', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<td class="align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
{!! Form::radio('payment_method', 'SEPA', '', ['class'=>'switcher-input', 'required'=>true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"></span>
|
||||
<span class="switcher-label font-weight-bold text-left">SEPA</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="px-2 py-3 text-left font-weight-bold">
|
||||
<div class="mt-1"> SEPA </div>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3">
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/sepa.png')}}" alt="SEPA Lastschrift">
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('VOR', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<td class="align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
{!! Form::radio('payment_method', 'vor', '', ['class'=>'switcher-input', 'required'=>true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"></span>
|
||||
<span class="switcher-label font-weight-bold text-left">Vorkasse</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="px-2 py-3 text-left font-weight-bold">
|
||||
<div class="mt-1"> Vorkasse</div>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3">
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/vor.png')}}" alt="Vorkasse">
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('FNC', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<td class="align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
{!! Form::radio('payment_method', 'fnc', '', ['class'=>'switcher-input', 'required'=>true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"></span>
|
||||
<span class="switcher-label font-weight-bold text-left">Rechnungskauf</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="px-2 py-3 text-left font-weight-bold">
|
||||
<div class="mt-1"> Rechnungskauf </div>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3">
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/fnc.png')}}" alt="Rechnungskauf">
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -845,19 +827,13 @@
|
|||
<span class="custom-control-label small">Mit Klick auf "Jetzt kaufen" akzeptiere ich die <a href="https://www.gruene-seele.bio/vp-agb/" target="_blank" class="text-secondary">Allgemeinen Geschäftsbedingungen</a> und die <a href="https://www.gruene-seele.bio/datenschutzerklaerung/" target="_bank" class="text-secondary">Datenschutzbelehrung</a>, damit für die Bestellung meine Daten verarbeitet werden können.*</span>
|
||||
</label>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block size-18 btn-text-500 mt-4 faa-parent animated-hover"><i class="fa fa-mail-forward faa-horizontal"></i> Jetzt kaufen</button>
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block button-prevent-multiple-submits"><i class="ion ion-ios-share-alt"></i> Jetzt kaufen <i class="spinner fa fa-spinner fa-spin"></i></button>
|
||||
<hr>
|
||||
<p class="text-center" style="line-height: 1.2em;"><em class="small text-center"> <i class="fa fa-lock"></i> Sind alle Deine Angaben vollsätndig ausgefüllt, klicke auf "Jetzt kaufen" und Du wist zu unserem Zahlungsanbieter weitergeleitet, die Verbindung wird ist SSL verschlüsselt.</em></p>
|
||||
<p class="text-center" style="line-height: 1.2em;"><em class="small text-center"> <i class="fa fa-lock"></i> Sind alle Deine Angaben vollsätndig ausgefüllt, klicke auf "Jetzt kaufen" und Du wist zu unserem Zahlungsanbieter weitergeleitet, die Verbindung ist SSL verschlüsselt.</em></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /COL -->
|
||||
|
||||
</div>
|
||||
<!-- /RAW -->
|
||||
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,13 +19,11 @@
|
|||
{{ __('navigation.my_data') }}
|
||||
</h4>
|
||||
{!! Form::open(['url' => route('user_edit'), 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
<input type="hidden" name="user_id" id="user_id" value="@if($user->id>0){{$user->id}}@else new @endif">
|
||||
<input type="hidden" name="user_id" id="user_id" value="@if($user->id>0){{$user->id}}@else new @endif">
|
||||
@include('user.user_form')
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('home')}}" class="btn btn-default">{{ __('back') }}</a>
|
||||
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
{{ Form::text('last_name', $user->account->last_name, array('placeholder'=>__('Last name'), 'class'=>'form-control', 'id'=>'last_name', 'required'=>true, 'tabindex' => 13)) }}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
|
|||
82
resources/views/user/profile.blade.php
Normal file
82
resources/views/user/profile.blade.php
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
@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">
|
||||
{{ __('navigation.my_profile') }}
|
||||
</h4>
|
||||
<div class="card mb-4 mt-3">
|
||||
<h5 class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
Über Dich
|
||||
</div>
|
||||
</div>
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
@if ($user->hasProfileImage())
|
||||
<div class="text-center" style="border: 1px solid #eee;">
|
||||
<img src="{{ route('response_file', ['user', $user->getProfileImage()]) }}" alt="">
|
||||
<br>
|
||||
<a href="{{ route('user_profile_image_delete', ['avatar']) }}"
|
||||
class="btn btn-sm btn-primary mt-2 mb-2"
|
||||
onclick="return confirm('Bild wirklich löschen?');">Bild löschen</a>
|
||||
</div>
|
||||
@else
|
||||
<style>
|
||||
.dz-message {
|
||||
margin: 2rem 0;
|
||||
}
|
||||
.default-style .dz-message {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
</style>
|
||||
{!! Form::open(['url' => route('user_profile_image_upload'), 'class' => 'avatar px-2', 'enctype' => 'multipart/form-data']) !!}
|
||||
<div class="slim_holder text-center">
|
||||
<div class="slim" style="margin:0 auto;"
|
||||
data-label='<span class="text-green">Foto-Upload</span><br>(Datei suchen oder Drag & Drop)'
|
||||
data-fetcher="fetch.php" data-size="600,600" data-min-size="200,200" data-max-file-size="10"
|
||||
data-status-image-too-small="Bild zu klein<br>min. $0 Pixel"
|
||||
data-status-file-type="Ungültige Datei<br>bitte nur: $0"
|
||||
data-status-file-size="Die Datei ist zu groß<br>max. $0 MB"
|
||||
data-button-confirm-label="bestätigen" data-button-cancel-label="abbrechen"
|
||||
data-button-confirm-title="bestätigen" data-button-cancel-title="abbrechen"
|
||||
data-button-rotate-title="drehen" data-ratio="1:1">
|
||||
<input type="file" name="avatar[]" required />
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-secondary mt-2" type="submit">Foto speichern</button>
|
||||
{!! Form::close() !!}
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group col-md-8">
|
||||
{!! Form::open(['url' => route('user_profile'), 'class' => 'form-horizontal']) !!}
|
||||
<input type="hidden" name="user_id" id="user_id" value="@if ($user->id > 0){{ $user->id }}@else new @endif">
|
||||
<label class="form-label" for="about_you">Kurzer Text über Dich (max. 600 Zeichen)</label>
|
||||
{{ Form::textarea('about_you', $user->account->about_you, ['placeholder' => __('Über dich'), 'class' => 'form-control bootstrap-maxlength text-autosize', 'maxlength' => 600, 'rows' => 1, 'id' => 'about_you']) }}
|
||||
<button type="submit" class="btn btn-secondary mt-2">{{ __('save changes') }}</button>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="application/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
|
@ -2,8 +2,6 @@
|
|||
Potentielle Kosten für diese Promotion:
|
||||
{{ formatNumber($user_promotion_cart['price_net']) }} € netto / {{ formatNumber($user_promotion_cart['price']) }} € inkl. MwSt.
|
||||
</h5>
|
||||
<p>Text ...</p>
|
||||
|
||||
@if(isset($checkPaymentCredit))
|
||||
@if($checkPaymentCredit === 'empty')
|
||||
<h6 class="alert badge-danger mt-3 py-2">Du hast kein Guthaben aus Deinem Konto auf, lade Dein Konto auf, bis dahin ist die Promotion gestoppt.</h6>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,73 @@
|
|||
|
||||
<style>
|
||||
|
||||
table.table-product,
|
||||
table.table-product tr td,
|
||||
table.table-product tr th {
|
||||
border: none;
|
||||
}
|
||||
|
||||
table.table-product tr.border-top td {
|
||||
border-top: 1px solid #b8b8b9;
|
||||
}
|
||||
|
||||
table.table-product tr.border-bottom td,
|
||||
table.table-product tr.border-bottom th {
|
||||
border-bottom: 1px solid #b8b8b9;
|
||||
}
|
||||
|
||||
|
||||
.btn-md-extra {
|
||||
padding: 0.3rem 0.6rem;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.md-btn-extra {
|
||||
width: calc(1.7rem + 2px) !important;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.form-control.input-extra {
|
||||
padding: 0.28rem 0.6rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
min-height: calc(1.8rem + 2px);
|
||||
height: calc(1.8rem + 2px);
|
||||
width: 44px;
|
||||
}
|
||||
|
||||
.input-group-min-w {
|
||||
min-width: 102px;
|
||||
}
|
||||
|
||||
.img-extra {
|
||||
min-width: 55px;
|
||||
max-height: 160px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.default-style:not([dir=rtl]) div.card-datatable table.dataTable thead th:first-child, .default-style:not([dir=rtl]) div.card-datatable table.dataTable tbody td:first-child, .default-style:not([dir=rtl]) div.card-datatable table.dataTable tfoot th:first-child {
|
||||
padding-left: 0.6rem !important;
|
||||
}
|
||||
|
||||
.img-extra {
|
||||
min-width: 35px;
|
||||
max-height: 160px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="card mb-2">
|
||||
<h5 class="card-header">
|
||||
{{ __('Promotion') }}
|
||||
{{ $user_promotion->promotion_admin->name }}
|
||||
@if ($user_promotion->promotion_admin->from)
|
||||
| vom: {{ $user_promotion->promotion_admin->from }}
|
||||
@endif
|
||||
@if ($user_promotion->promotion_admin->from)
|
||||
| bis: {{ $user_promotion->promotion_admin->to }}
|
||||
@endif
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
|
|
@ -10,8 +76,8 @@
|
|||
{!! Form::checkbox('active', 1, $user_promotion->active, ['class' => 'custom-control-input']) !!}
|
||||
<span class="custom-control-label">{{ __('Promotion aktiv') }}</span>
|
||||
</label>
|
||||
<label class="form-label" for="name">Promotion Name vergeben*</label>
|
||||
{{ Form::text('name', $user_promotion->name, ['placeholder' => __('Promotion Name'), 'class' => 'form-control', 'id' => 'name', 'required' => true]) }}
|
||||
<label class="form-label" for="name">Titel Deiner Promotion (erscheint auf Deiner Promotion Seite) max. 50 Zeichen*</label>
|
||||
{{ Form::text('name', $user_promotion->name, ['placeholder' => __('Promotion Titel'), 'class' => 'form-control bootstrap-maxlength', 'maxlength'=>50, 'id' => 'name', 'required' => true]) }}
|
||||
@if ($errors->has('name'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('name') }}</strong>
|
||||
|
|
@ -19,12 +85,33 @@
|
|||
@endif
|
||||
</div>
|
||||
<div class="form-group col-12">
|
||||
<label class="form-label" for="description">Kurzbeschreibung (optional)</label>
|
||||
{{ Form::textarea('description', $user_promotion->description, ['placeholder' => __('Kurzbeschreibung'), 'class' => 'form-control', 'rows' => 2, 'id' => 'description']) }}
|
||||
<label class="form-label" for="description">Kurzbeschreibung Deiner Promotion (erscheint auf Deiner Promotion Seite) max. 600 Zeichen</label>
|
||||
{{ Form::textarea('description', $user_promotion->description, ['placeholder' => __('Kurzbeschreibung'), 'class' => 'form-control bootstrap-maxlength text-autosize', 'maxlength'=>600, 'rows' => 1, 'id' => 'description']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-12">
|
||||
<label class="form-label" for="about_you">Kurzer Text über Dich (erscheint auf Deiner Promotion Seite) max. 600 Zeichen</label>
|
||||
{{ Form::textarea('about_you', $user_promotion->about_you, ['placeholder' => __('Über dich'), 'class' => 'form-control bootstrap-maxlength text-autosize', 'maxlength'=>600, 'rows' => 1, 'id' => 'about_you']) }}
|
||||
<p class="mt-1 mb-0"><i>Einen kurzen Text über Dich kannst Du in <a class="btn btn-xs btn-outline-primary" href="{{ route('user_profile') }}">"Mein Konto - Mein Profil"</a> hinterlegen, dieser wird automatisch hier eingefügt, kann aber abgeändert werden.</i></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Text...</p>
|
||||
<hr>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12 {{ $errors->has('internal_name') ? 'has-error' : '' }}">
|
||||
<label class="form-label" for="internal_name">Interner Titel*</label>
|
||||
{{ Form::text('internal_name', $user_promotion->internal_name, ['placeholder' => __('Promotion Interner Titel'), 'class' => 'form-control', 'id' => 'internal_name', 'required' => true]) }}
|
||||
@if ($errors->has('internal_name'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('internal_name') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group col-12">
|
||||
<label class="form-label" for="description">Internere Kurzbeschreibung</label>
|
||||
{{ Form::textarea('internal_description', $user_promotion->internal_description, ['placeholder' => __('Internere Kurzbeschreibung'), 'class' => 'form-control text-autosize', 'rows' => 1, 'id' => 'internal_description']) }}
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-8">
|
||||
<div class="input-group mt-2 mb-2 ">
|
||||
|
|
@ -49,11 +136,23 @@
|
|||
class="fa fa-times"></i> nicht verfügbar/Fehler</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="from-group mb-2 col-md-8">
|
||||
<label class="form-label">Vorschau Domain</label>
|
||||
{{ Form::text('preview_user_promotion_url', $user_promotion->getUrlPreview(), ['placeholder' => __('Vorschau Shop-Internet Adresse'), 'class' => 'form-control', 'id' => 'preview_user_promotion_url', 'readonly']) }}
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-10 mb-0">
|
||||
<label class="form-label">Vorschau Domain / URL für Deine Promotion</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-prepend">
|
||||
<button class="btn btn-sm btn-secondary" type="button" title="Kopiert!" data-clipboard-demo data-clipboard-target="#promotion_link"><i class="ion ion-ios-copy"></i> Domain kopieren</button>
|
||||
</span>
|
||||
{{ Form::text('preview_user_promotion_url', $user_promotion->getUrlPreview(), ['placeholder' => __('Vorschau Shop-Internet Adresse'), 'class' => 'form-control', 'id' => 'preview_user_promotion_url', 'readonly']) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 mb-0">
|
||||
<label class="form-label"> </label>
|
||||
<div>
|
||||
<a class="btn btn-sm btn-outline-primary mt-1" href="{{ $user_promotion->getUrlPreview() }}" target="_blank"><i class="ion ion-ios-share-alt"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
|
|
@ -64,79 +163,20 @@
|
|||
<span class="custom-control-label">Kunden können bei mir persönlich abholen.</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="from-group mb-2 col-md-6">
|
||||
<label class="form-label">Deine Kontaktadresse</label>
|
||||
{{ Form::textarea('user_address', $user_promotion->user_address, ['class' => 'form-control', 'rows' => 5, 'id' => 'user_address']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<hr class="m-0">
|
||||
<div class="card-body">
|
||||
<p>Text ...</p>
|
||||
<h5>
|
||||
Aktuelles Guthaben: {{ Auth::user()->getFormattedPaymentCredit() }} €
|
||||
<span class="text-muted small">(Guthaben aufladen unter: <a
|
||||
<span class="text-muted small">(Guthaben aufladen unter: <a class="btn btn-xs btn-outline-primary"
|
||||
href="{{ route('user_order_my_delivery', ['me']) }}">Bestellungen aufgeben</a> -> Produkt
|
||||
Guthaben aufladen)</span>
|
||||
</h5>
|
||||
<style>
|
||||
table.table-product,
|
||||
table.table-product tr td,
|
||||
table.table-product tr th {
|
||||
border: none;
|
||||
}
|
||||
|
||||
table.table-product tr.border-top td {
|
||||
border-top: 1px solid #b8b8b9;
|
||||
}
|
||||
|
||||
table.table-product tr.border-bottom td,
|
||||
table.table-product tr.border-bottom th {
|
||||
border-bottom: 1px solid #b8b8b9;
|
||||
}
|
||||
|
||||
|
||||
.btn-md-extra {
|
||||
padding: 0.3rem 0.6rem;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.md-btn-extra {
|
||||
width: calc(1.7rem + 2px) !important;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.form-control.input-extra {
|
||||
padding: 0.28rem 0.6rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
min-height: calc(1.8rem + 2px);
|
||||
height: calc(1.8rem + 2px);
|
||||
width: 44px;
|
||||
}
|
||||
|
||||
.input-group-min-w {
|
||||
min-width: 102px;
|
||||
}
|
||||
|
||||
.img-extra {
|
||||
min-width: 55px;
|
||||
max-height: 160px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.default-style:not([dir=rtl]) div.card-datatable table.dataTable thead th:first-child, .default-style:not([dir=rtl]) div.card-datatable table.dataTable tbody td:first-child, .default-style:not([dir=rtl]) div.card-datatable table.dataTable tfoot th:first-child {
|
||||
padding-left: 0.6rem !important;
|
||||
}
|
||||
|
||||
.img-extra {
|
||||
min-width: 35px;
|
||||
max-height: 160px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-product table-striped m-0" id="datatables-promotion-list" data-url="{{ route('user_promotion_load') }}" data-action="updateCart" data-user_promotion_id="{{ $user_promotion->id }}">
|
||||
|
|
@ -147,6 +187,7 @@
|
|||
<th>{{ __('Produkt') }}</th>
|
||||
<th class="text-right">{{ __('Mein Preis netto') }}</th>
|
||||
<th class="text-right">{{ __('Mein Preis brutto') }}</th>
|
||||
<th class="text-right">{{ __('Gesamt Preis brutto') }}</th>
|
||||
<th class="text-right">{{ __('geordert') }}</th>
|
||||
|
||||
</tr>
|
||||
|
|
@ -213,10 +254,12 @@
|
|||
<td class="align-middle px-3 py-2 text-right" style="">
|
||||
{{ $promotion_admin_product->getFormattedPriceWith(false) }} €
|
||||
</td>
|
||||
<td class="align-middle px-3 py-2 nowrap text-right" style="">
|
||||
<span class="calculate_product_qty_price_total" data-qty-id="product_qty_{{ $promotion_admin_product->id }}" data-price="{{ $promotion_admin_product->getPriceWith(false) }}"></span> €
|
||||
</td>
|
||||
<td class="align-middle px-3 py-2 text-right" style="">
|
||||
{{ $promotion_admin_product->getPromotionUserProducts($user_promotion, 'sell_items') }}
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
|
@ -230,7 +273,24 @@
|
|||
</div>
|
||||
|
||||
<script type="application/javascript">
|
||||
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
var clipboardDemos = new ClipboardJS('[data-clipboard-demo]');
|
||||
clipboardDemos.on('success', function (e) {
|
||||
e.clearSelection();
|
||||
$(e.trigger).tooltip('enable').tooltip('show');
|
||||
});
|
||||
clipboardDemos.on('error', function (e) {
|
||||
console.error('Action:', e.action);
|
||||
console.error('Trigger:', e.trigger);
|
||||
});
|
||||
|
||||
$('button[data-clipboard-demo]').on('mouseout', function () {
|
||||
$(this).tooltip('disable');
|
||||
});
|
||||
$.extend($.validator.messages, {
|
||||
required: "Dieses Feld ist ein Pflichtfeld.",
|
||||
maxlength: $.validator.format("Gib bitte maximal {0} Zeichen ein."),
|
||||
|
|
@ -313,8 +373,6 @@
|
|||
$(element).parent().find('button i').addClass('fa-check');
|
||||
$(element).parents('.form-group').find('.is-invalid').removeClass('is-invalid');
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
messages: {
|
||||
required: "{{ __('This field is required.') }}",
|
||||
|
|
|
|||
|
|
@ -30,9 +30,17 @@
|
|||
@foreach($values as $value)
|
||||
|
||||
<div class="card mb-4">
|
||||
<div class="card-body d-flex justify-content-between align-items-start pb-2">
|
||||
<div class="card-body d-flex justify-content-between align-items-start pt-3 pb-1">
|
||||
<div>
|
||||
<a href="{{route('user_promotion_detail', [$value->id])}}" class="text-body text-big font-weight-semibold">{{$value->name}}</a>
|
||||
<a href="{{route('user_promotion_detail', [$value->id])}}" class="text-body text-big font-weight-semibold">
|
||||
{{ $value->promotion_admin->name }}
|
||||
@if ($value->promotion_admin->from)
|
||||
| vom: {{ $value->promotion_admin->from }}
|
||||
@endif
|
||||
@if ($value->promotion_admin->from)
|
||||
| bis: {{ $value->promotion_admin->to }}
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
@if($value->canDelete())
|
||||
<div class="btn-group project-actions">
|
||||
|
|
@ -43,11 +51,13 @@
|
|||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="progress rounded-0" style="height: 2px;">
|
||||
<div class="progress rounded-0" style="height: 1px;">
|
||||
<div class="progress-bar" style="width: 100%;"></div>
|
||||
</div>
|
||||
<div class="card-body pt-3 pb-1">
|
||||
{{$value->description}}
|
||||
<p><strong>{{$value->internal_name}}</strong></p>
|
||||
<p>{!! nl2br($value->internal_description) !!}</p>
|
||||
|
||||
<hr>
|
||||
</div>
|
||||
<div class="card-body pt-0">
|
||||
|
|
@ -126,7 +136,7 @@
|
|||
<h6 class="alert badge-danger mt-3 py-2">Du hast kein Guthaben aus Deinem Konto auf, lade Dein Konto auf, bis dahin ist die Promotion gestoppt.</h6>
|
||||
@endif
|
||||
@if($checkPaymentCredit === 'okay')
|
||||
<h6 class="alert badge-success mt-3 py-2">Dein Guthaben ist für diese Promotion</h6>
|
||||
<h6 class="alert badge-success mt-3 py-2">Dein Guthaben ist ausreichend für diese Promotion</h6>
|
||||
@endif
|
||||
@if($checkPaymentCredit === 'not')
|
||||
<h6 class="alert badge-danger mt-3 py-2">Dein Guthaben ist nicht ausreichend für diese Promotion, lade Dein Konto auf, bis dahin ist die Promotion gestoppt.</h6>
|
||||
|
|
@ -179,20 +189,18 @@
|
|||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
$( document ).ready(function() {
|
||||
var clipboardDemos = new ClipboardJS('[data-clipboard-demo]');
|
||||
clipboardDemos.on('success', function (e) {
|
||||
e.clearSelection();
|
||||
$(e.trigger).tooltip('enable').tooltip('show');
|
||||
});
|
||||
clipboardDemos.on('error', function (e) {
|
||||
console.error('Action:', e.action);
|
||||
console.error('Trigger:', e.trigger);
|
||||
});
|
||||
|
||||
$('button[data-clipboard-demo]').on('mouseout', function () {
|
||||
$(this).tooltip('disable');
|
||||
})
|
||||
var clipboardDemos = new ClipboardJS('[data-clipboard-demo]');
|
||||
clipboardDemos.on('success', function (e) {
|
||||
e.clearSelection();
|
||||
$(e.trigger).tooltip('enable').tooltip('show');
|
||||
});
|
||||
clipboardDemos.on('error', function (e) {
|
||||
console.error('Action:', e.action);
|
||||
console.error('Trigger:', e.trigger);
|
||||
});
|
||||
|
||||
$('button[data-clipboard-demo]').on('mouseout', function () {
|
||||
$(this).tooltip('disable');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -403,7 +403,6 @@
|
|||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
0
resources/views/user/user_form_image.blade.php
Normal file
0
resources/views/user/user_form_image.blade.php
Normal file
0
resources/views/web/index.blade.php
Executable file
0
resources/views/web/index.blade.php
Executable file
48
resources/views/web/layouts/application.blade.php
Normal file
48
resources/views/web/layouts/application.blade.php
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en" class="light-style">
|
||||
<head>
|
||||
<title>Natürliche Deocremes - GRÜNE SEELE</title>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
|
||||
<link rel="stylesheet" href="{{ asset('/fonts/shop.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/fonts/fontawesome.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/fonts/ionicons.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/fonts/linearicons.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/bootstrap.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/appwork.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/uikit.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/libs/swiper/swiper-bundle.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/growl/growl.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/bootstrap-select/bootstrap-select.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/css/shop.css') }}?v=1{{ get_file_last_time('/css/shop.css') }}">
|
||||
|
||||
|
||||
@yield('styles')
|
||||
<script src="{{ mix('/vendor/js/layout-helpers.js') }}"></script>
|
||||
<script src="{{ asset('/js/jquery.min.js') }}"></script>
|
||||
|
||||
</head>
|
||||
<body class="custom-background">
|
||||
@yield('layout-content')
|
||||
|
||||
<div class="modal fade" id="modals-load-content">
|
||||
<div class="modal-dialog modal-lg">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="{{ mix('/vendor/libs/popper/popper.js') }}"></script>
|
||||
<script src="{{ mix('/vendor/js/bootstrap.js') }}"></script>
|
||||
<script src="{{ asset('/vendor/libs/jquery-validation/dist/jquery.validate.min.js') }}"></script>
|
||||
<script src="{{ asset('/vendor/libs/jquery-validation/dist/localization/messages_de.min.js') }}"></script>
|
||||
<script src="{{ mix('/vendor/libs/bootstrap-select/bootstrap-select.js') }}"></script>
|
||||
<script src="{{ asset('/vendor/libs/swiper/swiper-bundle.min.js') }}"></script>
|
||||
<script src="{{ asset('/js/shop.js') }}?v=1{{ get_file_last_time('/js/shop.js') }}"></script>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,71 @@
|
|||
|
||||
|
||||
<nav class="landing-navbar navbar navbar-expand-lg pt-lg-4">
|
||||
|
||||
<div class="container px-3 pt-4">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="contact-box d-none d-md-block mt-3">
|
||||
<div class="contact-phone-box">
|
||||
<div class="contact-phone-icon">
|
||||
<i class="fa fa-phone-volume"></i>
|
||||
</div>
|
||||
<div class="contact-phone-text">
|
||||
<div class="contact-phone-title"> Sag hallo ... </div>
|
||||
<a href="tel:+49(0)22031869014" class="contact-phone-link">+49 (0) 2203 186 90 14</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-day-email">
|
||||
Mo–Sa 9–19 Uhr | <a href="mailto:service@gruene-seele.bio">service@gruene-seele.bio</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<img src="https://www.gruene-seele.bio/wp-content/uploads/2019/10/gruene-seele-logo_beige.jpg" class="img-brand" alt="Grüne Seele Logo">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="navbar-nav align-items-lg-center ml-auto">
|
||||
<a class="anchor-link nav-item nav-link" href="#">Vertriebspartner werden</a><span class="d-none d-lg-block"> | </span>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Impressum</a><span class="d-none d-lg-block"> | </span>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Datenschutz</a><span class="d-none d-lg-block"> | </span>
|
||||
<a class="anchor-link nav-item nav-link" href="#">AGB</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="container d-flex justify-content-between px-3">
|
||||
<div class="contact-box d-none d-md-block">
|
||||
<div class="contact-phone-box">
|
||||
<div class="contact-phone-icon">
|
||||
<i class="fa fa-phone-volume"></i>
|
||||
</div>
|
||||
<div class="contact-phone-text">
|
||||
<div class="contact-phone-title"> Sag hallo ... </div>
|
||||
<a href="tel:+49(0)22031869014" class="contact-phone-link">+49 (0) 2203 186 90 14</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-day-email">
|
||||
Mo–Sa 9–19 Uhr | <a href="mailto:service@gruene-seele.bio">service@gruene-seele.bio</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
<a href="https://www.gruene-seele.bio" class="a-brand">
|
||||
<img src="https://www.gruene-seele.bio/wp-content/uploads/2019/10/gruene-seele-logo_beige.jpg" class="img-brand" alt="Grüne Seele Logo">
|
||||
</a>
|
||||
</div>
|
||||
<div class="">
|
||||
|
||||
<div class="navbar-nav align-items-lg-center ml-auto">
|
||||
<a class="anchor-link nav-item nav-link" href="#">Vertriebspartner werden</a><span class="d-none d-lg-block"> | </span>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Impressum</a><span class="d-none d-lg-block"> | </span>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Datenschutz</a><span class="d-none d-lg-block"> | </span>
|
||||
<a class="anchor-link nav-item nav-link" href="#">AGB</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
41
resources/views/web/layouts/includes/layout-footer.blade.php
Normal file
41
resources/views/web/layouts/includes/layout-footer.blade.php
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!-- Footer -->
|
||||
<nav class="footer bp-3 pt-4">
|
||||
<hr class="m-0">
|
||||
|
||||
<div class="container px-3 pt-4">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<img src="https://www.gruene-seele.bio/wp-content/uploads/2019/10/gruene-seele-logo_beige.jpg" class="img-brand" alt="Grüne Seele Logo">
|
||||
|
||||
</div>
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="contact-box mt-4">
|
||||
<div class="contact-phone-box">
|
||||
<div class="contact-phone-icon">
|
||||
<i class="fa fa-phone-volume"></i>
|
||||
</div>
|
||||
<div class="contact-phone-text">
|
||||
<div class="contact-phone-title"> Sag hallo ... </div>
|
||||
<a href="tel:+49(0)22031869014" class="contact-phone-link">+49 (0) 2203 186 90 14</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-day-email">
|
||||
Mo–Sa 9–19 Uhr | <a href="mailto:service@gruene-seele.bio">service@gruene-seele.bio</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4 col-md-12">
|
||||
<div class="navbar-nav text-md-center text-lg-right ml-auto mt-3">
|
||||
<a class="anchor-link nav-item nav-link" href="#">Vertriebspartner werden</a>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Impressum</a>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Datenschutz</a>
|
||||
<a class="anchor-link nav-item nav-link" href="#">AGB</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="container py-2 px-2">
|
||||
<div class="text-left pl-2 mt-2">Copyright since 2019 • GRÜNE SEELE GbR</div>
|
||||
</div>
|
||||
</nav>
|
||||
33
resources/views/web/layouts/includes/layout-header.blade.php
Normal file
33
resources/views/web/layouts/includes/layout-header.blade.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
|
||||
|
||||
<nav class="landing-navbar navbar pt-lg-4">
|
||||
<div class="container d-flex justify-content-between px-3">
|
||||
<div class="contact-box d-none d-md-block box-min-width">
|
||||
<div class="contact-phone-box">
|
||||
<div class="contact-phone-icon">
|
||||
<i class="fa fa-phone-volume"></i>
|
||||
</div>
|
||||
<div class="contact-phone-text">
|
||||
<div class="contact-phone-title"> Sag hallo ... </div>
|
||||
<a href="tel:+49(0)22031869014" class="contact-phone-link">+49 (0) 2203 186 90 14</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-day-email">
|
||||
Mo–Sa 9–19 Uhr | <a href="mailto:service@gruene-seele.bio">service@gruene-seele.bio</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
<a href="https://www.gruene-seele.bio" class="a-brand">
|
||||
<img src="https://www.gruene-seele.bio/wp-content/uploads/2019/10/gruene-seele-logo_beige.jpg" class="img-brand" alt="Grüne Seele Logo">
|
||||
</a>
|
||||
</div>
|
||||
<div class="box-min-width">
|
||||
<div class="navbar-nav text-right ml-auto" style="">
|
||||
<a class="anchor-link nav-item nav-link" href="#">Vertriebspartner werden</a>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Impressum</a>
|
||||
<a class="anchor-link nav-item nav-link" href="#">Datenschutz</a>
|
||||
<a class="anchor-link nav-item nav-link" href="#">AGB</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
11
resources/views/web/layouts/layout.blade.php
Normal file
11
resources/views/web/layouts/layout.blade.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
@extends('web.layouts.application')
|
||||
|
||||
@section('layout-content')
|
||||
|
||||
@include('web.layouts.includes.layout-header')
|
||||
|
||||
@yield('content')
|
||||
|
||||
@include('web.layouts.includes.layout-footer')
|
||||
|
||||
@endsection
|
||||
157
resources/views/web/promotion/_checkout.blade.php
Normal file
157
resources/views/web/promotion/_checkout.blade.php
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
@if (isset($shopping_mode) && $shopping_mode === 'test')
|
||||
<strong>#### TEST MODE #### TEST MODE ####</strong>
|
||||
@endif
|
||||
<div class="checkout-order mt-4">
|
||||
<h3 class="">Zahlungsart auswählen</h3>
|
||||
<div id="error-payment_method"></div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-payment m-0" id="">
|
||||
<tbody class="switchers-stacked">
|
||||
@if (true || \App\Models\PaymentMethod::isShowPaymentMethod('PP', $user_payment_methods, 0))
|
||||
<tr>
|
||||
<td class="align-middle px-0 pl-1p">
|
||||
<label class="switcher switcher-success">
|
||||
{!! Form::radio('payment_method', 'pp', '', ['class' => 'switcher-input', 'data-error'=>'#error-payment_method', 'required' => true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label font-weight-bold text-left">PayPal</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90"
|
||||
src="{{ asset('images/payments-assets/paypal.png') }}" alt="PayPal">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endif
|
||||
@if (true || \App\Models\PaymentMethod::isShowPaymentMethod('SB', $user_payment_methods, 0))
|
||||
<tr>
|
||||
<td class="align-middle px-0 pl-1p">
|
||||
<label class="switcher switcher-success">
|
||||
{!! Form::radio('payment_method', 'sb', '', ['class' => 'switcher-input', 'data-error'=>'#error-payment_method', 'required' => true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label font-weight-bold text-left">Sofort
|
||||
-Überweisung</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90"
|
||||
src="{{ asset('images/payments-assets/sofort.png') }}" alt="Sofort">
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (true || \App\Models\PaymentMethod::isShowPaymentMethod('CC', $user_payment_methods, 0))
|
||||
<tr>
|
||||
<td class="align-middle px-0 pl-1p">
|
||||
<label class="switcher switcher-success">
|
||||
{!! Form::radio('payment_method', 'cc', '', ['class' => 'switcher-input', 'data-error'=>'#error-payment_method', 'required' => true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label font-weight-bold text-left">Kreditkarte</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90"
|
||||
src="{{ asset('images/payments-assets/creditcard.png') }}" alt="Mastercard + Visa">
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (true || \App\Models\PaymentMethod::isShowPaymentMethod('VOR', $user_payment_methods, 0))
|
||||
<tr>
|
||||
<td class="align-middle px-0 pl-1p">
|
||||
<label class="switcher switcher-success">
|
||||
{!! Form::radio('payment_method', 'vor', '', ['class' => 'switcher-input', 'data-error'=>'#error-payment_method', 'required' => true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label font-weight-bold text-left">Vorkasse</span>
|
||||
</label>
|
||||
</td>
|
||||
<td class="text-right align-middle px-0 py-3 ui-w-100">
|
||||
<img class="float-right" width="90" src="{{ asset('images/payments-assets/vor.png') }}"
|
||||
alt="Vorkasse">
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h3 class="mt-4">Warenkorb</h3>
|
||||
<div class="checkout-cart">
|
||||
<div class="mb-2">
|
||||
<span class="float-right">0,00 €</span>
|
||||
<strong class="">Zwischensumme:</strong>
|
||||
</div>
|
||||
<hr class="light">
|
||||
<div class="mb-2">
|
||||
<span class="float-right">0,00 € </span>
|
||||
<span class="">Versandkosten:</span>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
<span class="float-right">Deutschland</span>
|
||||
<span class="">Lieferland:</span>
|
||||
</div>
|
||||
<hr class="light">
|
||||
<div class="mb-2" style="font-size: 90%">
|
||||
<span class="float-right">0,00 €</span>
|
||||
<span class="">Summe ohne MwSt:</span>
|
||||
</div>
|
||||
<div class="mb-2" style="font-size: 90%">
|
||||
<span class="float-right">0,00 €</span>
|
||||
<span class=""> zzgl. {{-- Yard::getTaxRate() --}} MwSt:</span>
|
||||
</div>
|
||||
<hr class="light">
|
||||
<div class="">
|
||||
<span class="float-right"><strong>0,00 €</strong></span>
|
||||
<strong class="">Gesamtsumme:</strong>
|
||||
</div>
|
||||
<hr class="light">
|
||||
<div class="form-group">
|
||||
<label class="switcher switcher-success">
|
||||
{!! Form::checkbox('accepted_data', 1, '', ['id' => 'accepted_data', 'class' => 'switcher-input', 'data-error'=>'#error-accepted_data', 'required' => true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no">
|
||||
</span>
|
||||
</span>
|
||||
<span class="switcher-label">Mit Klick auf "Jetzt kaufen" akzeptiere ich die
|
||||
<a href="https://www.gruene-seele.bio/vp-agb/" target="_blank" class="text-secondary">Allgemeinen
|
||||
Geschäftsbedingungen</a> und die
|
||||
<a href="https://www.gruene-seele.bio/datenschutzerklaerung/" target="_bank"
|
||||
class="text-secondary">Datenschutzbelehrung</a>, damit für die Bestellung
|
||||
meine Daten verarbeitet werden können. <span class="required">*</span>
|
||||
</label>
|
||||
<div id="error-accepted_data"></div>
|
||||
|
||||
</div>
|
||||
{!! Form::hidden("action", "submit-promotion-order") !!}
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block mt-4 button-prevent-multiple-submits">
|
||||
<i class="ion ion-ios-share-alt"></i> Jetzt kaufen <i class="spinner fa fa-spinner fa-spin"></i>
|
||||
</button>
|
||||
<hr class="light">
|
||||
<p class="text-center" style="line-height: 1.2em;"><em class="small text-center"> <i
|
||||
class="fa fa-lock"></i> Sind alle Deine Angaben vollsätndig ausgefüllt,
|
||||
klicke auf "Jetzt kaufen" und Du wist zu unserem Zahlungsanbieter weitergeleitet,
|
||||
die Verbindung ist SSL verschlüsselt.</em></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
22
resources/views/web/promotion/_fairplay.blade.php
Normal file
22
resources/views/web/promotion/_fairplay.blade.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<section>
|
||||
<div class="row">
|
||||
<div class="col-12 text-left">
|
||||
<h2 class="mt-3">Fairplay</h2>
|
||||
<label class="switcher switcher-success">
|
||||
<input type="checkbox" class="switcher-input" name="switch_fairplay" data-error="#error-switch_fairplay" value="ok" required>
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no">
|
||||
</span>
|
||||
</span>
|
||||
<span class="switcher-label">Ich verstehe und ....</span>
|
||||
</label>
|
||||
<div id="error-switch_fairplay" class="text-left"></div>
|
||||
</div>
|
||||
<div class="mt-2 col-12">
|
||||
<hr class="">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
53
resources/views/web/promotion/_free_product.blade.php
Normal file
53
resources/views/web/promotion/_free_product.blade.php
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<section>
|
||||
<h2 class="text-center">1 Tester gratis für Dich</h2>
|
||||
<p class="text-center">Wähle nun ...</p>
|
||||
|
||||
<div class="row justify-content-center">
|
||||
@foreach ($promotion_user->promotion_user_products_active as $promotion_user_product)
|
||||
@if ($promotion_user_product->isShow())
|
||||
<div class="col-md-6 col-lg-4 text-center p-4">
|
||||
@if ($promotion_user_product->product->images)
|
||||
@if ($image = $promotion_user_product->product->images->first())
|
||||
<img src="{{ route('product_image', [$image->slug]) }}" class="mb-2 img-fluid"
|
||||
alt="" style="max-height: 350px">
|
||||
@endif
|
||||
@endif
|
||||
<h4 class="product-title">
|
||||
{{ $promotion_user_product->product->name }}
|
||||
</h4>
|
||||
<div class="mb-2 product-description">
|
||||
{{ substr_ellipsis($promotion_user_product->product->description, 110, true) }}
|
||||
</div>
|
||||
<div class="more_details">
|
||||
<a href="" class="" data-modal="modal-lg" data-toggle="modal"
|
||||
data-target="#modals-load-content"
|
||||
data-id="{{ $promotion_user_product->product->id }}"
|
||||
data-route="{{ route('web_promotion_modal_load') }}"
|
||||
data-action="web-show-product" data-view="no-price">
|
||||
<i class="fa fa-search"></i> Mehr Details</a>
|
||||
</div>
|
||||
<div class="mt-4 mb-3">
|
||||
<div class="switcher-holder">
|
||||
<label class="switcher switcher-success">
|
||||
<input type="radio" class="switcher-input" name="user_free_product" value="{{ $promotion_user_product->product->id }}" data-error="#error-user_free_product" required>
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no">
|
||||
<span class="ion ion-md-close"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="switcher-label"> möchte ich haben</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
<div class="col-12">
|
||||
<div id="error-user_free_product" class="text-center"></div>
|
||||
<hr class="">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
9
resources/views/web/promotion/_intro.blade.php
Normal file
9
resources/views/web/promotion/_intro.blade.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<div class="container flex-grow-1 container-p-y pb-0">
|
||||
<div class="media align-items-center py-3 mb-3">
|
||||
{{-- <img src="assets/img/avatars/5-small.png" alt="" class="d-block ui-w-100 rounded-circle"> --}}
|
||||
<div class="media-body ml-4">
|
||||
<h1 class="text-center">{{ $promotion_user->name }}</h1>
|
||||
<p class="text-center">{!! nl2br($promotion_user->description) !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
12
resources/views/web/promotion/_intro_thanks.blade.php
Normal file
12
resources/views/web/promotion/_intro_thanks.blade.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<div class="container flex-grow-1 container-p-y pb-0">
|
||||
<div class="media align-items-center py-3 mb-3">
|
||||
{{-- <img src="assets/img/avatars/5-small.png" alt="" class="d-block ui-w-100 rounded-circle"> --}}
|
||||
<div class="media-body ml-4">
|
||||
<h1 class="text-center">Super, geschafft!</h1>
|
||||
<p class="text-center">
|
||||
Ich danke Dir ..
|
||||
</p>
|
||||
<p>Liebe Grüße,<br>{{ $promotion_user->user->getFullName() }}<br>Vertriebspartner:in der GRÜNEN SEELE Naturkosmetik</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
235
resources/views/web/promotion/_invoice_details.blade.php
Normal file
235
resources/views/web/promotion/_invoice_details.blade.php
Normal file
|
|
@ -0,0 +1,235 @@
|
|||
<h2 class="mt-3">Rechnungsdetails</h2>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="form-group {{ $errors->has('billing_salutation') ? 'error' : '' }}">
|
||||
<label for="billing_salutation">Anrede <span class="required">*</span></label>
|
||||
<select id="billing_salutation" name="billing_salutation"
|
||||
class="form-control selectpicker revalidat" data-style="btn-default" data-error="#error-billing_salutation" required>
|
||||
{!! HTMLHelper::getSalutation(old('billing_salutation')) !!}
|
||||
</select>
|
||||
<div id="error-billing_salutation" class="text-left"></div>
|
||||
@if ($errors->has('billing_salutation'))
|
||||
<label for="billing_salutation" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_salutation') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="billing_firstname">Vorname <span class="required">*</span></label>
|
||||
{!! Form::text('billing_firstname', '', ['class' => 'form-control ' . ($errors->has('billing_firstname') ? 'error' : ''), 'id' => 'billing_firstname', 'required' => true]) !!}
|
||||
@if ($errors->has('billing_firstname'))
|
||||
<label for="billing_firstname" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_firstname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="billing_lastname">Nachname <span class="required">*</span></label>
|
||||
{!! Form::text('billing_lastname', '', ['class' => 'form-control ' . ($errors->has('billing_lastname') ? 'error' : ''), 'id' => 'billing_lastname', 'required' => true]) !!}
|
||||
@if ($errors->has('billing_lastname'))
|
||||
<label for="billing_lastname" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_lastname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="billing_company">Firmenname (optional)</label>
|
||||
{!! Form::text('billing_company', '', ['class' => 'form-control', 'id' => 'billing_company']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="billing_state">Land / Region <span class="required">*</span></label>
|
||||
<select id="billing_state" name="billing_state" class="form-control selectpicker"
|
||||
data-style="btn-default" required>
|
||||
{!! HTMLHelper::getCountriesForShipping(1) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="billing_address">Straße + Hausnummer <span
|
||||
class="required">*</span></label>
|
||||
{!! Form::text('billing_address', '', ['class' => 'form-control ' . ($errors->has('billing_address') ? 'error' : ''), 'id' => 'billing_address', 'required' => true]) !!}
|
||||
@if ($errors->has('billing_address'))
|
||||
<label for="billing_address" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_address') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
{!! Form::text('billing_address_2', '', ['placeholder' => 'Wohnung, Suite, Zimmer usw. (optional)', 'class' => 'form-control ' . ($errors->has('billing_address_2') ? 'error' : ''), 'id' => 'billing_address_2']) !!}
|
||||
@if ($errors->has('billing_address_2'))
|
||||
<label for="billing_address_2" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_address_2') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="billing_zipcode">PLZ <span class="required">*</span></label>
|
||||
{!! Form::text('billing_zipcode', '', ['class' => 'form-control ' . ($errors->has('billing_zipcode') ? 'error' : ''), 'id' => 'billing_zipcode', 'required' => true]) !!}
|
||||
@if ($errors->has('billing_zipcode'))
|
||||
<label for="billing_zipcode" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_zipcode') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="billing_city">Stadt <span class="required">*</span></label>
|
||||
{!! Form::text('billing_city', '', ['class' => 'form-control ' . ($errors->has('billing_city') ? 'error' : ''), 'id' => 'billing_city', 'required' => true]) !!}
|
||||
@if ($errors->has('billing_city'))
|
||||
<label for="billing_city" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_city') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="billing_phone">Telefon (optional)</label>
|
||||
{!! Form::text('billing_phone', '', ['class' => 'form-control ' . ($errors->has('billing_phone') ? 'error' : ''), 'id' => 'billing_phone']) !!}
|
||||
@if ($errors->has('billing_phone'))
|
||||
<label for="billing_phone" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_phone') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="billing_email">E-Mail <span class="required">*</span></label>
|
||||
{!! Form::email('billing_email', '', ['class' => 'form-control ' . ($errors->has('billing_email') ? 'error' : ''), 'id' => 'billing_email', 'required' => true]) !!}
|
||||
@if ($errors->has('billing_email'))
|
||||
<label for="billing_email" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_email') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label class="switcher switcher-success">
|
||||
{!! Form::checkbox('same_as_billing', 1, '', ['id' => 'shipping_address_switch', 'class' => 'switcher-input']) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no">
|
||||
</span>
|
||||
</span>
|
||||
<span class="switcher-label">Lieferung an eine andere Adresse senden?</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" id="shipping_address">
|
||||
<div class="col-12">
|
||||
<hr class="">
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<h2 class="mt-3">Lieferadresse</h2>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group {{ $errors->has('shipping_salutation') ? 'error' : '' }}">
|
||||
<label for="shipping_salutation">Anrede <span class="required">*</span></label>
|
||||
<select id="shipping_salutation" name="shipping_salutation"
|
||||
class="form-control selectpicker revalidat" data-style="btn-default" data-error="#error-shipping_salutation" required>
|
||||
{!! HTMLHelper::getSalutation(old('shipping_salutation')) !!}
|
||||
</select>
|
||||
<div id="error-shipping_salutation" class="text-left"></div>
|
||||
@if ($errors->has('shipping_salutation'))
|
||||
<label for="shipping_salutation" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_salutation') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="shipping_firstname">Vorname <span class="required">*</span></label>
|
||||
{!! Form::text('shipping_firstname', '', ['class' => 'form-control ' . ($errors->has('shipping_firstname') ? 'error' : ''), 'id' => 'shipping_firstname', 'required' => true]) !!}
|
||||
@if ($errors->has('shipping_firstname'))
|
||||
<label for="shipping_firstname" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_firstname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="shipping_lastname">Nachname <span class="required">*</span></label>
|
||||
{!! Form::text('shipping_lastname', '', ['class' => 'form-control ' . ($errors->has('shipping_lastname') ? 'error' : ''), 'id' => 'shipping_lastname', 'required' => true]) !!}
|
||||
@if ($errors->has('shipping_lastname'))
|
||||
<label for="shipping_lastname" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_lastname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="shipping_company">Firmenname (optional)</label>
|
||||
{!! Form::text('shipping_company', '', ['class' => 'form-control', 'id' => 'shipping_company']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="shipping_state">Land / Region <span class="required">*</span></label>
|
||||
<select id="shipping_state" name="shipping_state" class="form-control selectpicker"
|
||||
data-style="btn-default" required>
|
||||
{!! HTMLHelper::getCountriesForShipping(1) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="shipping_address">Straße + Hausnummer <span
|
||||
class="required">*</span></label>
|
||||
{!! Form::text('shipping_address', '', ['class' => 'form-control ' . ($errors->has('shipping_address') ? 'error' : ''), 'id' => 'shipping_address', 'required' => true]) !!}
|
||||
@if ($errors->has('shipping_address'))
|
||||
<label for="shipping_address" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_address') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
{!! Form::text('shipping_address_2', '', ['placeholder' => 'Wohnung, Suite, Zimmer usw. (optional)', 'class' => 'form-control ' . ($errors->has('shipping_address_2') ? 'error' : ''), 'id' => 'shipping_address_2']) !!}
|
||||
@if ($errors->has('shipping_address_2'))
|
||||
<label for="shipping_address_2" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_address_2') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="shipping_zipcode">PLZ <span class="required">*</span></label>
|
||||
{!! Form::text('shipping_zipcode', '', ['class' => 'form-control ' . ($errors->has('shipping_zipcode') ? 'error' : ''), 'id' => 'shipping_zipcode', 'required' => true]) !!}
|
||||
@if ($errors->has('shipping_zipcode'))
|
||||
<label for="shipping_zipcode" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_zipcode') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="shipping_city">Stadt <span class="required">*</span></label>
|
||||
{!! Form::text('shipping_city', '', ['class' => 'form-control ' . ($errors->has('shipping_city') ? 'error' : ''), 'id' => 'shipping_city', 'required' => true]) !!}
|
||||
@if ($errors->has('shipping_city'))
|
||||
<label for="shipping_city" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_city') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="shipping_phone">Telefon (optional)</label>
|
||||
{!! Form::text('shipping_phone', '', ['class' => 'form-control ' . ($errors->has('shipping_phone') ? 'error' : ''), 'id' => 'shipping_phone']) !!}
|
||||
@if ($errors->has('shipping_phone'))
|
||||
<label for="shipping_phone" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('shipping_phone') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
103
resources/views/web/promotion/_promotion_cart.blade.php
Normal file
103
resources/views/web/promotion/_promotion_cart.blade.php
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
<section>
|
||||
<div class="row">
|
||||
<div class="col-12 text-left">
|
||||
<h2 class="mt-3">Warenkorb</h2>
|
||||
<div id="cartContent">
|
||||
<div class="yard-items-head d-none d-sm-block">
|
||||
<div class="row">
|
||||
<div class="col-3 col-sm-2">
|
||||
<div class="row"> </div>
|
||||
</div>
|
||||
<div class="col-9 col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-12 col-sm-6 col-md-7">
|
||||
Artikel
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 col-md-2 text-left">
|
||||
Einzelpreis
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 col-md-3 text-right">
|
||||
Anzahl/Preis
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@foreach ([2, 4, 5] as $id)
|
||||
@php($product = \App\Models\Product::find($id))
|
||||
<div class="row yard-item">
|
||||
|
||||
<div class="col-3 col-sm-2">
|
||||
@if ($product->images)
|
||||
@if($image = $product->images->first())
|
||||
<img src="{{ route('product_image', [$image->slug]) }}" class="d-block ui-w-80 ui-bordered mr-4" alt="">
|
||||
@endif
|
||||
@else
|
||||
<img src="{{ asset('/assets/images/1x1.png') }}" class="d-block ui-w-80 ui-bordered mr-4" alt="">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="col-9 col-sm-10">
|
||||
<div class="row">
|
||||
<div class="col-12 col-sm-6 col-md-7 description">
|
||||
<div class="media-body">
|
||||
<div class="d-block text-body"
|
||||
style="font-size: 15px; font-weight: 500;">{{ $product->name }}
|
||||
</div>
|
||||
<div class="text-body">
|
||||
<div>Inhalt: {{ $product->contents }}</div>
|
||||
<div>Art.-Nr.: {{ $product->number }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="options">
|
||||
<a href="#"
|
||||
class="auto-delete-product remove_item_form_cart product-tooltip"
|
||||
data-row-id="{{ $product->id }}"
|
||||
data-product-id="{{ $product->id }}"><i
|
||||
class="fa fa-times"></i> Artikel entfernen</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-sm-3 col-md-2 text-left font-semi-bold price-single">
|
||||
<div class="no-line-break">
|
||||
{{ $product->getFormattedPrice() }} €*</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-sm-3 col-md-3 quantity">
|
||||
<div class="quantity-select">
|
||||
<input type="number"
|
||||
class="form-control text-center cart-input-event-onchange"
|
||||
data-row-id="{{ $product->id }}"
|
||||
data-product-id="{{ $product->id }}" value="1"
|
||||
name="quantity[{{ $product->id }}]" maxlength="3" max="999"
|
||||
min="1">
|
||||
|
||||
</div>
|
||||
<div class="price-total text-right">
|
||||
<div class="no-line-break">
|
||||
0 €*
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<hr class="mt-2 mb-2 light">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@endforeach
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="mt-2 col-12">
|
||||
<p class="small mb-2">Du hast xx Artikel in Deinem Warenkorb</p>
|
||||
<button type="button" class="btn btn-default btn-sm" id="clear-products-basket"><i
|
||||
class="ion ion-ios-trash"></i> Warenkorb löschen</button>
|
||||
<hr class="">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
112
resources/views/web/promotion/_reminder_service.blade.php
Normal file
112
resources/views/web/promotion/_reminder_service.blade.php
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<section>
|
||||
<h2 class="mt-0 text-center">OH Nein ... alle Tester sind bereits vergriffen!</h2>
|
||||
<p class="text-center">ERINNERUNGS-SERVICE:<br>
|
||||
text ...</p>
|
||||
<div class="row justify-content-md-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="form-group {{ $errors->has('salutation') ? 'error' : '' }}">
|
||||
<label for="salutation">Anrede <span class="required">*</span></label>
|
||||
<select id="salutation" name="salutation" class="form-control selectpicker revalidat"
|
||||
data-style="btn-default" data-error="#error-salutation" required>
|
||||
{!! HTMLHelper::getSalutation(old('salutation')) !!}
|
||||
</select>
|
||||
<div id="error-salutation" class="text-left"></div>
|
||||
@if ($errors->has('billing_salutation'))
|
||||
<label for="billing_salutation" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('billing_salutation') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="firstname">Vorname <span class="required">*</span></label>
|
||||
{!! Form::text('firstname', '', ['class' => 'form-control ' . ($errors->has('firstname') ? 'error' : ''), 'id' => 'firstname', 'required' => true]) !!}
|
||||
@if ($errors->has('firstname'))
|
||||
<label for="firstname" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('firstname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="lastname">Nachname <span class="required">*</span></label>
|
||||
{!! Form::text('lastname', '', ['class' => 'form-control ' . ($errors->has('lastname') ? 'error' : ''), 'id' => 'lastname', 'required' => true]) !!}
|
||||
@if ($errors->has('lastname'))
|
||||
<label for="lastname" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('lastname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="zipcode">PLZ <span class="required">*</span></label>
|
||||
{!! Form::text('zipcode', '', ['class' => 'form-control ' . ($errors->has('zipcode') ? 'error' : ''), 'id' => 'zipcode', 'required' => true]) !!}
|
||||
@if ($errors->has('zipcode'))
|
||||
<label for="zipcode" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('zipcode') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="city">Stadt <span class="required">*</span></label>
|
||||
{!! Form::text('city', '', ['class' => 'form-control ' . ($errors->has('city') ? 'error' : ''), 'id' => 'city', 'required' => true]) !!}
|
||||
@if ($errors->has('city'))
|
||||
<label for="city" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('city') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label for="email">E-Mail <span class="required">*</span></label>
|
||||
{!! Form::email('email', '', ['class' => 'form-control ' . ($errors->has('email') ? 'error' : ''), 'id' => 'email', 'required' => true]) !!}
|
||||
@if ($errors->has('email'))
|
||||
<label for="email" class="error text-danger small"
|
||||
style="display: block;">{{ $errors->first('email') }}</label>
|
||||
@endif
|
||||
<i>Aus Sicherheitsgründen erhälst du eine E-Mail als Bestätigung, die Du über einen Link bestätigen musst.</i>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label class="switcher switcher-success">
|
||||
{!! Form::checkbox('accepted_data', 1, '', ['id' => 'accepted_data', 'class' => 'switcher-input', 'data-error' => '#error-accepted_data', 'required' => true]) !!}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no">
|
||||
</span>
|
||||
</span>
|
||||
<span class="switcher-label">Mit Klick auf "Absenden" akzeptiere ich die
|
||||
<a href="https://www.gruene-seele.bio/vp-agb/" target="_blank"
|
||||
class="text-secondary">Allgemeinen
|
||||
Geschäftsbedingungen</a> und die
|
||||
<a href="https://www.gruene-seele.bio/datenschutzerklaerung/" target="_bank"
|
||||
class="text-secondary">Datenschutzbelehrung</a>, damit für den Reminder
|
||||
meine Daten verarbeitet werden können. <span class="required">*</span>
|
||||
</label>
|
||||
<div id="error-accepted_data"></div>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
{!! Form::hidden("action", "submit-reminder-service") !!}
|
||||
<button type="submit" class="btn btn-primary btn-lg mt-4 mb-4 button-prevent-multiple-submits">
|
||||
<i class="ion ion-ios-share-alt"></i> Absenden <i class="spinner fa fa-spinner fa-spin"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<hr class="">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
49
resources/views/web/promotion/_shipping.blade.php
Normal file
49
resources/views/web/promotion/_shipping.blade.php
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<section>
|
||||
<div class="row">
|
||||
<div class="col-md-6 text-left">
|
||||
<h2 class="mt-3">Wähle Deine Versandart</h2>
|
||||
<div class="switchers-stacked">
|
||||
<label class="switcher switcher-success">
|
||||
<input type="radio" class="switcher-input" name="switchers_shipping" data-error="#error-switchers_shipping" value="pick_up" required>
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label">0,00 € - Ich hole die Ware bei
|
||||
{{ $promotion_user->user->getFullName() }} persönlich ab</span>
|
||||
</label>
|
||||
<label class="switcher switcher-success">
|
||||
<input type="radio" class="switcher-input" name="switchers_shipping" data-error="#error-switchers_shipping" value="dhl_slow">
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label">3,50 € - Bücher-/Warensendung mit Deutsche Post (4-6
|
||||
Werktage)</span>
|
||||
</label>
|
||||
<label class="switcher switcher-success">
|
||||
<input type="radio" class="switcher-input" name="switchers_shipping" data-error="#error-switchers_shipping" value="dhl_fast">
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label">4,90 € - DHL Warenpost (1-3 Werktage)</span>
|
||||
</label>
|
||||
</div>
|
||||
<div id="error-switchers_shipping" class="text-left"></div>
|
||||
</div>
|
||||
<div class="col-md-6 text-left text-md-right">
|
||||
<h2 class="mt-3">Kontakt & Abholadresse</h2>
|
||||
{!! nl2br($promotion_user->user_address) !!}
|
||||
</div>
|
||||
<div class="mt-2 col-12">
|
||||
<hr class="">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
57
resources/views/web/promotion/_shop_products.blade.php
Normal file
57
resources/views/web/promotion/_shop_products.blade.php
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<section>
|
||||
<h2 class="text-center mt-3">zusätzlich Einkaufen</h2>
|
||||
<p class="text-center">Vielleicht sagt...<br>
|
||||
* Preis inkl. gesetzl. MwSt. | zzgl. Versandkosten
|
||||
</p>
|
||||
<div class="swiper mySwiper">
|
||||
<div class="swiper-wrapper">
|
||||
@foreach ($shop_products as $product)
|
||||
<div class="swiper-slide">
|
||||
<div class="text-center p-4">
|
||||
@if ($product->images)
|
||||
@if ($image = $product->images->first())
|
||||
<img src="{{ route('product_image', [$image->slug]) }}" class="mb-2 img-fluid"
|
||||
alt="" style="max-height: 350px">
|
||||
@endif
|
||||
@endif
|
||||
<h4 class="product-title">
|
||||
{{ $product->name }}
|
||||
</h4>
|
||||
<div class="mb-2 product-description">
|
||||
{{ substr_ellipsis($product->description, 110, true) }}
|
||||
</div>
|
||||
<div class="more_details">
|
||||
<a href="" class="" data-modal="modal-lg" data-toggle="modal"
|
||||
data-target="#modals-load-content" data-id="{{ $product->id }}"
|
||||
data-route="{{ route('web_promotion_modal_load') }}"
|
||||
data-action="web-show-product" data-view="with-price">
|
||||
<i class="fa fa-search"></i> Mehr Details</a>
|
||||
</div>
|
||||
<div class="product-item-price mt-2 mb-2">
|
||||
{{ $product->getFormattedPrice() }} €*
|
||||
</div>
|
||||
<div class="mt-2 mb-3">
|
||||
<button type="button" class="btn btn-primary">
|
||||
In den Warenkorb <i class="ion ion-md-basket navbar-icon align-middle"></i>
|
||||
<span class="badge badge-cart indicator">3</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
<a class="nav-link dropdown-toggle hide-arrow text-nowrap ml-lg-2" href="#" data-toggle="dropdown">
|
||||
|
||||
<span class="d-lg-none align-middle"> Cart</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="swiper-button-next"></div>
|
||||
<div class="swiper-button-prev"></div>
|
||||
<div class="swiper-pagination"></div>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<hr class="">
|
||||
</div>
|
||||
</section>
|
||||
51
resources/views/web/promotion/_show_around.blade.php
Normal file
51
resources/views/web/promotion/_show_around.blade.php
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<section>
|
||||
<h2 class="text-center">Schau Dich gerne noch etwas um ...</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-4 text-center p-4">
|
||||
<img src="/images/web/gs-bio-deocreme.jpg" class="mb-2 img-fluid" alt=""
|
||||
style="max-height: 350px">
|
||||
<h3 class="product-title mt-2">
|
||||
Bio Deocremes
|
||||
</h3>
|
||||
<div class="mb-1 product-description-samll">
|
||||
Nachhaltigkeit ohne …
|
||||
</div>
|
||||
<div class="mt-4 mb-3">
|
||||
<a href="" class="btn btn-primary btn-lg">
|
||||
<i class="ion ion-ios-share-alt"></i> Ansehen</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 col-lg-4 text-center p-4">
|
||||
<img src="/images/web/gs-bio-aloevera.jpg" class="mb-2 img-fluid" alt=""
|
||||
style="max-height: 350px">
|
||||
<h3 class="product-title mt-2">
|
||||
Bio Aloe Vera
|
||||
</h3>
|
||||
<div class="mb-2 product-description-samll">
|
||||
Nachhaltigkeit ohne …
|
||||
</div>
|
||||
<div class="mt-4 mb-3">
|
||||
<a href="" class="btn btn-primary btn-lg">
|
||||
<i class="ion ion-ios-share-alt"></i> Ansehen</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 text-center p-4">
|
||||
<img src="/images/web/gs-bio-refill.jpg" class="mb-2 img-fluid" alt=""
|
||||
style="max-height: 350px">
|
||||
<h3 class="product-title mt-2">
|
||||
Verantwortung
|
||||
</h3>
|
||||
<div class="mb-2 product-description-samll">
|
||||
Nachhaltigkeit ohne …
|
||||
</div>
|
||||
<div class="mt-4 mb-3">
|
||||
<a href="" class="btn btn-primary btn-lg">
|
||||
<i class="ion ion-ios-share-alt"></i> Ansehen</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
158
resources/views/web/promotion/index.blade.php
Executable file
158
resources/views/web/promotion/index.blade.php
Executable file
|
|
@ -0,0 +1,158 @@
|
|||
@extends('web.layouts.layout')
|
||||
|
||||
@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
|
||||
|
||||
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-promotion-form-validations']) !!}
|
||||
<div class="layout-content">
|
||||
@include('web.promotion._intro')
|
||||
|
||||
<div class="container px-3">
|
||||
@include('web.promotion._free_product')
|
||||
|
||||
@include('web.promotion._shop_products')
|
||||
|
||||
@include('web.promotion._shipping')
|
||||
|
||||
@include('web.promotion._fairplay')
|
||||
|
||||
@include('web.promotion._promotion_cart')
|
||||
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-md-7">
|
||||
@include('web.promotion._invoice_details')
|
||||
|
||||
</div>
|
||||
<div class="col-lg-4 col-md-5">
|
||||
@include('web.promotion._checkout')
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
var validator = $("#user-promotion-form-validations").validate({
|
||||
submitHandler: function(form) {
|
||||
$('.button-prevent-multiple-submits').attr('disabled', true);
|
||||
$('.button-prevent-multiple-submits').find('.spinner').show();
|
||||
form.submit();
|
||||
},
|
||||
errorPlacement: function errorPlacement(error, element) {
|
||||
console.log(error);
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error.addClass('invalid-feedback d-block'));
|
||||
} else {
|
||||
error.insertAfter(element).addClass('invalid-feedback small d-block');
|
||||
}
|
||||
},
|
||||
highlight: function( element, errorClass, validClass ) {
|
||||
if($(element).hasClass('selectpicker')){
|
||||
$(element).parent('.form-control').find('.dropdown-toggle').addClass( errorClass ).removeClass( validClass );
|
||||
}else if ( element.type === "radio" ) {
|
||||
this.findByName( element.name ).addClass( errorClass ).removeClass( validClass );
|
||||
} else {
|
||||
$( element ).addClass( errorClass ).removeClass( validClass );
|
||||
}
|
||||
},
|
||||
unhighlight: function( element, errorClass, validClass ) {
|
||||
if($(element).hasClass('selectpicker')){
|
||||
$(element).parent('.form-control').find('.dropdown-toggle').removeClass( errorClass ).addClass( validClass );
|
||||
} else if ( element.type === "radio" ) {
|
||||
this.findByName( element.name ).removeClass( errorClass ).addClass( validClass );
|
||||
} else {
|
||||
$( element ).removeClass( errorClass ).addClass( validClass );
|
||||
}
|
||||
},
|
||||
messages: {
|
||||
user_free_product: {
|
||||
required: "Bitte ein Produkt auswählen.",
|
||||
},
|
||||
switchers_shipping: {
|
||||
required: "Bitte eine Auswahl treffen.",
|
||||
},
|
||||
payment_method: {
|
||||
required: "Bitte eine Zahlungsart auswählen.",
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('select.revalidat').on('change', function () {
|
||||
validator.element($(this));
|
||||
});
|
||||
|
||||
$('.switcher-holder').on('click', function() {
|
||||
$(this).find('.switcher-input').prop('checked', true);
|
||||
});
|
||||
|
||||
var swiper = new Swiper(".mySwiper", {
|
||||
slidesPerView: 1,
|
||||
spaceBetween: 10,
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
clickable: true,
|
||||
},
|
||||
navigation: {
|
||||
nextEl: ".swiper-button-next",
|
||||
prevEl: ".swiper-button-prev",
|
||||
},
|
||||
breakpoints: {
|
||||
576: {
|
||||
slidesPerView: 1,
|
||||
spaceBetween: 10,
|
||||
},
|
||||
768: {
|
||||
slidesPerView: 2,
|
||||
spaceBetween: 20,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 3,
|
||||
spaceBetween: 20,
|
||||
},
|
||||
1200: {
|
||||
slidesPerView: 3,
|
||||
spaceBetween: 20,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
// Shipping Address show|hide
|
||||
$("#shipping_address_switch").bind("change", function() {
|
||||
$('#shipping_address').slideToggle(200, function() {
|
||||
if ($('#shipping_address').is(":visible")) {
|
||||
_scrollTo('#shipping_address', 60);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
if ($('#shipping_address_switch').is(':checked')) {
|
||||
$('#shipping_address').show();
|
||||
} else {
|
||||
$('#shipping_address').hide();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
84
resources/views/web/promotion/outofstock.blade.php
Normal file
84
resources/views/web/promotion/outofstock.blade.php
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
@extends('web.layouts.layout')
|
||||
|
||||
@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
|
||||
|
||||
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-reminder-form-validations']) !!}
|
||||
|
||||
<div class="layout-content">
|
||||
@include('web.promotion._intro')
|
||||
|
||||
<div class="container px-3">
|
||||
@include('web.promotion._reminder_service')
|
||||
|
||||
@include('web.promotion._show_around')
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
var validator = $("#user-reminder-form-validations").validate({
|
||||
submitHandler: function(form) {
|
||||
console.log('asd');
|
||||
console.log(form);
|
||||
$('.button-prevent-multiple-submits').attr('disabled', true);
|
||||
$('.button-prevent-multiple-submits').find('.spinner').show();
|
||||
form.submit();
|
||||
},
|
||||
errorPlacement: function errorPlacement(error, element) {
|
||||
console.log(error);
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error.addClass('invalid-feedback d-block'));
|
||||
} else {
|
||||
error.insertAfter(element).addClass('invalid-feedback small d-block');
|
||||
}
|
||||
},
|
||||
highlight: function( element, errorClass, validClass ) {
|
||||
if($(element).hasClass('selectpicker')){
|
||||
$(element).parent('.form-control').find('.dropdown-toggle').addClass( errorClass ).removeClass( validClass );
|
||||
}else if ( element.type === "radio" ) {
|
||||
this.findByName( element.name ).addClass( errorClass ).removeClass( validClass );
|
||||
} else {
|
||||
$( element ).addClass( errorClass ).removeClass( validClass );
|
||||
}
|
||||
},
|
||||
unhighlight: function( element, errorClass, validClass ) {
|
||||
if($(element).hasClass('selectpicker')){
|
||||
$(element).parent('.form-control').find('.dropdown-toggle').removeClass( errorClass ).addClass( validClass );
|
||||
} else if ( element.type === "radio" ) {
|
||||
this.findByName( element.name ).removeClass( errorClass ).addClass( validClass );
|
||||
} else {
|
||||
$( element ).removeClass( errorClass ).addClass( validClass );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('select.revalidat').on('change', function () {
|
||||
validator.element($(this));
|
||||
});
|
||||
|
||||
$('.switcher-holder').on('click', function() {
|
||||
$(this).find('.switcher-input').prop('checked', true);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
137
resources/views/web/promotion/show_product.blade.php
Normal file
137
resources/views/web/promotion/show_product.blade.php
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
<div class="modal-content">
|
||||
|
||||
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">
|
||||
Produktdetails
|
||||
</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="card mb-3">
|
||||
<div class="media flex-wrap flex-md-nowrap">
|
||||
<div class="d-block col-12 col-md-4 col-lg-4 text-center p-0 m-0">
|
||||
@if(count($product->images))
|
||||
<img src="{{route('product_image', [$product->images->first()->slug])}}" alt class="img-fluid" style="max-height: 300px">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="media-body p-4 p-md-5 ">
|
||||
<h4 class="mb-2">
|
||||
<a href="#" class="text-body">{{ $product->name }}</a>
|
||||
</h4>
|
||||
{!! $product->copy !!}
|
||||
|
||||
<table class="table my-4">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="border-0 text-muted align-middle" style="width: 120px">Inhalt:</td>
|
||||
<td class="border-0">{{ $product->contents }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="border-0 text-muted align-middle">Gewicht:</td>
|
||||
<td class="border-0">{{ $product->weight }} g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="border-0 text-muted align-middle">Art.-Nr.:</td>
|
||||
<td class="border-0">{{ $product->number }}</td>
|
||||
</tr>
|
||||
@if(isset($data['view']) && $data['view'] === 'with-price')
|
||||
<tr>
|
||||
<td class="border-0 text-muted align-middle">Preis:</td>
|
||||
<td class="border-0">{{ $product->getFormattedPrice() }} €*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="border-0 text-muted align-middle">Grundpreis:</td>
|
||||
<td class="border-0">{{ $product->getBasePriceFormattedFull() }} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="border-0 text-muted">* inkl. gesetzl. MwSt. | zzgl. Versandkosten</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
|
||||
<ul class="nav nav-tabs tabs-alt justify-content-center border-0 px-4 px-lg-5">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link small font-weight-normal text-expanded py-4 active" data-toggle="tab" href="#shop-product-description">Bechreibung</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link small font-weight-normal text-expanded py-4" data-toggle="tab" href="#shop-product-usage">Anwendung</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link small font-weight-normal text-expanded py-4" data-toggle="tab" href="#shop-product-full-ingredients">Inhaltsstoffe</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link small font-weight-normal text-expanded py-4" data-toggle="tab" href="#shop-product-ingredients">Hinweise</a>
|
||||
</li>
|
||||
</ul>
|
||||
<hr class="m-0">
|
||||
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade show active" id="shop-product-description">
|
||||
<div class="card borderless">
|
||||
<div class="card-body">
|
||||
{!! $product->description !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="tab-pane fade" id="shop-product-usage">
|
||||
<div class="card borderless">
|
||||
<div class="card-body">
|
||||
{!! $product->usage !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="shop-product-full-ingredients">
|
||||
<div class="card borderless">
|
||||
<div class="card-body">
|
||||
<table class="datatables-style table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{__('Name')}}</th>
|
||||
<th>{{__('INCI')}}</th>
|
||||
<th>{{__('Wirkung') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($product->p_ingredients as $ingredient)
|
||||
<tr>
|
||||
<td>{{ $ingredient->name }}</td>
|
||||
<td>{{ $ingredient->inci }}</td>
|
||||
<td>{{ $ingredient->effect }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tab-pane fade" id="shop-product-ingredients">
|
||||
<div class="card borderless">
|
||||
<div class="card-body">
|
||||
{!! $product->ingredients !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">schließen</button>
|
||||
</div>
|
||||
</div>
|
||||
51
resources/views/web/promotion/thanksorder.blade.php
Normal file
51
resources/views/web/promotion/thanksorder.blade.php
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
@extends('web.layouts.layout')
|
||||
|
||||
@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
|
||||
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-promotion-form-validations']) !!}
|
||||
|
||||
<div class="layout-content">
|
||||
|
||||
<div class="container px-3">
|
||||
|
||||
<div class="container flex-grow-1 container-p-y pb-0">
|
||||
<div class="media align-items-center pt-3 mb-3">
|
||||
{{-- <img src="assets/img/avatars/5-small.png" alt="" class="d-block ui-w-100 rounded-circle"> --}}
|
||||
<div class="media-body ml-4">
|
||||
<h1 class="text-center">Super, geschafft!</h1>
|
||||
<p class="text-center">
|
||||
Ich danke Dir ..
|
||||
</p>
|
||||
<p class="text-center">Liebe Grüße,<br>{{ $promotion_user->user->getFullName() }}<br>Vertriebspartner:in der GRÜNEN SEELE Naturkosmetik</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 mb-4">
|
||||
<hr class="">
|
||||
</div>
|
||||
@include('web.promotion._show_around')
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
});
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
54
resources/views/web/promotion/thanksreminder.blade.php
Normal file
54
resources/views/web/promotion/thanksreminder.blade.php
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
@extends('web.layouts.layout')
|
||||
|
||||
@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
|
||||
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-promotion-form-validations']) !!}
|
||||
|
||||
<div class="layout-content">
|
||||
|
||||
<div class="container px-3">
|
||||
|
||||
<div class="container flex-grow-1 container-p-y pb-0">
|
||||
<div class="media align-items-center pt-3 mb-3">
|
||||
{{-- <img src="assets/img/avatars/5-small.png" alt="" class="d-block ui-w-100 rounded-circle"> --}}
|
||||
<div class="media-body ml-4">
|
||||
<h1 class="text-center">Super, geschafft!</h1>
|
||||
<p class="text-center">
|
||||
Wir werden dich infomieren ....
|
||||
</p>
|
||||
<p class="text-center">Liebe Grüße,<br>{{ $promotion_user->user->getFullName() }}<br>Vertriebspartner:in der GRÜNEN SEELE Naturkosmetik</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 mb-4">
|
||||
<hr class="">
|
||||
</div>
|
||||
|
||||
|
||||
@include('web.promotion._show_around')
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
});
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue