#10 Promotion Modul, Kommentar 2
This commit is contained in:
parent
f0da981737
commit
c9e1545693
128 changed files with 8194 additions and 637 deletions
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