Compare commits

..

No commits in common. "develop-ldc" and "master" have entirely different histories.

170 changed files with 0 additions and 24773 deletions

View file

@ -1,8 +0,0 @@
## Thème pour la boutique
# Changelog
# 19-03-2022
* contemporary cookie notice

View file

@ -1,18 +0,0 @@
@extends('layouts.layout')
@section('title', __('Inscription'))
@section('content')
{{--<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>--}}
<div class="login-page section">
<h1 class="login-page__title title">Inscription</h1>
<div class="auth-form auth-form_register">
<p>{{ $message }}</p>
</div>
</div>
@endsection

View file

@ -1,50 +0,0 @@
@extends('layouts.layout')
@section('title', __('Connexion'))
@section('content')
{{--<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>--}}
<div class="login-page section">
<h1 class="login-page__title title">Connexion Back Office</h1>
<div class="auth-form section_dark">
<form action="{{ route('auth.login.post') }}" method="POST">
@csrf
@if ($errors->any())
<div class="form__error">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="form__field">
<input class="form__input" type="text" name="email" placeholder="Email*" required />
</div>
<div class="form__field">
<input class="form__input" type="password" name="password" placeholder="Mot de passe*" required />
</div>
<div class="form__field">
<label class="custom-input custom-input_checkbox">
<input type="checkbox" name="remember" />
<span class="checkmark"></span>
<span>Se souvenir de moi</span>
</label>
</div>
<div class="form__field form__submit">
<button class="form__btn btn ">Connexion</button>
</div>
<div class="form__links">
<a href="#}">J’ai oublié mon mot de passe</a>
</div>
</form>
</div>
</div>
@endsection

View file

@ -1,54 +0,0 @@
@extends('layouts.layout')
@section('title', __('Connexion'))
@section('content')
{{--<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>--}}
<div class="login-page section">
<h1 class="login-page__title title">Connexion</h1>
<div class="auth-form section_dark">
<form action="{{ route('auth.connexion.post') }}" method="POST">
@csrf
@if ($errors->any())
<div class="form__error">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="form__field">
<input class="form__input" type="text" name="email" placeholder="Email*" required />
</div>
<div class="form__field">
<input class="form__input" type="password" name="password" placeholder="Mot de passe*" required />
</div>
<div class="form__field">
<label class="custom-input custom-input_checkbox">
<input type="checkbox" name="remember" />
<span class="checkmark"></span>
<span>Se souvenir de moi</span>
</label>
</div>
<div class="form__field form__submit">
<button class="form__btn btn ">Connexion</button>
</div>
<div class="form__links">
<a href="{{ route('auth.forgot-password') }}">J’ai oublié mon mot de passe</a>
</div>
</form>
</div>
<div class="auth-form__links">
<a href="{{ route('auth.register') }}">Pas encore de compte ?</a>
<a class="btn btn_grey" href="{{ route('auth.register') }}">Inscrivez-vous</a>
</div>
</div>
@endsection

View file

@ -1,43 +0,0 @@
@extends('layouts.layout')
@section('title', 'Mot de passe oublié')
@section('content')
<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>
<div class="login-page section">
<h1 class="login-page__title title">Mot de passe oublié</h1>
<div class="auth-form auth-form_register">
<form method="post" action="{{ route('auth.reinit-mdp') }}">
@csrf
@if ($errors->any())
<div class="form__error">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
@if (session('success'))
<div class="form__success">
{{ session('success') }}
</div>
@endif
<div class="form__row">
<p>Pour que nous puissions vous envoyer un lien de réinitialisation de votre mot de passe, merci de nous indiquer l'adresse e-mail saisie lors de votre inscription.</p>
</div>
<div class="form__row">
<div class="form__field">
<input class="form__input" name="email" type="email" placeholder="Votre adresse email *" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" required>
</div>
</div>
<input class="form__btn btn " type="submit" value="Je valide">
</form>
</div>
</div>
@endsection

View file

@ -1,18 +0,0 @@
@extends('layouts.layout')
@section('title', 'Mot de passe modifié')
@section('content')
<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>
<div class="login-page section">
<h1 class="login-page__title title">Changement de votre mot de passe</h1>
<div class="auth-form">
<p>Votre Mot de passe a bien été modifié.</p>
</div>
</div>
@endsection

View file

@ -1,46 +0,0 @@
@extends('layouts.layout')
@section('title', 'Changement de votre mot de passe')
@section('content')
<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>
<div class="login-page section">
<h1 class="login-page__title title">Changement de votre mot de passe</h1>
<div class="auth-form auth-form_register">
<form method="POST" action="{{ route('auth.change-password', $token) }}">
@csrf
@if ($errors->any())
<div class="form__error">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
@if (session('success'))
<div class="form__success">
{{ session('success') }}
</div>
@endif
<div class="form__row">
<div class="form__field">
<input class="form__input" type="password" name="password" placeholder="Votre nouveau mot de passe*" required>
</div>
</div>
<div class="form__row">
<div class="form__field">
<input class="form__input" id="password_confirmation" type="password" name="password_confirmation" required autocomplete="new-password" placeholder="Confirmer votre nouveau mot de passe*">
</div>
</div>
<input type="hidden" name="token" value="{{$token}}">
<input type="submit" class="form__btn btn " value="Envoyer">
</form>
</div>
</div>
@endsection

View file

@ -1,21 +0,0 @@
@extends('layouts.layout')
@section('title', __('Inscription'))
@section('content')
{{--<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>--}}
<div class="login-page section">
<div class="auth-form auth-form_register">
<div class="">
<div class="form-message__title title">Félicitations</div>
<div class="form-message__text">Votre compte a bien été créé !<br>Vous allez recevoir un mail de confirmation<br>sur l’adresse {{ $mail }}</div>
<a class="form-message__btn btn " href="{{ route('auth.connexion') }}">Connexion</a>
</div>
</div>
</div>
@endsection

View file

@ -1,179 +0,0 @@
@extends('layouts.layout')
@section('title', __('Inscription'))
@section('content')
{{--<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset(config('app.theme').'/img/default-banner.jpg') }}" />
</div>
</div>--}}
<div class="login-page section">
<h1 class="login-page__title title">Inscription</h1>
<div class="auth-form auth-form_register">
@if (session('success'))
<div class="form-message">
<div class="form-message__title title">Félicitations</div>
<div class="form-message__text">Votre compte a bien été créé !<br>Vous allez recevoir un mail de confirmation<br>sur l’adresse exemple@mail.fr</div>
<a class="form-message__btn btn " href="login.php">Connexion</a>
</div>
@else
<form action="{{ route('auth.register.post') }}" method="POST" class="auth-form__form form" id="stdinscription">
@csrf
@if ($errors->any())
<div class="form__error">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
@if (config('bosettings.register_salaries') && config('bosettings.register_public'))
<div class="form__field">
<button class="btn no-after" onclick="visibility2()" type="button" id="codebutton">J'ai un code d'inscription</button>
</div>
<div class="form__row" id="codeinscription" style="display: none;">
<div class="form__field">
<input class="form__input @if ($errors->has('matricule')) error @endif" type="text" name="matricule" placeholder="Matricule*" value="{{ old('matricule') }}" />
</div>
<div class="form__field">
<input class="form__input @if ($errors->has('code')) error @endif" type="text" name="code" placeholder="Code d'inscription*" value="{{ old('code') }}"/>
</div>
</div>
@elseif (config('bosettings.register_salaries') && !config('bosettings.register_public'))
<div class="form__row" id="codeinscription">
<div class="form__field">
<input class="form__input @if ($errors->has('matricule')) error @endif" type="text" name="matricule" placeholder="Matricule*" required value="{{ old('matricule') }}" />
</div>
<div class="form__field">
<input class="form__input @if ($errors->has('code')) error @endif" type="text" name="code" placeholder="Code d'inscription*" required value="{{ old('code') }}"/>
</div>
</div>
@endif
<div class="form__row">
<div class="form__field">
<input class="form__input" type="text" name="lastname" placeholder="Nom*" required value="{{ old('lastname') }}" />
</div>
<div class="form__field">
<input class="form__input" type="text" name="firstname" placeholder="Prénom*" required value="{{ old('firstname') }}"/>
</div>
</div>
<div class="form__row">
<div class="form__field">
<label for="birth_date" class="form__input">Date de naissance *</label>
</div>
<div class="form__field">
<input class="form__input" type="date" name="birth_date" placeholder="Date de naissance*" value="{{ old('birth_date') }}" required>
</div>
</div>
<div class="form__row">
<div class="form__field">
<input class="form__input" name="email" type="email" placeholder="Votre adresse email *" autocomplete="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" required value="{{ old('email') }}">
</div>
</div>
<div class="form__row">
<div class="form__field flex">
<input class="form__input" type="password" name="password" id="password" autocomplete="new-password" placeholder="Mot de passe*" required />
<span class="input-group-btn" id="eyeSlash">
<button class="btn no-after reveal" onclick="visibility3()" type="button"><i class="fas fa-eye-slash" aria-hidden="true"></i></button>
</span>
<span class="input-group-btn" id="eyeShow" style="display: none;">
<button class="btn no-after reveal" onclick="visibility3()" type="button"><i class="fas fa-eye" aria-hidden="true"></i></button>
</span>
</div>
<div class="form__field">
<input class="form__input" type="password" name="password_confirmation" autocomplete="new-password" placeholder="Confirmer votre mot de passe *" required />
</div>
</div>
<div class="form__row">
<div class="form__field">
<input class="form__input" type="tel" name="phone" id="phone" autocomplete="tel" placeholder="Téléphone" value="{{ old('phone') }}">
</div>
</div>
<div class="form__row">
<div class="form__field">
<input class="form__input" name="address" type="text" autocomplete="street-address" placeholder="Adresse" value="{{ old('address') }}">
</div>
<div class="form__field">
<input class="form__input" type="number" name="postal_code" id="postal_code" required autocomplete="postal-code" placeholder="Code postal *" value="{{ old('postal_code') }}">
</div>
</div>
<div class="form__row">
<div class="form__field">
<input class="form__input" type="text" name="town" id="town" required autocomplete="address-level2" placeholder="Ville *" value="{{ old('town') }}">
</div>
</div>
<div class="form__field">
<label class="custom-input custom-input_checkbox">
<input type="checkbox" name="ok_cgv" id="ok_cgv" />
<span class="checkmark"></span>
<span>J’ai lu et accepte les <a href="{{ route('terms') }}" target="mentions">conditions générales</a> et la <a href="{{ route('privacy') }}" target="mentions">politique de gestion des données personnelles.</a></span>
</label>
</div>
<div class="form__field">
<label class="custom-input custom-input_checkbox">
<input id="checknews" type="checkbox" name="optin" id="optin">
<span class="checkmark"></span>
<span>Je souhaite m'inscrire à la newsletter {{ Config::get('theme.site_name') }}</span>
</label>
</div>
<div class="form__field form__submit">
<button class="form__btn btn ">S’inscrire</button>
</div>
<div class="form__text mb0">*Champs obligatoires</div>
</form>
<div class="auth-form__links-wrap">
<div class="auth-form__links">
<a href="{{ route('auth.login') }}">Déjà inscrit ?</a>
<a class="btn btn_grey" href="{{ route('auth.login') }}">Connectez-vous</a>
</div>
</div>
@endif
</div>
</div>
@endsection
@push('scripts')
<script>
function visibility2() {
if($('#codebutton').text() == 'Je n\'ai pas de code') {
//vider les champs
$('[name=matricule]').val('').attr("required",false);
$('[name=code]').val('').attr("required",false);
$('#codebutton').text('J\'ai un code d\'inscription');
} else if($('#codebutton').text() == 'J\'ai un code d\'inscription') {
//rendre obligatoire
$('[name=matricule]').attr("required",true);
$('[name=code]').attr("required",true);
$('#codebutton').text('Je n\'ai pas de code');
}
$('#codeinscription').show();
}
function visibility3() {
var x = document.getElementById('password');
if (x.type === 'password') {
x.type = "text";
$('#eyeShow').show();
$('#eyeSlash').hide();
}else {
x.type = "password";
$('#eyeShow').hide();
$('#eyeSlash').show();
}
}
@if ($errors->has('matricule') || $errors->has('code') || old('matricule') || old('code'))
visibility2()
@endif
</script>
@endpush

View file

@ -1,6 +0,0 @@
{{-- not used --}}
@extends('layouts.layout')
@section('content')
<h1>Mon panier</h1>
@endsection

View file

@ -1,7 +0,0 @@
@hasSection('breadcrumb')
@if(Breadcrumbs::exists(app()->view->getSections()['breadcrumb']))
{{ Breadcrumbs::render(app()->view->getSections()['breadcrumb'], $brParam ?? null) }}
@endif
@elseif(Breadcrumbs::exists(request()->route()->getName()))
{{ Breadcrumbs::render(request()->route()->getName()) }}
@endif

View file

@ -1,7 +0,0 @@
@hasSection('breadcrumb')
@if(Breadcrumbs::exists(app()->view->getSections()['breadcrumb']))
{{ Breadcrumbs::view('breadcrumbs::json-ld', app()->view->getSections()['breadcrumb'], $brParam ?? null) }}
@endif
@elseif(Breadcrumbs::exists(request()->route()->getName()))
{{ Breadcrumbs::view('breadcrumbs::json-ld', request()->route()->getName()) }}
@endif

View file

@ -1,22 +0,0 @@
@unless ($breadcrumbs->isEmpty())
<div class="breadrumbs content">
<div class="breadrumbs__wrapper wrapper">
<div class="left__offset"></div>
<div class="breadrumbs__inner">
@foreach ($breadcrumbs as $breadcrumb)
@if (!is_null($breadcrumb->url) && !$loop->last)
<a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a>
@else
<span>{{ $breadcrumb->title }}</span>
@endif
@if(count($breadcrumbs) > 1 and !$loop->last)
<span class="breadrumbs__arrow">&gt;</span>
@endif
@endforeach
</div>
</div>
</div>
@endunless

View file

@ -1,152 +0,0 @@
@extends('layouts.layout')
@section('title', __('Contactez-nous'))
@section('content')
@if ($content->banner !== null)
<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset('/images/content/'.$content->banner) }}" />
</div>
</div>
@endif
<div class="contact-page section">
<h1 class="contact-page__title title">{{ __('Contactez-nous') }} {{-- $content->title --}}</h1>
<div class="contact-page__content">
<div class="contact-page__wrapper wrapper">
<div class="contact-page__row">
<div class="contact-page__row-block">
<div class="contacts__text">
@if ($content !== null)
{!!$content->value!!}
@else
<p>{{ __('Bonjour,') }}</p>
<p>{{ __('Si vous avez une question à nous poser ou des remarques à formuler sur notre site, n\'hésitez pas à les inscrire dans le formulaire ci-contre. Merci d\'indiquer vos coordonnées exactes pour que nous puissions vous répondre prochainement.') }}</p>
<p>{{ __('Les informations qui vous concernent sont destinées à un usage interne et ne seront en aucun cas transmises à des tiers. Vous disposez d\'un droit d\'accès, de modification, de rectification et de suppression des données qui vous concernent (art. 34 de la loi "Informatique et Libertés").') }}</p>
@endif
</div>
{{--<div class="contacts__text">
@if ($content !== null)
{!!$content->value!!}
@endif
</div>--}}
<div class="contacts__blocks">
<div class="contacts__block title title_small">
<div class="contacts__block-name">Téléphone : </div>
<div class="contacts__block-value">{{$magasin->phone}}</div>
</div>
<div class="contacts__block title title_small">
<div class="contacts__block-name">Adresse :</div>
<div class="contacts__block-value">{{$magasin->address}}<br>{{$magasin->postcode}} {{$magasin->city}}</div>
</div>
</div>
<div class="contacts__map">
{{--<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2677.357117218246!2d-2.7274134304679394!3d47.85204661371123!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x48102783c3dc1dcd%3A0x70840d8eaebf0346!2sLe%20Moulin%20du%20Lay%2C%2056660%20Saint-Jean-Br%C3%A9velay!5e0!3m2!1sfr!2sfr!4v1617352657906!5m2!1sfr!2sfr" width="100%" height="450" frameborder="0" style="border:0;" allowfullscreen="" loading="lazy" aria-hidden="false" tabindex="0"></iframe>--}}
<iframe src="{!!$magasin->gmaps_embed_href!!}" width="100%" height="450" frameborder="0" style="border:0;" allowfullscreen="" loading="lazy" aria-hidden="false" tabindex="0"></iframe>
</div>
</div>
<div class="contact-page__row-block">
<form class="contacts__form form" action="{{ route('contact-us.submit') }}"method="post" enctype="multipart/form-data">
@csrf
@if ($errors->any())
@foreach ($errors->all() as $error)
<div class="field__error">{{ $error }}</div>
@endforeach
@endif
<div class="form__row">
<div class="form__field">
<input class="form__input @if ($errors->has('last_name')) error @endif" type="text" name="last_name" placeholder="Nom*" value="{{ old('last_name') }}" req />
@foreach ($errors->get('last_name') as $message)
<div class="field__error">{{ $message }}</div>
@endforeach
</div>
<div class="form__field">
<input class="form__input @if ($errors->has('first_name')) error @endif" type="text" name="first_name" placeholder="Prénom*" value="{{ old('first_name') }}" req />
@foreach ($errors->get('first_name') as $message)
<div class="field__error">{{ $message }}</div>
@endforeach
</div>
</div>
<div class="form__field">
<input class="form__input @if ($errors->has('email')) error @endif" type="email" name="email" placeholder="Email*" value="{{ old('email') }}" req />
@foreach ($errors->get('email') as $message)
<div class="field__error">{{ $message }}</div>
@endforeach
</div>
<div class="form__field">
<input class="form__input @if ($errors->has('subject')) error @endif" type="text" name="subject" placeholder="Objet*" value="{{ old('subject') }}" req />
@foreach ($errors->get('subject') as $message)
<div class="field__error">{{ $message }}</div>
@endforeach
</div>
<div class="form__field">
<input class="form__input @if ($errors->has('order_ref')) error @endif" type="text" name="order_ref" placeholder="Numéro de commande" value="{{ old('order_ref') }}" />
@foreach ($errors->get('order_ref') as $message)
<div class="field__error">{{ $message }}</div>
@endforeach
</div>
<div class="form__field">
<textarea class="form__input @if ($errors->has('message')) error @endif" name="message" placeholder="Message**">{{ old('message') }}</textarea>
@foreach ($errors->get('message') as $message)
<div class="field__error">{{ $message }}</div>
@endforeach
</div>
<div class="form__field form__file">
<div class="form__upload-field">
<input class="file-name form__input form__input_file @if ($errors->has('file')) error @endif" type="text" readonly="" placeholder="Pièce jointe (pdf, jpeg, png, 5Mo max)">
<label for="file" class="form__upload-button btn btn_contrast no-after">Choisir un fichier</label>
<input class="file-source" id="file" name="file" type="file" accept=".jpg,.jpeg,.png,.gif,.pdf">
</div>
@foreach ($errors->get('file') as $message)
<div class="field__error">{{ $message }}</div>
@endforeach
</div>
<div class="form__field">
<label class="custom-input custom-input_checkbox">
<input type="checkbox" name="ok_cgv" />
<span class="checkmark"></span>
<span @if ($errors->has('ok_cgv')) class="field__error" @endif>J’ai lu et accepte les <a href="{{ route('legal-notice') }}" target="_cgv">conditions générales</a> et la <a href="{{ route('privacy') }}" target="_cgv">politique de gestion des données personnelles</a>.</span>
</label>
</div>
<div class="form__field form__submit">
<button class="form__btn btn ">Envoyer</button>
</div>
<div class="form__text mb0">* {{ __('mandatory_fields') }}</div>
{{-- IF MAIL IS SENT --}}
@if(!is_null($status))
@if(session()->get('status'))
<div class="form-result form-result_confirm">
<div class="form-result__image"><img src="{{ asset(config('app.theme').'/img/form_confirm.png') }}"></div>
<div class="form-result__title title title_small">Votre message a bien été envoyé !</div>
<div class="form-result__text">Nos services mettent tout en oeuvre pour y répondre au plus vite.</div>
</div>
@else
<div class="form-result form-result_fail">
<div class="form-result__image"><img src="{{ asset(config('app.theme').'/img/form_fail.png') }}"></div>
<div class="form-result__title title">Oups ! Une erreur s’est produite...</div>
<div class="form-result__text">Votre message n’a pas pu être envoyé.<br>Nous en sommes désolés et vous prions<br>de bien vouloir réessayer plus tard.</div>
</div>
@endif
@endif
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View file

@ -1,130 +0,0 @@
@extends('layouts.layout')
@section('title', __('Mon Compte'))
@section('content')
<div class="account-page section">
<h1 class="title">{{ __('Mon Compte') }}</h1>
<div class="profile-actions flex">
<div class="my-orders flex">
<a href="{{ route('account.my-orders') }}">
<span class="header-actions__item-icon icon">@include('icons.orders')</span>
</a>
<a href="{{ route('account.my-orders') }}">
<span class="header-actions__item-title">Mes commandes</span>
</a>
</div>
<div class="disconnect flex">
{{-- route de déconnexion --}}
<a href="{{ route('auth.deconnexion') }}">
<span class="header-actions__item-icon icon">@include('icons.close')</span>
</a>
<a href="{{ route('auth.deconnexion') }}">
<span class="header-actions__item-title">Deconnexion</span>
</a>
</div>
</div>
@if ($errors->any())
<div class="form__error">
@foreach ($errors->all() as $error)
<div>{{ $error }}</div>
@endforeach
</div>
@elseif (session('success'))
<div class="form__success">
{{ session('success') }}
</div>
@endif
<div class="profile_form">
<h2 class="top-block__title title_xs mb0">Coordonnées</h2>
<p>Pour modifier vos informations personnelles, rien de plus facile : il vous suffit de renseigner vos nouvelles données dans le formulaire ci-dessous !</p>
<form action="{{ route('account.update-infos') }}" method="POST" class="form">
@csrf
<div class="form__row">
<div class="form__field">
<label for="firstname" class="form__input">Prénom *</label>
<input class="form__input" type="text" name="firstname" placeholder="Prénom *" value="{{ old('firstname', $crmInfos->firstname) }}" required >
</div>
<div class="form__field">
<label for="lastname" class="form__input">Nom *</label>
<input class="form__input" type="text" name="lastname" placeholder="Nom *" value="{{ old('lastname', $crmInfos->lastname) }}" required >
</div>
</div>
<div class="form__row">
<div class="form__field">
<label for="address" class="form__input">Adresse</label>
<input class="form__input" type="text" name="address" placeholder="Adresse" value="{{ old('address', $crmInfos->address) }}" >
</div>
<div class="form__field">
<label for="postcode" class="form__input">Code postal *</label>
<input class="form__input" type="text" name="postcode" placeholder="Code postal *" value="{{ old('postcode', $crmInfos->postcode )}}" required >
</div>
</div>
<div class="form__row">
<div class="form__field">
<label for="city" class="form__input">Ville *</label>
<input class="form__input" type="text" name="city" placeholder="Ville *" value="{{ old('city', $crmInfos->city) }}" required >
</div>
<div class="form__field">
<label for="phone" class="form__input">Téléphone</label>
<input class="form__input" type="text" name="phone" placeholder="Téléphone" value="{{ old('phone', $crmInfos->phone) }}" >
</div>
</div>
<div class="form__row">
<div class="form__field">
<label for="email" class="form__input">Email *</label>
<input class="form__input" type="text" name="email" value="{{ $customer->email }}" disabled>
</div>
<div class="form__field">
<label for="birth_date" class="form__input">Date de naissance *</label>
<span class="select-group">
<select name="day" class="form__input">
@for ($i = 1; $i <= 31; $i++)
<option value="{{ $i < 10 ? '0' . $i : $i }}" @if($birthDate[2] == $i) selected @endif>{{ $i < 10 ? '0' . $i : $i }}</option>
@endfor
</select>
<select name="month" class="form__input">
@for ($i = 1; $i <= 12; $i++)
<option value="{{ $i < 10 ? '0' . $i : $i }}" @if($birthDate[1] == $i) selected @endif>{{ $i < 10 ? '0' . $i : $i }}</option>
@endfor
</select>
<select name="year" class="form__input">
@for ($i = date('Y'); $i >= date('Y') - 100; $i--)
<option value="{{ $i }}" @if($birthDate[0] == $i) selected @endif>{{ $i }}</option>
@endfor
</select>
</span>
</div>
</div>
<div class="form__field">
<label class="custom-input custom-input_checkbox">
<input id="checknews" type="checkbox" name="optin" id="optin" @if(old('optin', $crmInfos->opt_in))checked @endif>
<span class="checkmark"></span>
<span>J’accepte de recevoir les actualités et bons plans {{ Config::get('theme.site_name') }}</span>
</label>
</div>
<div class="form__field form__submit">
<button class="form__btn btn ">Enregistrer</button>
</div>
</form>
</div>
<div class="profile_form">
<h2 class="top-block__title title_xs mb0">Modifier le mot de passe</h2>
<form method="post" action="{{ route('account.change-password') }}" class="form">
@csrf
<div class="form__field">
<input class="form__input" type="password" name="password" placeholder="Nouveau mot de passe">
</div>
<div class="form__field">
<input class="form__input" type="password" name="password_confirmation" placeholder="Confirmer le nouveau mot de passe">
</div>
<div class="form__field form__submit">
<button class="form__btn btn ">Modifier</button>
</div>
</form>
</div>
</div>
@endsection

View file

@ -1,35 +0,0 @@
@extends('layouts.layout')
@section('title', __('Mes Commandes'))
@section('content')
<div class="wrapper">
<h1 class="title">Mes Commandes</h1>
<div class="section section_white">
<div class="wrapper-inner">
<div class="order_recap">
<!--start header-->
<div class="order_recap__header order_recap_action"></div>
<div class="order_recap__header order_recap_designation">Référence</div>
<div class="order_recap__header order_recap_quantite">Date</div>
<div class="order_recap__header order_recap_unitprice">Total en €</div>
<div class="order_recap__header order_recap_totalprice">Statut</div>
<!--end header-->
@foreach ($orders as $order)
<div class="order_recap__row order_recap_action">
{{--<a href="{{route('account.order-detail', $order->reference)}}" class="btn btn-sm btn-primary">Détails</a>--}}
</div>
<div class="order_recap__row order_recap_designation">
<a href="{{route('account.order-detail', $order->reference)}}" class="btn btn-sm btn-primary">{{$order->reference}}</a>
</div>
<div class="order_recap__row order_recap_quantite">
{{\Carbon\Carbon::parse($order->date)->format('d/m/Y')}}
</div>
<div class="order_recap__row order_recap_unitprice">@fmt_currency($order->total)</div>
<div class="order_recap__row order_recap_totalprice">{{$order->status->label}}</div>
@endforeach
</div>
</div>
</div>
</div>
@endsection

View file

@ -1,44 +0,0 @@
@extends('layouts.layout',['brParam' => $order->reference])
@section('title', __('Détail Commande'))
@section('breadcrumb', request()->route()->getName())
@section('content')
<div class="wrapper">
<h1 class="title">Détail de votre commande du {{\Carbon\Carbon::parse($order->date)->format('d/m/Y')}}</h1>
<div class="section">
<div class="wrapper-inner">
<div class="recap_order">
<div class="message center">Etat de votre commande : {{$order->status->label}}</div>
<div class="order__identification">Rappel de votre commande ref: {{ $order->reference }}</div>
@foreach ($order->lines as $line)
<div class="order__line">
<div class="qtt">{{ $line->quantity }} x</div>
<div class="designation">{{ $line->product->name }}</div>
<div class="price">{{ $line->formattedTotalTtc }}</div>
</div>
@endforeach
<div class="order_total">
<div>Total</div>
<div>{{ $order->formattedTotalTtc }}</div>
</div>
@if (!empty($order->timeslot))
<div class="message">
A retirer le <b>{{$order->timeslot->day}} à {{$order->timeslot->time}}</b>, à l’adresse suivante :</br>
<b>Mon point de retrait {{$magasin->name}}, {{$magasin->address}}, {{$magasin->postcode}} {{$magasin->city}}</b>
</div>
@else
<div class="message">
<a href="{{ route('sales.pick-slot', ['reference' => $order->reference]) }}" class="btn btn-sm btn-primary">Choisir où et quand retirer votre commande</a>
</div>
@endif
{{--<a class="btn " href="#">Voir l'itinéraire</a>--}}
</div>
</div>
</div>
</div>
@endsection

View file

@ -1,39 +0,0 @@
@extends('layouts.layout')
@section('title', __('FAQ'))
@section('content')
@if ($content->banner !== null)
<div class="hero-banner">
<div class="hero-banner__wrapper wrapper">
<img src="{{ asset('/images/content/'.$content->banner) }}" />
</div>
</div>
@endif
<div class="mentios-page section">
<h1 class="mentios-page__title title">{{ __('FAQ') }}</h1>
<div class="mentios-page__content">
<div class="mentios-page__wrapper wrapper">
<div class="mentios-page__wrapper-inner">
<div class="description">
@foreach ($faq as $f)
<h4>{{$f->question}}</h4>
<p>{{$f->answer}}</p>
@endforeach
</div>
</div>
</div>
</div>
</div>
{{--
<h1>FAQ</h1><br/>
@foreach ($faq as $f)
<h3>{{$f->question}}</h3>
<p>{{$f->answer}}</p>
@endforeach --}}
@endsection

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 369 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 230 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 250 KiB

View file

@ -1,37 +0,0 @@
@extends('layouts.layout')
@section('title', __('Accueil'))
@section('breadcrumb', 'no')
@section('content')
<div class="breadrumbs content section_light"><div class="breadrumbs__inner" style="margin-bottom: 0"></div></div> {{-- sert de spacer car ici pas de breadcrumb --}}
{{-- Slider --}}
@include('partials.main-slider')
{{-- Fin du Slider --}}
<div class="tc-text content section section_light">
<div class="tc-text__wrapper wrapper">
<div class="tc-text__wrapper-inner wrapper-inner">
<h2 class="tc-text__title title">{{ $content->title }}</h2>
<div class="tc-text__text description">
@if ($content !== null)
{!! $content->value !!}
@endif
</div>
<div class="tc-text__readmore btn mobile">{{ __('Lire la suite') }}</div>
</div>
</div>
</div>
{{-- Selection du moment --}}
@include('partials.products-selection')
{{-- Des produits de qualité --}}
@include('partials.ranges-slider')
{{--@include('partials.quickorder')--}}
@yield('steps', view('partials.steps'))
@yield('engagements', view('partials.engagements'))
@include('partials.subscribe')
@yield('subscribe')
@endsection

View file

@ -1,6 +0,0 @@
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" xml:space="preserve"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
</svg>

Before

Width:  |  Height:  |  Size: 829 B

View file

@ -1,15 +0,0 @@
<?xml version="1.0" ?>
<svg data-name="Layer 1" id="Layer_1" viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg">
<title/>
<path d="M46.922,15H41v1.141a.86.86,0,0,1-.859.859H24.859A.86.86,0,0,1,24,16.141V15H18.078A2.052,2.052,0,0,0,16,17.026V51.974A2.052,2.052,0,0,0,18.078,54H46.922A2.052,2.052,0,0,0,49,51.974V17.026A2.052,2.052,0,0,0,46.922,15Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:2px"/>
<path d="M39.984,13H35v-.372a2.529,2.529,0,0,0-1.88-2.488A2.491,2.491,0,0,0,30,12.511V13H25.016A1.016,1.016,0,0,0,24,14.016v1.968A1.016,1.016,0,0,0,25.016,17H39.984A1.016,1.016,0,0,0,41,15.984V14.016A1.016,1.016,0,0,0,39.984,13Z" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<path d="M25,24H43" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<polyline points="19 23 20 24 23 20" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<path d="M25,32H43" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<polyline points="19 31 20 32 23 28" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<path d="M25,40H43" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<polyline points="19 39 20 40 23 36" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<path d="M25,48H43" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
<polyline points="19 47 20 48 23 44" style="fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -1,7 +0,0 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>
<g fill="#fff"
transform="rotate(180 12 12)
translate(0 -2)">
<path id="chevron" d='M5 17.4c.5.5 1.2.5 1.7 0l5.9-5.8 5.8 5.8c.5.5 1.2.5 1.7 0s.5-1.2 0-1.7l-6.6-6.6c-.2-.2-.5-.3-.8-.3-.3 0-.6.1-.8.3l-6.6 6.6c-.7.5-.7 1.3-.3 1.7z'/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 348 B

View file

@ -1,7 +0,0 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>
<g fill="#fff"
transform="rotate(90 12 12)
translate(0 -2)">
<path id="chevron" d='M5 17.4c.5.5 1.2.5 1.7 0l5.9-5.8 5.8 5.8c.5.5 1.2.5 1.7 0s.5-1.2 0-1.7l-6.6-6.6c-.2-.2-.5-.3-.8-.3-.3 0-.6.1-.8.3l-6.6 6.6c-.7.5-.7 1.3-.3 1.7z'/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 347 B

View file

@ -1,7 +0,0 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>
<g fill="#fff"
transform="rotate(-90 12 12)
translate(-1 -2)">
<path id="chevron" d='M5 17.4c.5.5 1.2.5 1.7 0l5.9-5.8 5.8 5.8c.5.5 1.2.5 1.7 0s.5-1.2 0-1.7l-6.6-6.6c-.2-.2-.5-.3-.8-.3-.3 0-.6.1-.8.3l-6.6 6.6c-.7.5-.7 1.3-.3 1.7z'/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 349 B

View file

@ -1,6 +0,0 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>
<g fill="#fff"
transform="translate(0 -2)">
<path id="chevron" d='M5 17.4c.5.5 1.2.5 1.7 0l5.9-5.8 5.8 5.8c.5.5 1.2.5 1.7 0s.5-1.2 0-1.7l-6.6-6.6c-.2-.2-.5-.3-.8-.3-.3 0-.6.1-.8.3l-6.6 6.6c-.7.5-.7 1.3-.3 1.7z'/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 310 B

View file

@ -1,17 +0,0 @@
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="34px" height="34px">
<path fill-rule="evenodd" stroke="rgb(255, 255, 255)" stroke-width="2px" stroke-linecap="butt" stroke-linejoin="miter" fill="none"
d="M16.500,5.000 C22.851,5.000 28.000,10.149 28.000,16.500 C28.000,22.851 22.851,28.000 16.500,28.000 C10.149,28.000 5.000,22.851 5.000,16.500 C5.000,10.149 10.149,5.000 16.500,5.000 Z"/>
<path fill-rule="evenodd" fill="rgb(255, 255, 255)"
d="M-0.000,17.000 L-0.000,16.000 L10.000,16.000 L10.000,17.000 L-0.000,17.000 Z"/>
<path fill-rule="evenodd" fill="rgb(255, 255, 255)"
d="M23.000,17.000 L23.000,16.000 L33.000,16.000 L33.000,17.000 L23.000,17.000 Z"/>
<path fill-rule="evenodd" fill="rgb(255, 255, 255)"
d="M16.000,10.000 L16.000,-0.000 L17.000,-0.000 L17.000,10.000 L16.000,10.000 Z"/>
<path fill-rule="evenodd" fill="rgb(255, 255, 255)"
d="M16.000,33.000 L16.000,23.000 L17.000,23.000 L17.000,33.000 L16.000,33.000 Z"/>
<path fill-rule="evenodd" stroke="rgb(255, 255, 255)" stroke-width="1px" stroke-linecap="butt" stroke-linejoin="miter" fill="none"
d="M16.000,16.000 L17.000,16.000 L16.000,16.000 Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,015 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,017 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,017 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="77px" height="83px" viewBox="0 0 77 83" preserveAspectRatio="xMidYMid meet">
<g fill="#1A3441">
<path d="M30 79.4 c-1.4 -0.7 -3.4 -1.4 -4.5 -1.4 -1.1 -0.1 -3.6 -0.9 -5.5 -1.9 l-3.5 -1.9 4 -0.6 c9.4 -1.5 12 -6.1 5.8 -10.1 -1.8 -1.1 -5.7 -3.5 -8.6 -5.3 -7.7 -4.9 -10.2 -9 -10.2 -17.2 0 -5.8 0.4 -7.3 3.2 -11.6 1.8 -2.7 4 -6.4 5 -8.3 1.7 -3.3 1.7 -3.3 -0.6 -5.2 -1.6 -1.3 -3.9 -1.9 -7.2 -1.9 -4.9 0 -6.6 -1.3 -3.1 -2.4 1 -0.3 3.7 -2.4 6.1 -4.6 4.7 -4.4 5.3 -4.5 10 -2.9 5 1.8 6.4 5.6 5.6 15.5 l-0.7 8.3 3.9 0.6 c10.4 1.8 16.6 3.7 24.3 7.4 4.6 2.3 9.2 4.1 10.2 4.1 1 0 1.8 0.5 1.8 1.2 0 0.6 2.1 3.1 4.7 5.5 l4.7 4.3 -3.4 -1 c-4.9 -1.4 -4.9 -1.3 -1 2 l3.4 3 -2.9 0 c-7.2 0 -24.4 6.8 -29 11.4 -1.7 1.7 -2.5 3.6 -2.5 6.1 0 2.5 -0.8 4.4 -2.5 6 -2.7 2.8 -3.9 2.9 -7.5 0.9z m6.2 -6.1 c2.6 -3 3.1 -7.1 1.1 -8.1 -3.1 -1.6 -4.3 -0.3 -4.3 4.9 0 5.2 0.8 6 3.2 3.2z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1,9 +0,0 @@
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="142px" height="22px">
<path fill-rule="evenodd" fill="#222222"
d="M-0.000,10.000 L119.955,10.000 L119.955,12.000 L-0.000,12.000 L-0.000,10.000 Z"/>
<path fill-rule="evenodd" fill="#ff4e4e"
d="M130.951,-0.000 C137.024,-0.000 141.947,4.925 141.947,11.000 C141.947,17.075 137.024,22.000 130.951,22.000 C124.878,22.000 119.955,17.075 119.955,11.000 C119.955,4.925 124.878,-0.000 130.951,-0.000 Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 499 B

View file

@ -1,10 +0,0 @@
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="142px" height="22px">
<path fill-rule="evenodd" fill="#222222"
d="M-0.000,10.000 L119.955,10.000 L119.955,12.000 L-0.000,12.000 L-0.000,10.000 Z"/>
<path fill-rule="evenodd" fill="#222222"
d="M130.951,-0.000 C137.024,-0.000 141.947,4.925 141.947,11.000 C141.947,17.075 137.024,22.000 130.951,22.000 C124.878,22.000 119.955,17.075 119.955,11.000 C119.955,4.925 124.878,-0.000 130.951,-0.000 Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 500 B

Some files were not shown because too many files have changed in this diff Show more