This commit is contained in:
Ludovic CANDELLIER
2020-04-15 17:50:53 +02:00
parent 5afd1d02ef
commit 943e2db8cc
108 changed files with 135 additions and 135 deletions

View File

@@ -0,0 +1,30 @@
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!! route('Shop.Admin.Orders.index') !!}">
@include('Shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_orders)) ? $nb_orders : 0, 'class' => 'bg-aqua', 'icon' => 'fa-building-o', 'text' => 'Commandes'])
</a>
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!! route('Shop.Admin.Invoices.index') !!}">
@include('Shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_invoices)) ? $nb_invoices : 0, 'class' => 'bg-red', 'icon' => 'fa-clock-o', 'text' => 'Factures'])
</a>
</div>
<!-- /.col -->
<!-- fix for small devices only -->
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!!route('Shop.Admin.Orders.index') !!}">
@include('Shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_dossiers_encours)) ? $nb_dossiers_encours : 0, 'class' => 'bg-yellow', 'icon' => 'fa-hourglass-start', 'text' => 'CA du mois'])
</a>
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!! route('Shop.Admin.Orders.index') !!}">
@include('Shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_ventes)) ? $nb_ventes : 0, 'class' => 'bg-green', 'icon' => 'fa-check-square-o', 'text' => 'Panier moyen'])
</a>
</div>
<!-- /.col -->
</div>

View File

@@ -0,0 +1,38 @@
<div class="row">
<div class="col-sm-3 col-xs-6">
<div class="description-block border-right">
<span class="description-percentage text-green"><i class="fa fa-caret-up"></i> 17%</span>
<h5 class="description-header">35 210.43 </h5>
<span class="description-text">TOTAL VENTE</span>
</div>
<!-- /.description-block -->
</div>
<!-- /.col -->
<div class="col-sm-3 col-xs-6">
<div class="description-block border-right">
<span class="description-percentage text-yellow"><i class="fa fa-caret-left"></i> 0%</span>
<h5 class="description-header">10 390.90 </h5>
<span class="description-text">PANIER MOYEN</span>
</div>
<!-- /.description-block -->
</div>
<!-- /.col -->
<div class="col-sm-3 col-xs-6">
<div class="description-block border-right">
<span class="description-percentage text-green"><i class="fa fa-caret-up"></i> 20%</span>
<h5 class="description-header">248</h5>
<span class="description-text">NB CLIENTS</span>
</div>
<!-- /.description-block -->
</div>
<!-- /.col -->
<div class="col-sm-3 col-xs-6">
<div class="description-block">
<span class="description-percentage text-red"><i class="fa fa-caret-down"></i> 18%</span>
<h5 class="description-header">1200</h5>
<span class="description-text">NB PRODUITS</span>
</div>
<!-- /.description-block -->
</div>
</div>
<!-- /.row -->

View File

@@ -0,0 +1,24 @@
<!-- Info boxes -->
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
@include('modules.Dashboard.partials.tile1')
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
@include('modules.Dashboard.partials.tile2')
</div>
<!-- /.col -->
<!-- fix for small devices only -->
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3 col-sm-6 col-xs-12">
@include('modules.Dashboard.partials.tile3')
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
@include('modules.Dashboard.partials.tile4')
</div>
<!-- /.col -->
</div>
<!-- /.row -->

View File

@@ -0,0 +1,66 @@
<!-- USERS LIST -->
<div class="box box-danger">
<div class="box-header with-border">
<h3 class="box-title">Utilisateurs</h3>
<div class="box-tools pull-right">
<span class="label label-danger">8 Nouveaux</span>
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i>
</button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body no-padding">
<ul class="users-list clearfix">
<li>
<img src="/img/user1-128x128.jpg" alt="User Image">
<a class="users-list-name" href="#">Alexander Pierce</a>
<span class="users-list-date">Aujourd'hui</span>
</li>
<li>
<img src="/img/user8-128x128.jpg" alt="User Image">
<a class="users-list-name" href="#">Norman</a>
<span class="users-list-date">Hier</span>
</li>
<li>
<img src="/img/user7-128x128.jpg" alt="User Image">
<a class="users-list-name" href="#">Jane</a>
<span class="users-list-date">12 Jan</span>
</li>
<li>
<img src="/img/user6-128x128.jpg" alt="User Image">
<a class="users-list-name" href="#">John</a>
<span class="users-list-date">12 Jan</span>
</li>
<li>
<img src="/img/user2-160x160.jpg" alt="User Image">
<a class="users-list-name" href="#">Alexander</a>
<span class="users-list-date">13 Jan</span>
</li>
<li>
<img src="/img/user5-128x128.jpg" alt="User Image">
<a class="users-list-name" href="#">Sarah</a>
<span class="users-list-date">14 Jan</span>
</li>
<li>
<img src="/img/user4-128x128.jpg" alt="User Image">
<a class="users-list-name" href="#">Nora</a>
<span class="users-list-date">15 Jan</span>
</li>
<li>
<img src="/img/user3-128x128.jpg" alt="User Image">
<a class="users-list-name" href="#">Nadia</a>
<span class="users-list-date">15 Jan</span>
</li>
</ul>
<!-- /.users-list -->
</div>
<!-- /.box-body -->
<div class="box-footer text-center">
<a href="javascript:void(0)" class="uppercase">Voir tous les utilisateurs</a>
</div>
<!-- /.box-footer -->
</div>
<!--/.box -->

View File

@@ -0,0 +1,43 @@
<!-- TABLE: LATEST ORDERS -->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Derniers dossiers</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="table-responsive">
<table class="table no-margin">
<thead>
<tr>
<th>Résidence</th>
<th>Lot</th>
<th>Prix</th>
<th>Vendeur</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="pages/examples/invoice.html">Résidence</a></td>
<td>Lot</td>
<td><span class="label label-success">Prix</span></td>
<td>Vendeur</td>
</tr>
</tbody>
</table>
</div>
<!-- /.table-responsive -->
</div>
<!-- /.box-body -->
<div class="box-footer clearfix">
<a href="javascript:void(0)" class="btn btn-sm btn-info btn-flat pull-left">Nouveau dossier</a>
<a href="javascript:void(0)" class="btn btn-sm btn-default btn-flat pull-right">Voir tous les dossiers</a>
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->

View File

@@ -0,0 +1,23 @@
<div class="row">
<div class="col-md-8">
@include('Shop.admin.Dashboard._partials.salesByPeriod')
</div>
<div class="col-md-4">
@include('Shop.admin.Dashboard._partials.stock')
</div>
</div>
<div class="row">
<div class="col-md-8">
@include('Shop.admin.Dashboard._partials.latest_orders')
</div>
<div class="col-md-4">
@include('Shop.admin.Dashboard._partials.stats_sections')
</div>
</div>

View File

@@ -0,0 +1,40 @@
<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Evolution du CA</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
<div class="btn-group">
<button type="button" class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown"><i class="fa fa-wrench"></i></button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Par semaine</a></li>
<li><a href="#">Par mois</a></li>
<li class="divider"></li>
<li><a href="#">Autre chose</a></li>
</ul>
</div>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-12">
@include('Shop.admin.Dashboard.components.chart')
</div>
</div>
<!-- /.row -->
</div>
<!-- ./box-body -->
<div class="box-footer">
@include('Shop.admin.Dashboard._partials.evolutions')
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->

View File

@@ -0,0 +1,7 @@
@include('Shop.admin.Dashboard.components.infobox2', ['count' => (isset($nb_lots_optionne)) ? $nb_lots_optionne : 0, 'class' => 'bg-aqua', 'icon' => 'fa-building-o', 'text' => 'Lots optionnés', 'percent' => 0 ])
@include('Shop.admin.Dashboard.components.infobox2', ['count' => (isset($montant_options_encours)) ? $montant_options_encours : 0, 'class' => 'bg-red', 'icon' => 'fa-clock-o', 'text' => 'Options En cours', 'percent' => 10 ])
@include('Shop.admin.Dashboard.components.infobox2', ['count' => (isset($montant_dossiers_encours)) ? $montant_dossiers_encours : 0, 'class' => 'bg-yellow', 'icon' => 'fa-hourglass-start', 'text' => 'Dossiers en cours', 'percent' => 20 ])
@include('Shop.admin.Dashboard.components.infobox2', ['count' => (isset($montant_ventes)) ? $montant_ventes : 0, 'class' => 'bg-green', 'icon' => 'fa-check-square-o', 'text' => 'Ventes', 'percent' => 30 ])

View File

@@ -0,0 +1,20 @@
<div class="pad box-pane-right bg-green" style="min-height: 280px">
<div class="description-block margin-bottom">
<div class="sparkbar pad" data-color="#fff"><canvas width="34" height="30" style="display: inline-block; width: 34px; height: 30px; vertical-align: top;"></canvas></div>
<h5 class="description-header">{{ $nb_residences }}</h5>
<span class="description-text">Résidences</span>
</div>
<div class="description-block margin-bottom">
<div class="sparkbar pad" data-color="#fff"><canvas width="34" height="30" style="display: inline-block; width: 34px; height: 30px; vertical-align: top;"></canvas></div>
<h5 class="description-header">{{ $nb_lots }}</h5>
<span class="description-text">Lots</span>
</div>
<div class="description-block">
<div class="sparkbar pad" data-color="#fff"><canvas width="34" height="30" style="display: inline-block; width: 34px; height: 30px; vertical-align: top;"></canvas></div>
<h5 class="description-header">{{ $lots_percent }} %</h5>
<span class="description-text">En cours</span>
</div>
</div>

View File

@@ -0,0 +1,56 @@
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">Type de lots</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-8">
<div class="chart-responsive">
<canvas id="pieChart" height="170" width="205" style="width: 205px; height: 170px;"></canvas>
</div>
<!-- ./chart-responsive -->
</div>
<!-- /.col -->
<div class="col-md-4">
<ul class="chart-legend clearfix">
<li><i class="fa fa-circle-o text-red"></i> T1</li>
<li><i class="fa fa-circle-o text-green"></i> T2</li>
<li><i class="fa fa-circle-o text-yellow"></i> T3</li>
<li><i class="fa fa-circle-o text-aqua"></i> T4</li>
<li><i class="fa fa-circle-o text-light-blue"></i> T5</li>
<li><i class="fa fa-circle-o text-gray"></i> Part</li>
</ul>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.box-body -->
<div class="box-footer no-padding">
<ul class="nav nav-pills nav-stacked">
<li>
<a href="#">
T1 <span class="pull-right text-red"><i class="fa fa-angle-down"></i> 12%</span>
</a>
</li>
<li>
<a href="#">
T2 <span class="pull-right text-green"><i class="fa fa-angle-up"></i> 4%</span>
</a>
</li>
<li>
<a href="#">
T3 <span class="pull-right text-yellow"><i class="fa fa-angle-left"></i> 0%</span>
</a>
</li>
</ul>
</div>
<!-- /.footer -->
</div>

View File

@@ -0,0 +1,40 @@
<p class="text-center">
<strong>Activités</strong>
</p>
<div class="progress-group">
<span class="progress-text">Produit 1</span>
<span class="progress-number"><b>160</b>/200</span>
<div class="progress sm">
<div class="progress-bar progress-bar-aqua" style="width: 80%"></div>
</div>
</div>
<!-- /.progress-group -->
<div class="progress-group">
<span class="progress-text">Produit 2</span>
<span class="progress-number"><b>310</b>/400</span>
<div class="progress sm">
<div class="progress-bar progress-bar-red" style="width: 72%"></div>
</div>
</div>
<!-- /.progress-group -->
<div class="progress-group">
<span class="progress-text">Produit 3</span>
<span class="progress-number"><b>480</b>/800</span>
<div class="progress sm">
<div class="progress-bar progress-bar-green" style="width: 52%"></div>
</div>
</div>
<!-- /.progress-group -->
<div class="progress-group">
<span class="progress-text">Produit 4</span>
<span class="progress-number"><b>250</b>/500</span>
<div class="progress sm">
<div class="progress-bar progress-bar-yellow" style="width: 80%"></div>
</div>
</div>
<!-- /.progress-group -->

View File

@@ -0,0 +1,9 @@
<p class="text-center">
<strong>Ventes : 1 Jan 2019 - 30 Juin 2019</strong>
</p>
<div class="chart">
<!-- Sales Chart Canvas -->
<canvas id="salesChart" style="height: 180px; width: 703px;" width="703" height="180"></canvas>
</div>
<!-- /.chart-responsive -->

View File

@@ -0,0 +1,30 @@
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!! route('Hestimmo.Lots.disponibles') !!}">
@include('modules.Dashboard.components.infobox', ['count' => (isset($nb_lots_envente)) ? $nb_lots_envente : 0, 'class' => 'bg-aqua', 'icon' => 'fa-building-o', 'text' => 'Lots disponibles'])
</a>
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!! route('Hestimmo.Options.encours') !!}">
@include('modules.Dashboard.components.infobox', ['count' => (isset($nb_lots_optionne)) ? $nb_lots_optionne : 0, 'class' => 'bg-red', 'icon' => 'fa-clock-o', 'text' => 'Options'])
</a>
</div>
<!-- /.col -->
<!-- fix for small devices only -->
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!!route('Hestimmo.Dossiers.encours') !!}">
@include('modules.Dashboard.components.infobox', ['count' => (isset($nb_dossiers_encours)) ? $nb_dossiers_encours : 0, 'class' => 'bg-yellow', 'icon' => 'fa-hourglass-start', 'text' => 'Dossiers en cours'])
</a>
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
<a href="{!! route('Hestimmo.Ventes.index') !!}">
@include('modules.Dashboard.components.infobox', ['count' => (isset($nb_ventes)) ? $nb_ventes : 0, 'class' => 'bg-green', 'icon' => 'fa-check-square-o', 'text' => 'Ventes'])
</a>
</div>
<!-- /.col -->
</div>

View File

@@ -0,0 +1,38 @@
<div class="row">
<div class="col-sm-3 col-xs-6">
<div class="description-block border-right">
<span class="description-percentage text-green"><i class="fa fa-caret-up"></i> 17%</span>
<h5 class="description-header">35,210.43 </h5>
<span class="description-text">TOTAL VENTE</span>
</div>
<!-- /.description-block -->
</div>
<!-- /.col -->
<div class="col-sm-3 col-xs-6">
<div class="description-block border-right">
<span class="description-percentage text-yellow"><i class="fa fa-caret-left"></i> 0%</span>
<h5 class="description-header">10,390.90 </h5>
<span class="description-text">TOTAL COMMISSION</span>
</div>
<!-- /.description-block -->
</div>
<!-- /.col -->
<div class="col-sm-3 col-xs-6">
<div class="description-block border-right">
<span class="description-percentage text-green"><i class="fa fa-caret-up"></i> 20%</span>
<h5 class="description-header">24,813.53 </h5>
<span class="description-text">TOTAL PROFIT</span>
</div>
<!-- /.description-block -->
</div>
<!-- /.col -->
<div class="col-sm-3 col-xs-6">
<div class="description-block">
<span class="description-percentage text-red"><i class="fa fa-caret-down"></i> 18%</span>
<h5 class="description-header">1200</h5>
<span class="description-text">Dossiers complétés</span>
</div>
<!-- /.description-block -->
</div>
</div>
<!-- /.row -->

View File

@@ -0,0 +1,7 @@
<div class="info-box">
<span class="info-box-icon {{ $class }}"><i class="fa {{ $icon }}"></i></span>
<div class="info-box-content">
<span class="info-box-text">{{ $text }}</span>
<span class="info-box-number">{{ $count }}</span>
</div>
</div>

View File

@@ -0,0 +1,16 @@
<div class="info-box {{ $class }}">
<span class="info-box-icon"><i class="fa fa-fw {{ $icon }}"></i></span>
<div class="info-box-content">
<span class="info-box-text">{{ $text }}</span>
<span class="info-box-number">{{ App\Repositories\Core\Number::price($count) }}</span>
<div class="progress">
<div class="progress-bar" style="width: {{ $percent }}%"></div>
</div>
<span class="progress-description">
</span>
</div>
</div>

View File

@@ -0,0 +1,43 @@
<!-- TABLE: LATEST ORDERS -->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Derniers dossiers</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="table-responsive">
<table class="table no-margin">
<thead>
<tr>
<th>Résidence</th>
<th>Lot</th>
<th>Prix</th>
<th>Vendeur</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="pages/examples/invoice.html">Résidence</a></td>
<td>Lot</td>
<td><span class="label label-success">Prix</span></td>
<td>Vendeur</td>
</tr>
</tbody>
</table>
</div>
<!-- /.table-responsive -->
</div>
<!-- /.box-body -->
<div class="box-footer clearfix">
<a href="javascript:void(0)" class="btn btn-sm btn-info btn-flat pull-left">Nouveau dossier</a>
<a href="javascript:void(0)" class="btn btn-sm btn-default btn-flat pull-right">Voir tous les dossiers</a>
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->

View File

@@ -0,0 +1,20 @@
<!-- MAP & BOX PANE -->
@component('components.widgets.box')
@slot('title', 'Emplacement des résidences')
@slot('content')
<div class="row">
<div class="col-md-9 col-sm-8">
<div class="pad" style="height: 360px;">
{!! Mapper::render() !!}
</div>
</div>
<div class="col-md-3 col-sm-4">
@include('modules.Dashboard.partials.hestimmo.stats_lots')
</div>
</div>
@endslot
@endcomponent

View File

@@ -0,0 +1,47 @@
<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Statistiques mensuelles</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<div class="btn-group">
<button type="button" class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-wrench"></i></button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Par semaine</a></li>
<li><a href="#">Par mois</a></li>
<li class="divider"></li>
<li><a href="#">Autre chose</a></li>
</ul>
</div>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-8">
@include('modules.Dashboard.partials.chart')
</div>
<!-- /.col -->
<div class="col-md-4">
@include('modules.Dashboard.partials.goal_completion')
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- ./box-body -->
<div class="box-footer">
@include('modules.Dashboard.partials.evolutions')
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->

View File

@@ -0,0 +1,30 @@
@extends('boilerplate::layout.index', [
'title' => __('dashboard.title'),
'subtitle' => __('boilerplate::users.list.title'),
'breadcrumb' => [
__('boilerplate::dashboard.title') => 'boilerplate.users.index'
]
])
@include('boilerplate::logs.style')
@section('content')
@include('Shop.admin.Dashboard._partials.counter')
@include('Shop.admin.Dashboard._partials.report')
@endsection
@prepend('js')
@include('components.js.ie11')
@include('components.js', ['js' => '/js/laroute.js'])
@include('components.js', ['js' => '/js/main.min.js'])
@include('components.js', ['js' => '/js/datatables.min.js'])
@include('boilerplate::load.moment')
@endprepend
@push('css')
@include('components.css', ['css' => '/css/main.min.css'])
@include('components.css', ['css' => '/css/datatables.min.css'])
@endpush

View File

@@ -0,0 +1,15 @@
@extends('boilerplate::layout.index', [
'title' => __('Shop.families.title'),
'subtitle' => __('Shop.families.add'),
'breadcrumb' => [__('Shop.families.title'), __('Shop.families.add')]
])
@include('boilerplate::load.fileinput')
@section('content')
{{ Form::open(['route' => 'Shop.Admin.families.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
@include('Shop.Admin.families.form')
</form>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Shop.families.title'),
'subtitle' => __('Shop.families.edit'),
'breadcrumb' => ['Familles']
])
@section('content')
{{ Form::open(['route' => 'Shop.Admin.Families.store', 'id' => 'form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $family['id'] }}">
@include('Shop.Admin.Families.form')
</form>
@endsection

View File

@@ -0,0 +1,21 @@
<div class="row">
<div class="col-md-8">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => (isset($family['name'])) ? $family['name'] : null, 'required' => true])
{{ Form::label('alias', 'Alias') }}
@include('components.input', ['name' => 'alias', 'value' => (isset($family['alias'])) ? $family['alias'] : null, 'required' => true])
{{ Form::label('latin', 'Nom latin') }}
@include('components.input', ['name' => 'latin', 'value' => (isset($family['latin'])) ? $family['latin'] : null, 'required' => true])
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="float-right mt-3">
@include('components.button-save')
</div>
</div>
</div>

View File

@@ -0,0 +1,21 @@
@extends('layout.index', [
'title' => __('Shop.families.title'),
'subtitle' => __('Shop.families.list'),
'breadcrumb' => [__('Shop.families.title')]
])
@section('content')
<div class="row pb-3">
<div class="col text-right">
<a href="{{ route('Shop.Admin.Families.create') }}" class="btn btn-sm btn-success">{{ __('Shop.families.add') }} <i class="fa fa-plus"></i></a>
</div>
</div>
{{$dataTable->table()}}
@endsection
@push('scripts')
@include('components.js.datatable', ['route' => '/Shop/Admin/Families', 'model' => 'families'])
@endpush

View File

@@ -0,0 +1,30 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-12">
@include('components.carousel')
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,13 @@
@extends('layout.index', [
'title' => __('Shop.genres.title'),
'subtitle' => __('Shop.genres.add'),
'breadcrumb' => [__('Shop.genres.title'), __('Shop.genres.add')]
])
@section('content')
{{ Form::open(['route' => 'Shop.Admin.genres.store', 'id' => 'form', 'autocomplete' => 'off']) }}
@include('Shop.Admin.genres.form')
</form>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Shop.genres.title'),
'subtitle' => __('Shop.genres.edit'),
'breadcrumb' => ['Familles']
])
@section('content')
{{ Form::open(['route' => 'Shop.Admin.Genres.store', 'id' => 'form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $id }}">
@include('Shop.Admin.Genres.form')
</form>
@endsection

View File

@@ -0,0 +1,27 @@
<div class="row">
<div class="col-md-8">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => isset($name) ? $name : null, 'required' => true])
{{ Form::label('alias', 'Alias') }}
@include('components.input', ['name' => 'alias', 'value' => isset($alias) ? $alias : null, 'required' => true])
{{ Form::label('latin', 'Nom latin') }}
@include('components.input', ['name' => 'latin', 'value' => isset($latin) ? $latin : null, 'required' => true])
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'value' => isset($description) ? $description : null, 'class' => 'editor', 'required' => false])
{{ Form::label('family', 'Famille') }}
@include('components.select', ['name' => 'family_id', 'list' => $families, 'value' => isset($family_id) ? $family_id : null, 'required' => false])
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="float-right mt-3">
@include('components.button-save')
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
@extends('layout.index', [
'title' => __('Shop.genres.title'),
'subtitle' => __('Shop.genres.list'),
'breadcrumb' => [__('Shop.genres.title')]
])
@section('content')
<div class="row pb-3">
<div class="col text-right">
<a href="{{ route('Shop.Admin.Genres.create') }}" class="btn btn-sm btn-success">{{ __('Shop.genres.add') }} <i class="fa fa-plus"></i></a>
</div>
</div>
{{$dataTable->table()}}
@endsection
@push('scripts')
@include('components.js.datatable', ['route' => '/Shop/Admin/Genres', 'model' => 'genres'])
@endpush

View File

@@ -0,0 +1,30 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-12">
@include('components.carousel')
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,13 @@
<div class="col-md-12 col-lg-4 row-lot-photo m-top-8">
<button type="button" class="btn btn-danger delete-lot-photo-btn"><i class="fa fa-minus-circle"></i></button>
<div class="thumbnail">
<img src="/storage/{{ $photo['filepath'] }}/{{ $photo['uuid'] }}.{{ $photo['filetype'] }}" alt="...">
<div class="caption">
<h3>{{ $photo['title'] }}</h3>
<p>Poids : {{ $photo['filesize'] }}</p>
</div>
</div>
</div>

View File

@@ -0,0 +1,15 @@
<div class="col-md-12 col-lg-4 row-new-lot-photo row-lot-photo m-top-8">
<p>
<button type="button" class="btn btn-danger delete-new-lot-photo-btn"><i class="fa fa-minus-circle"></i></button>
Photo <span class="row-photo-number"></span>
</p>
<input name="lot_photos[][file]" type="file" class="file" data-show-upload="false" data-show-caption="true" data-msg-placeholder="Choisissez une photo">
<label>Titre</label>
<input name="lot_photos[][title]" type="text" class="form-control">
<label>Type de photo</label>
@include('components.select',['name' => 'lot_photos[][type_photo_id]' , 'list' => $type_photos])
</div>

View File

@@ -0,0 +1,41 @@
@if (isset($photos) && count($photos))
<table class="table table-striped table-hover va-middle" id="photos-table">
<thead>
<tr>
<th>Photo</th>
<th>Type</th>
<th>Titre</th>
<th>Poids</th>
<th style="min-width: 82px; max-width: 82px;"></th>
</tr>
</thead>
<tbody>
@foreach($photos as $photo)
<tr>
<td>
<img src="/storage/{{ $photo['filepath'] }}/{{ $photo['uuid'] }}.{{ $photo['filetype'] }}" width="64">
</td>
<td>
{{ $photo['type_photo']['nom'] }}
</td>
<td>
{{ $photo['title'] }}
</td>
<td>
{{ $photo['filesize'] }}
</td>
<td>
<!--
<a href="{{ route('Hestimmo.LotPhotos.edit', $photo['id']) }}" class="btn btn-sm btn-primary">
<span class="fa fa-eye"></span>
</a>
-->
<a href="{{ route('Hestimmo.LotPhotos.destroy', $photo['id']) }}" class="btn btn-sm btn-danger destroy">
<span class="fa fa-trash"></span>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
@endif

View File

@@ -0,0 +1,38 @@
@extends('layout.index', [
'title' => __('lots.title'),
'subtitle' => __('lots.create.title'),
'breadcrumb' => [__('lots.title'), __('lots.create.title')]
])
@include('boilerplate::load.icheck')
@include('boilerplate::load.fileinput')
@prepend('js')
@include('components.js', ['js' => '/js/main.min.js'])
@endprepend
@push('css')
@include('components.css', ['css' => '/css/main.min.css'])
@endpush
@section('content')
{{ Form::open(['route' => 'Hestimmo.Lots.store', 'id' => 'lot-form', 'autocomplete' => 'off', 'files' => true]) }}
<div class="row">
<div class="col-sm-12 mbl">
<a href="{{ route("Hestimmo.Lots.index") }}" class="btn btn-default">
{{ __('lots.list.title') }}
</a>
<span class="btn-group pull-right">
@include('components.button-save')
</span>
</div>
</div>
@include('Hestimmo.modules.Lot.lot_form')
</form>
@endsection

View File

@@ -0,0 +1,39 @@
@extends('layout.index', [
'title' => 'Lots',
'subtitle' => 'Edition d\'un lot',
'breadcrumb' => ['Lots']
])
@include('boilerplate::load.icheck')
@include('boilerplate::load.fileinput')
@prepend('js')
@include('components.js', ['js' => '/js/main.min.js'])
@endprepend
@push('css')
@include('components.css', ['css' => '/css/main.min.css'])
@endpush
@section('content')
{{ Form::open(['route' => 'Hestimmo.Lots.update', 'id' => 'lot-form', 'autocomplete' => 'off', 'files' => true]) }}
<div class="row">
<div class="col-sm-12 mbl">
<a href="{{ route("Hestimmo.Lots.index") }}" class="btn btn-default">
{{ __('lots.list.title') }}
</a>
<span class="btn-group pull-right">
@include('components.button-save')
</span>
</div>
</div>
<input type="hidden" name="id" value="{{ $id }}">
@include('Hestimmo.modules.Lot.lot_form')
</form>
@endsection

View File

@@ -0,0 +1,94 @@
@extends('layout.index', [
'title' => __('lots.title'),
'subtitle' => __('lots.list.title'),
'breadcrumb' => [__('lots.title')]
])
@section('content')
<div class="box">
<div class="box-body">
<table class="table table-striped table-hover va-middle" id="lot-table">
<thead>
<tr>
<th>
@include('components.select', ['name' => 'statut', 'class' => 'form-control-sm', 'style' => 'padding: 2px;', 'list' => $type_lot_statuts])
</th>
<th>
@include('components.select', ['name' => 'type_dispositif', 'class' => 'form-control-sm', 'style' => 'padding: 2px;', 'list' => $type_dispositifs])
</th>
<th>
@include('components.select', ['name' => 'residence', 'class' => 'form-control-sm', 'style' => 'padding: 2px;', 'list' => $residences])
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th>
@include('components.select', ['name' => 'type_lot', 'class' => 'form-control-sm', 'style' => 'padding: 2px;', 'list' => $type_lots])
</th>
<th style="min-width: 100px;">
<input type="text" class="form-control-sm" style="max-width: 80px;">
</th>
<th style="min-width: 160px; max-width: 160px;">
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th style="max-width: 120px;">
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th>
</th>
</tr>
<tr>
<th>Statut</th>
<th>Dispositif</th>
<th>Résidence</th>
<th>Référence</th>
<th>Type</th>
<th>Surface</th>
<th>Surface Ext.</th>
<th>Prix total</th>
<th>Prix achat</th>
<th>Package</th>
<th>F. Notaire</th>
<th>F. Bancaire</th>
<th>Loyer logement</th>
<th>Loyer stat.</th>
<th style="min-width: 82px; max-width: 82px;"></th>
</tr>
</thead>
</table>
</div>
</div>
@endsection
@prepend('js')
@include('components.js.ie11')
@include('components.js', ['js' => '/js/laroute.js'])
@include('components.js', ['js' => '/js/main.min.js'])
@include('components.js', ['js' => '/js/datatables.min.js'])
@endprepend
@push('js')
@include('components.js', ['js' => '/js/lot_index.min.js'])
@endpush
@push('css')
@include('components.css', ['css' => '/css/main.min.css'])
@include('components.css', ['css' => '/css/datatables.min.css'])
@endpush

View File

@@ -0,0 +1,35 @@
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="/storage/images/residences/139.jpg" alt="..." class="img-responsive">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="/storage/images/residences/134.jpg" alt="..." class="img-responsive">
<div class="carousel-caption">
...
</div>
</div>
...
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Précédent</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Suivant</span>
</a>
</div>

View File

@@ -0,0 +1,178 @@
<div class="row" style="display: flex;">
<div class="col-xs-12 col-md-6 text-center">
@include('components.carousel', ['id_name' => 'detail_lot', 'with_modal' => true, 'id' => $id ])
</div>
<div class="col-xs-12 col-md-6">
<div class="text-right">
{{ __('lots.reference') }} : {{ $ref }}
</div>
<h3 style="margin-top: 10px;">{{ $type_lot['nom'] }} - {{ $residence['nom'] }}</h3>
<span class="badge">
Dispositif {{ $dispositifs[0]['type_dispositif']['nom'] }}
</span>
<br/><br/>
{{ $batiment['adresse'] }} {{ $batiment['code_postal'] }} {{ $batiment['ville'] }}<br/>
{{ $batiment['complement_adresse'] }} - {{ $etage }}<br/><br/>
<div class="m-bottom-15">
Surface : {{ $surface }} m2<br/>
@if ($surface_balcon) Balcon/Terrasse : {{ $surface_balcon }} m2 <br/>@endif
@if ($surface_cave) Cave : {{ $surface_cave }} m2 <br/>@endif
@if ($surface_grenier) Grenier : {{ $surface_grenier }} m2 <br/>@endif
@if ($surface_soussol) Sous-sol : {{ $surface_soussol }} m2 <br/>@endif
@if ($surface_terrain) Terrain : {{ $surface_terrain }} m2 <br/>@endif
</div>
<div class="text-right">
<h2><strong>{{ App\Repositories\Core\Number::price($prix_total) }} &euro;</strong></h2>
</div>
<div class="text-right">
<button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
<button type="button" data-id="{{ $id }}" data-toggle='modal' data-target='#lot-option' class="btn btn-success btn btn-lot-option" >
<i class='fa fa-check-square-o fa-fw'></i>
Optionner
</button>
</div>
</div>
</div>
<div class="row" style="margin-top: 20px;">
<div class="col-md-12">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<i class="fa fa-arrow-circle-right"></i> Détails des prix
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<div class="table-responsive">
<table class="table table-bordered table-condensed">
<thead class="thead-bgcolor">
<tr>
<th>Prix acquisition</th>
<th>Montant travaux</th>
<th>Prix total</th>
<th>Prix cave</th>
<th>Prix stationnement</th>
<th>Package</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_achat) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_travaux) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_total) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_cave) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_stationnement) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($package) }}</td>
</tr>
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="table table-bordered table-condensed" style="width: 100%;">
<thead class="thead-bgcolor">
<tr>
<th>Honoraires Agence</th>
<th>Frais notaire</th>
<th>Frais bancaire</th>
<th>Courtage bancaire</th>
<th>Interêts intercalaires</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-right">{{ App\Repositories\Core\Number::price($honoraires_agence) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($frais_notaire) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($frais_bancaire) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($courtage_bancaire) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($interets_intercalaires) }}</td>
</tr>
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="table table-bordered table-condensed" style="width: 100%;">
<thead class="thead-bgcolor">
<tr>
<th>Garantie revente</th>
<th>Loyer logement</th>
<th>Loyer stationnement</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-right">{{ App\Repositories\Core\Number::price($garantie_revente) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($loyer_logement) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($loyer_stationnement) }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<i class="fa fa-arrow-circle-right"></i> Liste des documents disponibles
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
<div class="table-responsive">
<table class="table table-bordered table-condensed" style="width: 100%;">
<thead class="thead-bgcolor">
<th>Type</th>
<th>Titre</th>
<th>Format</th>
<th>Poids</th>
<th></th>
</thead>
<tbody>
@foreach($documents as $document)
<tr>
<td>{{ $document['type_document']['nom'] }}</td>
<td>{{ $document['title'] }}</td>
<td>{{ $document['filetype'] }}</td>
<td class="text-right">{{ Coduo\PHPHumanizer\NumberHumanizer::binarySuffix($document['filesize']) }}</td>
<td><a class='btn btn-xs btn-primary' href="{{ route('Hestimmo.LotDocuments.download', $document['id']) }}"><i class='fa fa-eye fa-fw'></i></a></i></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
handle_option();
$('.btn-lot-option').on('click', function(e) {
var id = $(this).data('id');
$('#modal-option-content').load(laroute.route('Hestimmo.Options.getOptionOnLot', {lot_id : id}));
});
</script>

View File

@@ -0,0 +1,28 @@
@if (isset($documents))
@include('Hestimmo.modules.LotDocument.partials.list-documents')
@endif
@include('Hestimmo.modules.LotDocument.partials.block_document_new')
<div id="append_lot_document" class="row m-top-8"> </div>
<button type="button" class="btn btn-primary add-new-lot-document m-top-8">Ajouter un document <i class="fa fa-plus"></i></button>
@push('js')
<script>
function append_lot_document() {
$("#append_lot_document .file").fileinput();
}
$("#append_lot_document").appender({
rowSection: '.row-new-lot-document',
type: '.row-lot-document',
addBtn: '.add-new-lot-document',
appendEffect: 'slide',
addClass: 'animated bounceInLeft',
rowNumber: '.row-lot-document-number',
deleteBtn: '.delete-new-lot-document-btn',
callback: append_lot_document,
hideSection: true
});
</script>
@endpush

View File

@@ -0,0 +1,46 @@
<div class="row">
<div class="col-md-6">
<label>Réserver ce lot</label>
@include('components.checkbox', ['name' => 'reserve', 'id' => 'reserve', 'class' => 'icheck', 'val' => 1, 'value' => (isset($reserve)) ? $reserve : null])
<br/>
<div id="partenaires" @if (!isset($reserve) || !$reserve) style="display: none;" @endif>
@foreach($partenaires as $key => $item)
@include('components.checkbox', ['name' => 'partenaires[]', 'class' => 'icheck', 'val' => $key, 'value' => in_array($key, $lot_partenaires)])
<label>{{ $item }}</label>
<br/>
@endforeach
</div>
</div>
<div class="col-md-6">
<label>Promouvoir ce lot</label>
@include('components.checkbox', ['name' => 'promo', 'class' => 'icheck', 'val' => 1, 'value' => (isset($promo)) ? $promo : null])
</div>
</div>
@push('js')
<script>
$(function () {
$(document).ready(function() {
$('#reserve').on('ifChecked', function(event) {
$('#partenaires').show();
});
$('#reserve').on('ifUnchecked', function(event) {
$('#partenaires').hide();
@if (isset($id))
$.ajax({
type: "POST",
url: "{!! route('Hestimmo.LotPartenaires.resetReserve') !!}",
data: {
id: {{ $id }},
},
});
@endif
});
});
});
</script>
@endpush

View File

@@ -0,0 +1,28 @@
@if (isset($photos))
@include('Hestimmo.modules.LotPhoto.partials.list-photos')
@endif
@include('Hestimmo.modules.LotPhoto.partials.block_photo_new')
<div id="append_lot_photo" class="row m-top-8"> </div>
<button type="button" class="btn btn-primary add-new-lot-photo m-top-8">Ajouter une photo <i class="fa fa-plus"></i></button>
@push('js')
<script>
function append_lot_photo() {
$("#append_lot_photo .file").fileinput();
}
$("#append_lot_photo").appender({
rowSection: '.row-new-lot-photo',
type: '.row-lot-photo',
addBtn: '.add-new-lot-photo',
appendEffect: 'slide',
addClass: 'animated bounceInLeft',
rowNumber: '.row-lot-photo-number',
deleteBtn: '.delete-new-lot-photo-btn',
callback: append_lot_photo,
hideSection: true
});
</script>
@endpush

View File

@@ -0,0 +1,269 @@
<div class="row">
<div class="col-md-6 col-lg-3">
{{ Form::label('ref', 'Numéro de lot') }}
@include('components.input', ['name' => 'ref', 'value' => (isset($ref)) ? $ref : null])
</div>
<div class="col-md-6 col-lg-3">
<div class="form-group {{ $errors->has('type_dispositifs') ? 'has-error' : '' }}">
{{ Form::label('type_dispositifs', 'Type de dispositifs') }}
@include('components.select', ['name' => 'type_dispositif_id', 'list' => $type_dispositifs, 'value' => (isset($type_dispositif_id)) ? $type_dispositif_id : null])
</div>
</div>
<div class="col-md-4 col-lg-2">
<div class="form-group {{ $errors->has('type_lots') ? 'has-error' : '' }}">
{{ Form::label('type_lots', 'Type de lot') }}
@include('components.select', ['name' => 'type_lot_id', 'list' => $type_lots, 'value' => (isset($type_lot_id)) ? $type_lot_id : null ])
</div>
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('nb_etages', 'Agencement') }}
@include('components.select', ['name' => 'nb_etages', 'list' => [1 => 'Aucun étage', 2 => 'Duplex', 3=> 'Triplex'], 'value' => (isset($nb_etages)) ? $nb_etages : 1])
</div>
<div class="col-md-4 col-lg-2">
<div class="form-group {{ $errors->has('statut') ? 'has-error' : '' }}">
{{ Form::label('statut_id', 'Statut') }}
@include('components.select', ['name' => 'statut_id', 'list' => $type_lot_statuts, 'value' => (isset($statut_id)) ? $statut_id : 3])
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-lg-6">
{{ Form::label('description', 'Description') }}
<textarea name="description" class="form-control editor">@if (isset($description)){{ $description }}@endif</textarea>
</div>
<div class="col-md-12 col-lg-6">
<div class="row">
<div class="col-md-12 col-lg-6">
<div class="form-group {{ $errors->has('residence_id') ? 'has-error' : '' }}">
{{ Form::label('residence_id', 'Résidence') }}
@include('components.select', ['name' => 'residence_id', 'id_name' => 'residence_id', 'list' => $residences, 'value' => (isset($residence_id)) ? $residence_id : null])
</div>
</div>
<div class="col-md-12 col-lg-4">
<div class="form-group {{ $errors->has('batiment_id') ? 'has-error' : '' }}">
{{ Form::label('residence_batiment_id', 'Batiment') }}
@include('components.select', ['name' => 'residence_batiment_id', 'id_name' => 'residence_batiment_id', 'list' => (isset($batiments)) ? $batiments : null, 'value' => (isset($residence_batiment_id)) ? $residence_batiment_id : null])
</div>
</div>
<div class="col-md-6 col-lg-2">
{{ Form::label('position_etage', 'Etage') }}
@include('components.select', ['name' => 'position_etage', 'id_name' => 'position_etage', 'list' => (isset($etages)) ? $etages : null, 'value' => (isset($position_etage)) ? $position_etage : null])
</div>
</div>
<div class="row">
<div class="col-lg-6">
{{ Form::label('adresse', 'Adresse') }}
@include('components.input', ['name' => 'adresse', 'value' => (isset($adresse)) ? $adresse : null])
</div>
<div class="col-lg-6">
{{ Form::label('complement_adresse', 'Complément d\'adresse') }}
@include('components.input', ['name' => 'complement_adresse', 'value' => (isset($complement_adresse)) ? $complement_adresse : null])
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4">
{{ Form::label('code_postal', 'Code postal') }}
@include('components.input', ['name' => 'code_postal', 'value' => (isset($code_postal)) ? $code_postal : null])
</div>
<div class="col-md-8">
{{ Form::label('ville', 'Ville') }}
@include('components.city', ['name' => 'ville', 'list' => (isset($ville)) ? [$ville_id => $ville] : [], 'value' => (isset($ville_id)) ? $ville_id : null])
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-4 col-lg-2">
{{ Form::label('surface', 'Surface') }}
@include('components.input', ['name' => 'surface', 'value' => (isset($surface)) ? $surface : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_terrain', 'Terrain') }}
@include('components.input', ['name' => 'surface_terrain', 'value' => (isset($surface_terrain)) ? $surface_terrain : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_balcon', 'Balcon / Terrasse') }}
@include('components.input', ['name' => 'surface_balcon', 'value' => (isset($surface_balcon)) ? $surface_balcon : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_cave', 'Cave') }}
@include('components.input', ['name' => 'surface_cave', 'value' => (isset($surface_cave)) ? $surface_cave : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_soussol', 'Sous-sol') }}
@include('components.input', ['name' => 'surface_soussol', 'value' => (isset($surface_soussol)) ? $surface_soussol : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_grenier', 'Grenier') }}
@include('components.input', ['name' => 'surface_grenier', 'value' => (isset($surface_grenier)) ? $surface_grenier : null])
</div>
</div>
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_achat', 'Prix acquisition') }}
@include('components.money', ['name' => 'prix_achat', 'value' => (isset($prix_achat)) ? $prix_achat : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_travaux', 'Montant travaux') }}
@include('components.money', ['name' => 'prix_travaux', 'value' => (isset($prix_travaux)) ? $prix_travaux : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_total', 'Prix total') }}
@include('components.money', ['name' => 'prix_total', 'value' => (isset($prix_total)) ? $prix_total : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_cave', 'Prix cave') }}
@include('components.money', ['name' => 'prix_cave', 'value' => (isset($prix_cave)) ? $prix_cave : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_stationnement', 'Prix stationnement') }}
@include('components.money', ['name' => 'prix_stationnement', 'value' => (isset($prix_stationnement)) ? $prix_stationnement : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('package', 'Package') }}
@include('components.money', ['name' => 'package', 'value' => (isset($package)) ? $package : null])
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4 col-lg-2">
{{ Form::label('honoraires_agence', 'Honoraires Agence') }}
@include('components.money', ['name' => 'honoraires_agence', 'value' => (isset($honoraires_agence)) ? $honoraires_agence : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('frais_notaire', 'Frais notaire') }}
@include('components.money', ['name' => 'frais_notaire', 'value' => (isset($frais_notaire)) ? $frais_notaire : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('frais_bancaire', 'Garantie bancaire') }}
@include('components.money', ['name' => 'frais_bancaire', 'value' => (isset($frais_bancaire)) ? $frais_bancaire : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('courtage_bancaire', 'Courtage bancaire') }}
@include('components.money', ['name' => 'courtage_bancaire', 'value' => (isset($courtage_bancaire)) ? $courtage_bancaire : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('interets_intercalaires', 'Interets intercalaires') }}
@include('components.money', ['name' => 'interets_intercalaires', 'value' => (isset($interets_intercalaires)) ? $interets_intercalaires : null])
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4 col-lg-2">
{{ Form::label('garantie_revente', 'Garantie revente') }}
@include('components.money', ['name' => 'garantie_revente', 'value' => (isset($garantie_revente)) ? $garantie_revente : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('loyer_logement', 'Loyer logement') }}
@include('components.money', ['name' => 'loyer_logement', 'value' => (isset($loyer_logement)) ? $loyer_logement : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('loyer_stationnement', 'Loyer stationnement') }}
@include('components.money', ['name' => 'loyer_stationnement', 'value' => (isset($loyer_stationnement)) ? $loyer_stationnement : null])
</div>
</div>
@push('js')
<script>
function setByResidence(id) {
$.ajax({
url : laroute.route("Hestimmo.ResidenceBatiments.getByResidence"),
data : {
"_token": "{{ csrf_token() }}",
"id": id
},
method : 'POST',
success : function(resp){
if (resp.success) {
setOptions('#residence_batiment_id',resp.batiments);
var batiment_id = $('#residence_batiment_id').val();
setNbEtages(batiment_id);
}
}
});
}
function setNbEtages(id) {
$.ajax({
url : id ? laroute.route("Hestimmo.ResidenceBatiments.getNbEtages") : laroute.route("Hestimmo.Lots.getNbEtages"),
data : {
"_token": "{{ csrf_token() }}",
"id": id
},
method : 'POST',
success : function(resp){
if (resp.success) {
setOptions('#position_etage',resp.etages);
}
}
});
}
function setAdresse(id) {
$.ajax({
url : laroute.route("Hestimmo.ResidenceBatiments.getAdresse"),
data : {
"_token": "{{ csrf_token() }}",
"id": id
},
method : 'POST',
success : function(resp){
if (resp.success) {
$('#adresse').val(resp.adresse);
$('#complement_adresse').val(resp.complement_adresse);
$('#code_postal').val(resp.code_postal);
$('#ville').val(resp.ville);
$('#ville_id').val(resp.ville_id);
}
}
});
}
$('#residence_id').change(function() {
var id = $('#residence_id').val();
setByResidence(id);
});
$('#residence_batiment_id').change(function() {
var id = $('#residence_batiment_id').val();
setNbEtages(id);
setAdresse(id);
});
var residence_id = $('#residence_id').val();
if (residence_id) {
setByResidence(residence_id);
}
</script>
@endpush

View File

@@ -0,0 +1,92 @@
<table class="table table-striped table-hover va-middle" id="lots-table">
<thead>
<tr>
<th>Numéro</th>
<th>Type</th>
<th>Surface</th>
<th>Prix total</th>
<th>Package</th>
<th>Dont F. Notaire</th>
<th>Loyer logement</th>
<th style="min-width: 82px; max-width: 82px;"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
@push('js')
<script>
$(function () {
var table = $('#lots-table').DataTable({
processing: true,
serverSide: true,
ajax: {
"url": '{!! route('Hestimmo.Lots.getTables') !!}',
type: "POST",
data: {
'residence_id': $('#id').val(),
},
},
sDom: "<'row dt-toolbar-header'<'col-md-4 tool'B><'col-md-4'<'toolbar'>><'col-md-4 text-right add'>r>"+
"t"+
"<'row dt-toolbar-footer'<'col-md-6'i><'col-md-6'p>>",
columns: [
{ data: 'ref', name: 'ref' },
{ data: 'type_lot.nom', name: 'type_lot.nom' },
{ data: 'surface', name: 'surface' },
{ data: 'prix_total', name: 'prix_total' },
{ data: 'package', name: 'package' },
{ data: 'frais_notaire', name: 'frais_notaire' },
{ data: 'loyer_logement', name: 'loyer_logement' },
{
data: "id",
name: "action",
orderable: false,
searchable: false,
render: function (data, type, row) {
tpl = " <a data-id=" + data + " class='btn btn-xs btn-primary' href='"+ laroute.route('Hestimmo.Lots.edit', { id : data}) +"'><i class='fa fa-edit fa-fw'></i></a>";
tpl += " <a data-id=" + data + " class='btn btn-xs btn-danger btn-lot-delete destroy' href='#''><i class='fa fa-times fa-fw'></i></a>";
return tpl;
}
},
]
});
table.on( 'draw', function () {
tpl = '<a href="#" id="btn-lot-add" class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> &nbsp;&nbsp;Création d\'un lot</a>';
$('div.col-md-4.text-right.add').html(tpl);
var residence_id = $('#id').val();
$('#btn-lot-add').click(function() {
if (residence_id) {
url = laroute.route('Hestimmo.Lots.create', { residence_id : residence_id });
window.location = url;
};
});
});
$('#lots-table').on('click', '.destroy', function (e) {
e.preventDefault();
var href = $(this).attr('href');
var line = $(this).closest('tr');
bootbox.confirm("{{ __('boilerplate::role.list.confirmdelete') }}", function (result) {
if (result === false) return;
$.ajax({
url: href,
method: 'delete',
headers: {'X-CSRF-TOKEN': '{{ csrf_token() }}'},
success: function(){
line.remove();
growl("{{ __('boilerplate::role.list.deletesuccess') }}", 'success');
}
});
});
});
});
</script>
@endpush

View File

@@ -0,0 +1,73 @@
<div class="col-lg-4 col-md-4">
<div class="property bg-light-2 m-bottom-30 box-shadow-1 box-shadow-2-hover border-1 border-solid border-light">
<div class="property-media overlay-wrapper">
@if (isset($lot['residence']['photos'][0]))
<img class="img-responsive wow fadeIn" data-wow-offset="100" src="{{ \App\Repositories\Hestimmo\ResidencePhotos::getPhotoSrc($lot['residence']['photos'][0]) }}" alt="Lot">
@else
<img src="/img/photo_notfound.jpg" class="img-responsive img-rounded">
@endif
<div class="media-data">
<div class="position-top">
<div class="text-white text-size-24 pull-right">
<!--
<a class="text-white text-base-hover" href="#">
<i class="fa fa-heart-o"></i>
</a>
-->
</div>
</div>
<div class="position-bottom">
<div class="badge badge-base text-white pull-left m-right-8 p-top-8 p-right-12 p-bottom-8 p-left-12 rounded-0">
@if (isset($lot['dispositifs'][0]))
{{ $lot['dispositifs'][0]['type_dispositif']['nom'] }}
@endif
</div>
<div class="text-white text-size-18 pull-right">
<i class="fa fa-camera"></i>
{{ $lot['photos_count'] }}
</div>
</div>
</div>
<div class="overlay bg-bg opacity-9"></div>
</div>
<div class="property-section p-left-15 p-right-15">
<div class="m-top-20">
<div class="row">
<div class="col-xs-6">
<h2>
{{ $lot['type_lot']['nom'] }}
</h2>
</div>
<div class="col-xs-6">
<h2 class="text-base text-bold-700 bleu wow heartBeat" data-wow-offset="100">
{{ App\Repositories\Core\Number::price($lot['prix_total']) }}
</h2>
</div>
</div>
@if (!empty($lot['description']))
{!! $lot['description'] !!}
@else
{!! $lot['residence']['description'] !!}
@endif
<p>
<a href="#" class="bleu">
<span class="fa fa-2x fa-map-marker"></span>
</a>
<strong>{{ $lot['batiment']['adresse'] }} {{ $lot['batiment']['code_postal'] }} {{ $lot['batiment']['ville'] }}</strong>
</p>
<ul class="icon-list list-inline m-bottom-0">
<li class="list-inline-item"><span class="bleu fa fa-map-o"></span> {{ $lot['type_lot']['nb_pieces'] }} pièces</li>
<li class="list-inline-item"><span class="bleu fa fa-bed"></span> {{ $lot['type_lot']['nb_chambres'] }} @if ($lot['type_lot']['nb_chambres'] > 1) chambres @else chambre @endif</li>
<li class="list-inline-item"><span class="bleu fa fa-expand"></span> <strong>{{ $lot['surface'] }} </strong></li>
</ul>
</div>
</div>
<div class="text-right">
<button type="button" data-id="{{ $lot['id'] }}" data-toggle='modal' data-target='#lot-detail' class="btn btn-primary btn-sm btn-lot-detail" style="margin: 10px 10px 10px 0;">
<i class="fa fa-eye"></i> Voir le détail
</button>
</div>
</div>
</div>

View File

@@ -0,0 +1,12 @@
<div class="modal fade" id="lot-detail" tabindex="-1" role="dialog" aria-labelledby="lot-detail">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">Détail du lot</h4>
</div>
<div class="modal-body" id="modal-detail-content">
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<div class="modal fade" id="modal-edit-document" tabindex="-1" role="dialog" aria-labelledby="lot-option">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">Modifier un document</h4>
</div>
<div class="modal-body" id="modal-document-content">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
<button type="button" class="btn btn-primary">Enregistrer</button>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,43 @@
{{ Form::open(['route' => 'Hestimmo.Options.store', 'id' => 'option-form', 'autocomplete' => 'off']) }}
<div class="modal-box">
<div class="modal fade" id="lot-option" tabindex="-1" role="dialog" aria-labelledby="lot-option">
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="modal-body">
<div class="icon">
<i class="fa fa-check"></i>
</div>
<h4 class="title">- Option -</h4>
<div id="modal-option-content">
</div>
</div>
</div>
</div>
</div>
</div>
</form>
@push('js')
<script>
function handle_option() {
$('.save-option').off('click').click(function() {
$('.save-option').attr("disabled", true);
var data = $("#option-form").serialize();
$.ajax({
type:'POST',
url: "{!! route('Hestimmo.Options.store') !!}",
data: data,
success:function(data) {
growl("{{ __('options.successadd') }}", 'success');
$('#lot-option').modal('hide');
$('#lot-detail').modal('hide');
window.location = laroute.route("Hestimmo.Lots.disponibles");
}
}).fail(function() {
alert( "Erreur lors de l'envoi du formulaire." );
});
});
}
</script>
@endpush

View File

@@ -0,0 +1,95 @@
<div class="box">
<div class="box-body">
<div class="col-xs-12 col-md-4">
<div class="form-group">
<select name="type_dispositif_id" class="form-control">
<option>Dispositif</option>
@foreach($type_dispositifs as $key => $type_dispositif)
<option value="{{$key}}">{{$type_dispositif}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<select name="type_lot_id" class="form-control">
<option>Type de lots</option>
@foreach($type_lots as $key => $type_lot)
<option value="{{$key}}">{{$type_lot}}</option>
@endforeach
</select>
</div>
<div class="form-group">
@include('components.city', ['name' => 'ville'])
</div>
<div class="form-group">
<input type="number" class="w-100" id="distance" name="distance" data-provide="slider" data-slider-min="0" data-slider-max="40" data-slider-step="5">
</div>
<div class="form-group">
Distance : <span id="distanceSliderVal">5</span> km
</div>
</div>
<div class="col-xs-12 col-md-8">
<div class="form-group">
<label class="col-sm-12">Budget</label>
<div class="col-sm-12">
<div class="form-group">
<input type="number" style="width: 100%;" id="budget" name="budget" data-provide="slider" data-slider-min="{{ $min }}" data-slider-max="{{ $max }}" data-slider-step="10000" data-slider-value="[{{ $min }},{{ $max }}]">
</div>
<div class="small-box bg-red">
<div class="inner">
<h3 id="budgetSliderVal">{{ App\Repositories\Core\Number::price($min) }} - {{ App\Repositories\Core\Number::price($max) }}</h3>
<p>Montant +/- 10 000 </p>
</div>
<div class="icon">
<i class="fa fa-eur"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row text-center">
<button type="submit" class="btn btn-info">Rechercher</button>
<p></p>
</div>
</div>
@push('js')
<script>
$(function() {
/*
$("input.slider").slider({
tooltip: 'always',
formatter: function(value) {
console.log(value);
return value.toString().replace(',',' - ');
}
});
*/
$("#budget").on("slide", function(slideEvt) {
var min = numeral(slideEvt.value[0]).format('0,0');
var max = numeral(slideEvt.value[1]).format('0,0');
var txt = min + ' - ' + max;
$("#budgetSliderVal").text(txt);
});
$("#distance").on("slide", function(slideEvt) {
$("#distanceSliderVal").text(slideEvt.value);
});
});
</script>
@endpush

View File

@@ -0,0 +1,73 @@
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active">
<a href="#lot-renseignement" data-toggle="tab" aria-expanded="true">
Renseignement
</a>
</li>
<li>
<a href="#lot-documentation" data-toggle="tab" aria-expanded="true">
Documentations
@if(isset($documents_count))<span class="badge">{{ $documents_count }}</span>@endif
</a>
</li>
<li>
<a href="#lot-photo" id="lot-photo-tab" data-toggle="tab" aria-expanded="true">
Photos
@if(isset($photos_count))<span class="badge">{{ $photos_count }}</span>@endif
</a>
</li>
<li>
<a href="#lot-option" id="lot-option-tab" data-toggle="tab" aria-expanded="true">
Options
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="lot-renseignement">
@include('Hestimmo.modules.Lot.partials.edit-renseignement')
</div>
<div class="tab-pane" id="lot-documentation">
@include('Hestimmo.modules.Lot.partials.edit-documentation')
</div>
<div class="tab-pane" id="lot-photo">
@include('Hestimmo.modules.Lot.partials.edit-photo')
</div>
<div class="tab-pane" id="lot-option">
@include('Hestimmo.modules.Lot.partials.edit-option')
</div>
</div>
</div>
@push('js')
@include('components.js', ['js' => '/js/laroute.js'])
<script>
$('.editor').summernote({
lang: 'fr-FR',
height: 120,
toolbar: [
// [groupName, [list of button]]
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript']],
['fontsize', ['fontsize']],
['para', ['ul', 'ol', 'paragraph']],
['color', ['color']],
]
});
$('.save').click(function() {
$(this).prop('disabled', true);
$(this).html('en cours...');
$( "#lot-form" ).submit();
return true;
})
</script>
<!-- Include Google Maps JS API -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places&amp;key={{ env('GOOGLE_GEOLOCATION_API_KEY') }}"></script>
<script type="text/javascript" src="/js/geo_autocomplete.js"></script>
@endpush

View File

@@ -0,0 +1,125 @@
@extends('layout.index', [
'title' => __('lots.title'),
'subtitle' => __('lots.demande.title'),
'breadcrumb' => [__('lots.demande.title')]
])
@section('content')
{{ Form::open(['route' => 'Hestimmo.Lots.disponibles', 'id' => 'lot-form', 'autocomplete' => 'off']) }}
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-xs-12 col-md-4">
<div class="form-group">
<select name="type_produit_id" class="form-control">
<option>Type de produits</option>
@foreach($type_produits as $key => $type_produit)
<option value="{{$key}}">{{$type_produit}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<select name="type_lot_id" class="form-control">
<option>Type de lots</option>
@foreach($type_lots as $key => $type_lot)
<option value="{{$key}}">{{$type_lot}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<select name="ville" id="ville" class="form-control" placeholder="Ville"></select>
</div>
<div class="form-group">
<input type="number" style="width: 100%;" id="distance" name="distance" data-provide="slider" data-slider-min="0" data-slider-max="40" data-slider-step="5" >
</div>
<div class="form-group">
Distance : <span id="distanceSliderVal">5</span> km
</div>
</div>
<div class="col-xs-12 col-md-8">
<div class="form-group">
<label class="col-sm-12">Budget</label>
<div class="col-sm-12">
<div class="form-group">
<input type="number" style="width: 100%;" id="budget" name="budget" data-provide="slider" data-slider-min="10000" data-slider-max="1000000" data-slider-step="10000" >
</div>
<div class="small-box bg-aqua">
<div class="inner">
<h3 id="budgetSliderVal">10 000</h3>
<p>Montant +/- 5000 </p>
</div>
<div class="icon">
<i class="fa fa-eur"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row text-center">
<button type="submit" class="btn btn-info">Rechercher</button>
<p></p>
</div>
</div>
</div>
</div>
</form>
@include('Hestimmo.modules.Lot.partials.list-mini')
@endsection
@include('boilerplate::load.datatables')
@include('boilerplate::load.select2')
@push('js')
<script src="/js/bootstrap-slider.min.js"></script>
<script>
$(function () {
var mySlider = $("input.slider").slider();
$("#budget").on("slide", function(slideEvt) {
$("#budgetSliderVal").text(slideEvt.value);
});
$("#distance").on("slide", function(slideEvt) {
$("#distanceSliderVal").text(slideEvt.value);
});
$('#ville').select2({
ajax: {
url: "{{ route('Villes.autocomplete') }}",
data: function (params) {
var query = {
search: params.term
}
// Query parameters will be ?search=[term]&type=public
return query;
}
}
});
});
</script>
@endpush
@push('css')
<link rel="stylesheet" href="/css/bootstrap-slider.min.css">
@endpush

View File

@@ -0,0 +1,36 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<form action="{{ route('Shop.Products') }}" method="GET">
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-6 text-right">
<h2>{{ $prix_total }} </h2>
<h4>{{ $residence['type_produit']['name'] }}</h4>
</div>
<div class="col-md-12">
@include('Hestimmo.modules.Lot.partials.carousel')
</div>
</div>
</div>
</div>
</div>
</form>
@endsection

View File

@@ -0,0 +1,38 @@
<div class="col-lg-4 col-md-6">
<div class="property bg-light-2 m-bottom-30 box-shadow-1 box-shadow-2-hover border-1 border-solid border-light">
<div class="property-media overlay-wrapper">
<img class="img-fluid wow fadeIn" data-wow-offset="100" src="/storage/images/site/{{ $image }}" alt="Lot">
<div class="media-data">
<div class="position-top">
<div class="text-white text-size-24 pull-right">
<a class="text-white text-base-hover" href="#">
<i class="fa fa-heart-o"></i>
</a>
</div>
</div>
<div class="position-bottom">
<div class="badge badge-base text-white pull-left m-right-8 p-top-8 p-right-12 p-bottom-8 p-left-12 rounded-0">{{ $dispositif }}</div>
<div class="text-white text-size-18 pull-right"><i class="fa fa-camera"></i> {{ $nb_photos }}</div>
</div>
</div>
<div class="overlay bg-bg opacity-9"></div>
</div>
<div class="property-section p-left-15 p-right-15">
<div class="m-top-20 m-bottom-20">
<h2 class="text-base text-bold-700 m-top-15 bleu wow heartBeat" data-wow-offset="100">
{{ $prix }}
<small class="text-size-14 text-muted"></small>
</h2>
<h5><a class="text-bold-600 text-dark text-base-hover" href="#">{{ $titre }}</a></h5>
<p>Au sein d'une résidence récente et sécurisée, dans un cadre calme et verdoyant, appartement T3 de 58 situé au 1er étage comprenant</p>
<p><a href="#" class="bleu"><span class="fa fa-2x fa-map-marker"></span></a> <strong>{{ $adresse }} {{ $ville }}</strong></p>
<ul class="icon-list list-inline m-bottom-0">
<li class="list-inline-item"><span class="bleu fa fa-map-o"></span> {{ $nb_chambres+2 }} pièces</li>
<li class="list-inline-item"><span class="bleu fa fa-bed"></span> {{ $nb_chambres }} chambres</li>
<li class="list-inline-item"><span class="bleu fa fa-expand"></span> <strong>{{ $surface }} </strong></li>
</ul>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,110 @@
<section style="padding-top: 20px;">
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
<div class="container-fluid position-absolute" style="z-index: 5; padding-top: 40px;">
<div class="row justify-content-md-center">
<div class="col-sm-8">
<div class="widget padding-lg bg-dark">
<h1 class="text-center text-light wow rubberBand">Recherchez un lot</h1>
<form action="{{ route('Hestimmo.Lots.disponibles') }}" method="GET" class="form-inline">
<div class="row">
<div class="col-md-3">
<label for="">Type de logement</label>
<select name="type_lot_id" class="form-control">
<option>Type de lots</option>
@foreach($type_lots as $key => $type_lot)
<option value="{{$key}}">{{$type_lot}}</option>
@endforeach
</select>
</div>
<div class="col-md-3">
<label for="">Ville</label>
<select name="ville" id="ville" class="form-control" placeholder="Ville"></select>
<div class="form-group">
<input type="number" style="width: 100%;" id="distance" name="distance" data-provide="slider" data-slider-min="0" data-slider-max="40" data-slider-step="5" >
</div>
<div class="form-group">
Distance : <span id="distanceSliderVal">5</span> km
</div>
</div>
<div class="col-md-3 text-center">
<label class="col-sm-12">Budget</label>
<div class="form-group">
<input type="number" style="width: 100%;" id="budget" name="budget" data-provide="slider" data-slider-min="50000" data-slider-max="600000" data-slider-step="10000" >
</div>
<h3><span id="budgetSliderVal">50 000,00 </span></h3>
<div class="w-100">+/- 5000 </div>
</div>
<div class="col-md-2">
<label for=""></label>
<button class="btn btn-primary btn-block">Rechercher</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="/storage/images/site/slide01.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="/storage/images/site/slide02.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="/storage/images/site/slide03.jpg" class="d-block w-100" alt="...">
</div>
</div>
</div>
</section>
@include('boilerplate::load.select2')
@push('js')
<script src="/js/bootstrap-slider.min.js"></script>
<script>
$(function () {
var mySlider = $("input.slider").slider();
$("#budget").on("slide", function(slideEvt) {
value = new Intl.NumberFormat('fr-FR', { style: 'currency', currency: 'EUR' }).format(slideEvt.value);
$("#budgetSliderVal").text(value);
});
$("#distance").on("slide", function(slideEvt) {
$("#distanceSliderVal").text(slideEvt.value);
});
$('#ville').select2({
ajax: {
url: "{{ route('Villes.autocomplete') }}",
data: function (params) {
var query = {
search: params.term
}
// Query parameters will be ?search=[term]
return query;
}
}
});
var wew = new Wew({
target: '.wow',
keyword: 'wow',
});
wew.init();
});
</script>
@endpush
@push('css')
<link rel="stylesheet" href="/css/bootstrap-slider.min.css">
@endpush

View File

@@ -0,0 +1,22 @@
@extends('boilerplate::layout.index', [
'title' => __('Shop.sections.title'),
'subtitle' => __('Shop.sections.add'),
'breadcrumb' => [__('Shop.sections.title'), __('Shop.sections.add')]
])
@include('boilerplate::load.fileinput')
@section('content')
{{ Form::open(['route' => 'Shop.Admin.Sections.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
<div class="row">
<div class="col-12 text-right">
@include('components.button-save')
</div>
</div>
@include('Shop.Admin.Sections.form')
</form>
@endsection

View File

@@ -0,0 +1,39 @@
@extends('layout.index', [
'title' => 'Lots',
'subtitle' => 'Edition d\'un lot',
'breadcrumb' => ['Lots']
])
@include('boilerplate::load.icheck')
@include('boilerplate::load.fileinput')
@prepend('js')
@include('components.js', ['js' => '/js/main.min.js'])
@endprepend
@push('css')
@include('components.css', ['css' => '/css/main.min.css'])
@endpush
@section('content')
{{ Form::open(['route' => 'Hestimmo.Lots.update', 'id' => 'lot-form', 'autocomplete' => 'off', 'files' => true]) }}
<div class="row">
<div class="col-sm-12 mbl">
<a href="{{ route("Hestimmo.Lots.index") }}" class="btn btn-default">
{{ __('lots.list.title') }}
</a>
<span class="btn-group pull-right">
@include('components.button-save')
</span>
</div>
</div>
<input type="hidden" name="id" value="{{ $id }}">
@include('Hestimmo.modules.Lot.lot_form')
</form>
@endsection

View File

@@ -0,0 +1,38 @@
<div class="row">
<div class="col-md-8">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => (isset($section['name'])) ? $section['name'] : null, 'required' => true])
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'id_name' => 'description', 'value' => (isset($section['description'])) ? $section['description'] : null, 'required' => true])
{{ Form::label('description', 'Rubrique parente') }}
</div>
<div class="col-md-4">
<div class="row">
<div class="col-md-12 row-new-lot-photo row-lot-photo mt-3">
<!--
<p>
<button type="button" class="btn btn-danger delete-new-lot-photo-btn"><i class="fa fa-minus-circle"></i></button>
Photo <span class="row-photo-number"></span>
</p>
-->
<input name="lot_photos[][file]" type="file" class="file" data-show-upload="false" data-show-caption="true" data-msg-placeholder="Choisissez une photo">
</div>
</div>
</div>
@include('boilerplate::load.tinymce')
@push('js')
<script>
$(function() {
$('#description').tinymce({});
})
</script>
@endpush

View File

@@ -0,0 +1,46 @@
@extends('boilerplate::layout.index', [
'title' => __('Shop.sections.title'),
'breadcrumb' => [__('Shop.sections.title')]
])
@section('content')
<div class="box">
<div class="box-body">
<table class="table table-striped table-hover va-middle" id="section-table">
<thead>
<tr>
<th>
<input type="text" class="form-control-sm" style="max-width: 100px;">
</th>
<th>
</th>
<th class="text-right">
<a href="{{ route('Shop.Admin.Sections.create') }}" class="btn btn-sm btn-success">{{ __('Shop.sections.add') }} <i class="fa fa-plus"></i></a>
</th>
</tr>
<tr>
<th>Nom</th>
<th>Nb produits</th>
<th></th>
</tr>
</thead>
</table>
</div>
</div>
@endsection
@prepend('js')
@include('components.js.ie11')
@include('components.js', ['js' => '/js/laroute.js'])
@include('components.js', ['js' => '/js/main.min.js'])
@include('components.js', ['js' => '/js/datatables.min.js'])
@endprepend
@push('js')
@include('components.js', ['js' => '/js/section_index.min.js'])
@endpush
@push('css')
@include('components.css', ['css' => '/css/main.min.css'])
@include('components.css', ['css' => '/css/datatables.min.css'])
@endpush

View File

@@ -0,0 +1,35 @@
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="/storage/images/residences/139.jpg" alt="..." class="img-responsive">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="/storage/images/residences/134.jpg" alt="..." class="img-responsive">
<div class="carousel-caption">
...
</div>
</div>
...
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Précédent</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Suivant</span>
</a>
</div>

View File

@@ -0,0 +1,178 @@
<div class="row" style="display: flex;">
<div class="col-xs-12 col-md-6 text-center">
@include('components.carousel', ['id_name' => 'detail_lot', 'with_modal' => true, 'id' => $id ])
</div>
<div class="col-xs-12 col-md-6">
<div class="text-right">
{{ __('lots.reference') }} : {{ $ref }}
</div>
<h3 style="margin-top: 10px;">{{ $type_lot['nom'] }} - {{ $residence['nom'] }}</h3>
<span class="badge">
Dispositif {{ $dispositifs[0]['type_dispositif']['nom'] }}
</span>
<br/><br/>
{{ $batiment['adresse'] }} {{ $batiment['code_postal'] }} {{ $batiment['ville'] }}<br/>
{{ $batiment['complement_adresse'] }} - {{ $etage }}<br/><br/>
<div class="m-bottom-15">
Surface : {{ $surface }} m2<br/>
@if ($surface_balcon) Balcon/Terrasse : {{ $surface_balcon }} m2 <br/>@endif
@if ($surface_cave) Cave : {{ $surface_cave }} m2 <br/>@endif
@if ($surface_grenier) Grenier : {{ $surface_grenier }} m2 <br/>@endif
@if ($surface_soussol) Sous-sol : {{ $surface_soussol }} m2 <br/>@endif
@if ($surface_terrain) Terrain : {{ $surface_terrain }} m2 <br/>@endif
</div>
<div class="text-right">
<h2><strong>{{ App\Repositories\Core\Number::price($prix_total) }} &euro;</strong></h2>
</div>
<div class="text-right">
<button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
<button type="button" data-id="{{ $id }}" data-toggle='modal' data-target='#lot-option' class="btn btn-success btn btn-lot-option" >
<i class='fa fa-check-square-o fa-fw'></i>
Optionner
</button>
</div>
</div>
</div>
<div class="row" style="margin-top: 20px;">
<div class="col-md-12">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<i class="fa fa-arrow-circle-right"></i> Détails des prix
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<div class="table-responsive">
<table class="table table-bordered table-condensed">
<thead class="thead-bgcolor">
<tr>
<th>Prix acquisition</th>
<th>Montant travaux</th>
<th>Prix total</th>
<th>Prix cave</th>
<th>Prix stationnement</th>
<th>Package</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_achat) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_travaux) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_total) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_cave) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($prix_stationnement) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($package) }}</td>
</tr>
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="table table-bordered table-condensed" style="width: 100%;">
<thead class="thead-bgcolor">
<tr>
<th>Honoraires Agence</th>
<th>Frais notaire</th>
<th>Frais bancaire</th>
<th>Courtage bancaire</th>
<th>Interêts intercalaires</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-right">{{ App\Repositories\Core\Number::price($honoraires_agence) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($frais_notaire) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($frais_bancaire) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($courtage_bancaire) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($interets_intercalaires) }}</td>
</tr>
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="table table-bordered table-condensed" style="width: 100%;">
<thead class="thead-bgcolor">
<tr>
<th>Garantie revente</th>
<th>Loyer logement</th>
<th>Loyer stationnement</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-right">{{ App\Repositories\Core\Number::price($garantie_revente) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($loyer_logement) }}</td>
<td class="text-right">{{ App\Repositories\Core\Number::price($loyer_stationnement) }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<i class="fa fa-arrow-circle-right"></i> Liste des documents disponibles
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
<div class="table-responsive">
<table class="table table-bordered table-condensed" style="width: 100%;">
<thead class="thead-bgcolor">
<th>Type</th>
<th>Titre</th>
<th>Format</th>
<th>Poids</th>
<th></th>
</thead>
<tbody>
@foreach($documents as $document)
<tr>
<td>{{ $document['type_document']['nom'] }}</td>
<td>{{ $document['title'] }}</td>
<td>{{ $document['filetype'] }}</td>
<td class="text-right">{{ Coduo\PHPHumanizer\NumberHumanizer::binarySuffix($document['filesize']) }}</td>
<td><a class='btn btn-xs btn-primary' href="{{ route('Hestimmo.LotDocuments.download', $document['id']) }}"><i class='fa fa-eye fa-fw'></i></a></i></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
handle_option();
$('.btn-lot-option').on('click', function(e) {
var id = $(this).data('id');
$('#modal-option-content').load(laroute.route('Hestimmo.Options.getOptionOnLot', {lot_id : id}));
});
</script>

View File

@@ -0,0 +1,28 @@
@if (isset($documents))
@include('Hestimmo.modules.LotDocument.partials.list-documents')
@endif
@include('Hestimmo.modules.LotDocument.partials.block_document_new')
<div id="append_lot_document" class="row m-top-8"> </div>
<button type="button" class="btn btn-primary add-new-lot-document m-top-8">Ajouter un document <i class="fa fa-plus"></i></button>
@push('js')
<script>
function append_lot_document() {
$("#append_lot_document .file").fileinput();
}
$("#append_lot_document").appender({
rowSection: '.row-new-lot-document',
type: '.row-lot-document',
addBtn: '.add-new-lot-document',
appendEffect: 'slide',
addClass: 'animated bounceInLeft',
rowNumber: '.row-lot-document-number',
deleteBtn: '.delete-new-lot-document-btn',
callback: append_lot_document,
hideSection: true
});
</script>
@endpush

View File

@@ -0,0 +1,46 @@
<div class="row">
<div class="col-md-6">
<label>Réserver ce lot</label>
@include('components.checkbox', ['name' => 'reserve', 'id' => 'reserve', 'class' => 'icheck', 'val' => 1, 'value' => (isset($reserve)) ? $reserve : null])
<br/>
<div id="partenaires" @if (!isset($reserve) || !$reserve) style="display: none;" @endif>
@foreach($partenaires as $key => $item)
@include('components.checkbox', ['name' => 'partenaires[]', 'class' => 'icheck', 'val' => $key, 'value' => in_array($key, $lot_partenaires)])
<label>{{ $item }}</label>
<br/>
@endforeach
</div>
</div>
<div class="col-md-6">
<label>Promouvoir ce lot</label>
@include('components.checkbox', ['name' => 'promo', 'class' => 'icheck', 'val' => 1, 'value' => (isset($promo)) ? $promo : null])
</div>
</div>
@push('js')
<script>
$(function () {
$(document).ready(function() {
$('#reserve').on('ifChecked', function(event) {
$('#partenaires').show();
});
$('#reserve').on('ifUnchecked', function(event) {
$('#partenaires').hide();
@if (isset($id))
$.ajax({
type: "POST",
url: "{!! route('Hestimmo.LotPartenaires.resetReserve') !!}",
data: {
id: {{ $id }},
},
});
@endif
});
});
});
</script>
@endpush

View File

@@ -0,0 +1,28 @@
@if (isset($photos))
@include('Hestimmo.modules.LotPhoto.partials.list-photos')
@endif
@include('Hestimmo.modules.LotPhoto.partials.block_photo_new')
<div id="append_lot_photo" class="row m-top-8"> </div>
<button type="button" class="btn btn-primary add-new-lot-photo m-top-8">Ajouter une photo <i class="fa fa-plus"></i></button>
@push('js')
<script>
function append_lot_photo() {
$("#append_lot_photo .file").fileinput();
}
$("#append_lot_photo").appender({
rowSection: '.row-new-lot-photo',
type: '.row-lot-photo',
addBtn: '.add-new-lot-photo',
appendEffect: 'slide',
addClass: 'animated bounceInLeft',
rowNumber: '.row-lot-photo-number',
deleteBtn: '.delete-new-lot-photo-btn',
callback: append_lot_photo,
hideSection: true
});
</script>
@endpush

View File

@@ -0,0 +1,269 @@
<div class="row">
<div class="col-md-6 col-lg-3">
{{ Form::label('ref', 'Numéro de lot') }}
@include('components.input', ['name' => 'ref', 'value' => (isset($ref)) ? $ref : null])
</div>
<div class="col-md-6 col-lg-3">
<div class="form-group {{ $errors->has('type_dispositifs') ? 'has-error' : '' }}">
{{ Form::label('type_dispositifs', 'Type de dispositifs') }}
@include('components.select', ['name' => 'type_dispositif_id', 'list' => $type_dispositifs, 'value' => (isset($type_dispositif_id)) ? $type_dispositif_id : null])
</div>
</div>
<div class="col-md-4 col-lg-2">
<div class="form-group {{ $errors->has('type_lots') ? 'has-error' : '' }}">
{{ Form::label('type_lots', 'Type de lot') }}
@include('components.select', ['name' => 'type_lot_id', 'list' => $type_lots, 'value' => (isset($type_lot_id)) ? $type_lot_id : null ])
</div>
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('nb_etages', 'Agencement') }}
@include('components.select', ['name' => 'nb_etages', 'list' => [1 => 'Aucun étage', 2 => 'Duplex', 3=> 'Triplex'], 'value' => (isset($nb_etages)) ? $nb_etages : 1])
</div>
<div class="col-md-4 col-lg-2">
<div class="form-group {{ $errors->has('statut') ? 'has-error' : '' }}">
{{ Form::label('statut_id', 'Statut') }}
@include('components.select', ['name' => 'statut_id', 'list' => $type_lot_statuts, 'value' => (isset($statut_id)) ? $statut_id : 3])
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-lg-6">
{{ Form::label('description', 'Description') }}
<textarea name="description" class="form-control editor">@if (isset($description)){{ $description }}@endif</textarea>
</div>
<div class="col-md-12 col-lg-6">
<div class="row">
<div class="col-md-12 col-lg-6">
<div class="form-group {{ $errors->has('residence_id') ? 'has-error' : '' }}">
{{ Form::label('residence_id', 'Résidence') }}
@include('components.select', ['name' => 'residence_id', 'id_name' => 'residence_id', 'list' => $residences, 'value' => (isset($residence_id)) ? $residence_id : null])
</div>
</div>
<div class="col-md-12 col-lg-4">
<div class="form-group {{ $errors->has('batiment_id') ? 'has-error' : '' }}">
{{ Form::label('residence_batiment_id', 'Batiment') }}
@include('components.select', ['name' => 'residence_batiment_id', 'id_name' => 'residence_batiment_id', 'list' => (isset($batiments)) ? $batiments : null, 'value' => (isset($residence_batiment_id)) ? $residence_batiment_id : null])
</div>
</div>
<div class="col-md-6 col-lg-2">
{{ Form::label('position_etage', 'Etage') }}
@include('components.select', ['name' => 'position_etage', 'id_name' => 'position_etage', 'list' => (isset($etages)) ? $etages : null, 'value' => (isset($position_etage)) ? $position_etage : null])
</div>
</div>
<div class="row">
<div class="col-lg-6">
{{ Form::label('adresse', 'Adresse') }}
@include('components.input', ['name' => 'adresse', 'value' => (isset($adresse)) ? $adresse : null])
</div>
<div class="col-lg-6">
{{ Form::label('complement_adresse', 'Complément d\'adresse') }}
@include('components.input', ['name' => 'complement_adresse', 'value' => (isset($complement_adresse)) ? $complement_adresse : null])
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4">
{{ Form::label('code_postal', 'Code postal') }}
@include('components.input', ['name' => 'code_postal', 'value' => (isset($code_postal)) ? $code_postal : null])
</div>
<div class="col-md-8">
{{ Form::label('ville', 'Ville') }}
@include('components.city', ['name' => 'ville', 'list' => (isset($ville)) ? [$ville_id => $ville] : [], 'value' => (isset($ville_id)) ? $ville_id : null])
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-4 col-lg-2">
{{ Form::label('surface', 'Surface') }}
@include('components.input', ['name' => 'surface', 'value' => (isset($surface)) ? $surface : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_terrain', 'Terrain') }}
@include('components.input', ['name' => 'surface_terrain', 'value' => (isset($surface_terrain)) ? $surface_terrain : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_balcon', 'Balcon / Terrasse') }}
@include('components.input', ['name' => 'surface_balcon', 'value' => (isset($surface_balcon)) ? $surface_balcon : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_cave', 'Cave') }}
@include('components.input', ['name' => 'surface_cave', 'value' => (isset($surface_cave)) ? $surface_cave : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_soussol', 'Sous-sol') }}
@include('components.input', ['name' => 'surface_soussol', 'value' => (isset($surface_soussol)) ? $surface_soussol : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('surface_grenier', 'Grenier') }}
@include('components.input', ['name' => 'surface_grenier', 'value' => (isset($surface_grenier)) ? $surface_grenier : null])
</div>
</div>
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_achat', 'Prix acquisition') }}
@include('components.money', ['name' => 'prix_achat', 'value' => (isset($prix_achat)) ? $prix_achat : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_travaux', 'Montant travaux') }}
@include('components.money', ['name' => 'prix_travaux', 'value' => (isset($prix_travaux)) ? $prix_travaux : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_total', 'Prix total') }}
@include('components.money', ['name' => 'prix_total', 'value' => (isset($prix_total)) ? $prix_total : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_cave', 'Prix cave') }}
@include('components.money', ['name' => 'prix_cave', 'value' => (isset($prix_cave)) ? $prix_cave : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('prix_stationnement', 'Prix stationnement') }}
@include('components.money', ['name' => 'prix_stationnement', 'value' => (isset($prix_stationnement)) ? $prix_stationnement : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('package', 'Package') }}
@include('components.money', ['name' => 'package', 'value' => (isset($package)) ? $package : null])
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4 col-lg-2">
{{ Form::label('honoraires_agence', 'Honoraires Agence') }}
@include('components.money', ['name' => 'honoraires_agence', 'value' => (isset($honoraires_agence)) ? $honoraires_agence : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('frais_notaire', 'Frais notaire') }}
@include('components.money', ['name' => 'frais_notaire', 'value' => (isset($frais_notaire)) ? $frais_notaire : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('frais_bancaire', 'Garantie bancaire') }}
@include('components.money', ['name' => 'frais_bancaire', 'value' => (isset($frais_bancaire)) ? $frais_bancaire : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('courtage_bancaire', 'Courtage bancaire') }}
@include('components.money', ['name' => 'courtage_bancaire', 'value' => (isset($courtage_bancaire)) ? $courtage_bancaire : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('interets_intercalaires', 'Interets intercalaires') }}
@include('components.money', ['name' => 'interets_intercalaires', 'value' => (isset($interets_intercalaires)) ? $interets_intercalaires : null])
</div>
</div>
<div class="row m-top-8">
<div class="col-md-4 col-lg-2">
{{ Form::label('garantie_revente', 'Garantie revente') }}
@include('components.money', ['name' => 'garantie_revente', 'value' => (isset($garantie_revente)) ? $garantie_revente : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('loyer_logement', 'Loyer logement') }}
@include('components.money', ['name' => 'loyer_logement', 'value' => (isset($loyer_logement)) ? $loyer_logement : null])
</div>
<div class="col-md-4 col-lg-2">
{{ Form::label('loyer_stationnement', 'Loyer stationnement') }}
@include('components.money', ['name' => 'loyer_stationnement', 'value' => (isset($loyer_stationnement)) ? $loyer_stationnement : null])
</div>
</div>
@push('js')
<script>
function setByResidence(id) {
$.ajax({
url : laroute.route("Hestimmo.ResidenceBatiments.getByResidence"),
data : {
"_token": "{{ csrf_token() }}",
"id": id
},
method : 'POST',
success : function(resp){
if (resp.success) {
setOptions('#residence_batiment_id',resp.batiments);
var batiment_id = $('#residence_batiment_id').val();
setNbEtages(batiment_id);
}
}
});
}
function setNbEtages(id) {
$.ajax({
url : id ? laroute.route("Hestimmo.ResidenceBatiments.getNbEtages") : laroute.route("Hestimmo.Lots.getNbEtages"),
data : {
"_token": "{{ csrf_token() }}",
"id": id
},
method : 'POST',
success : function(resp){
if (resp.success) {
setOptions('#position_etage',resp.etages);
}
}
});
}
function setAdresse(id) {
$.ajax({
url : laroute.route("Hestimmo.ResidenceBatiments.getAdresse"),
data : {
"_token": "{{ csrf_token() }}",
"id": id
},
method : 'POST',
success : function(resp){
if (resp.success) {
$('#adresse').val(resp.adresse);
$('#complement_adresse').val(resp.complement_adresse);
$('#code_postal').val(resp.code_postal);
$('#ville').val(resp.ville);
$('#ville_id').val(resp.ville_id);
}
}
});
}
$('#residence_id').change(function() {
var id = $('#residence_id').val();
setByResidence(id);
});
$('#residence_batiment_id').change(function() {
var id = $('#residence_batiment_id').val();
setNbEtages(id);
setAdresse(id);
});
var residence_id = $('#residence_id').val();
if (residence_id) {
setByResidence(residence_id);
}
</script>
@endpush

View File

@@ -0,0 +1,92 @@
<table class="table table-striped table-hover va-middle" id="lots-table">
<thead>
<tr>
<th>Numéro</th>
<th>Type</th>
<th>Surface</th>
<th>Prix total</th>
<th>Package</th>
<th>Dont F. Notaire</th>
<th>Loyer logement</th>
<th style="min-width: 82px; max-width: 82px;"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
@push('js')
<script>
$(function () {
var table = $('#lots-table').DataTable({
processing: true,
serverSide: true,
ajax: {
"url": '{!! route('Hestimmo.Lots.getTables') !!}',
type: "POST",
data: {
'residence_id': $('#id').val(),
},
},
sDom: "<'row dt-toolbar-header'<'col-md-4 tool'B><'col-md-4'<'toolbar'>><'col-md-4 text-right add'>r>"+
"t"+
"<'row dt-toolbar-footer'<'col-md-6'i><'col-md-6'p>>",
columns: [
{ data: 'ref', name: 'ref' },
{ data: 'type_lot.nom', name: 'type_lot.nom' },
{ data: 'surface', name: 'surface' },
{ data: 'prix_total', name: 'prix_total' },
{ data: 'package', name: 'package' },
{ data: 'frais_notaire', name: 'frais_notaire' },
{ data: 'loyer_logement', name: 'loyer_logement' },
{
data: "id",
name: "action",
orderable: false,
searchable: false,
render: function (data, type, row) {
tpl = " <a data-id=" + data + " class='btn btn-xs btn-primary' href='"+ laroute.route('Hestimmo.Lots.edit', { id : data}) +"'><i class='fa fa-edit fa-fw'></i></a>";
tpl += " <a data-id=" + data + " class='btn btn-xs btn-danger btn-lot-delete destroy' href='#''><i class='fa fa-times fa-fw'></i></a>";
return tpl;
}
},
]
});
table.on( 'draw', function () {
tpl = '<a href="#" id="btn-lot-add" class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> &nbsp;&nbsp;Création d\'un lot</a>';
$('div.col-md-4.text-right.add').html(tpl);
var residence_id = $('#id').val();
$('#btn-lot-add').click(function() {
if (residence_id) {
url = laroute.route('Hestimmo.Lots.create', { residence_id : residence_id });
window.location = url;
};
});
});
$('#lots-table').on('click', '.destroy', function (e) {
e.preventDefault();
var href = $(this).attr('href');
var line = $(this).closest('tr');
bootbox.confirm("{{ __('boilerplate::role.list.confirmdelete') }}", function (result) {
if (result === false) return;
$.ajax({
url: href,
method: 'delete',
headers: {'X-CSRF-TOKEN': '{{ csrf_token() }}'},
success: function(){
line.remove();
growl("{{ __('boilerplate::role.list.deletesuccess') }}", 'success');
}
});
});
});
});
</script>
@endpush

View File

@@ -0,0 +1,73 @@
<div class="col-lg-4 col-md-4">
<div class="property bg-light-2 m-bottom-30 box-shadow-1 box-shadow-2-hover border-1 border-solid border-light">
<div class="property-media overlay-wrapper">
@if (isset($lot['residence']['photos'][0]))
<img class="img-responsive wow fadeIn" data-wow-offset="100" src="{{ \App\Repositories\Hestimmo\ResidencePhotos::getPhotoSrc($lot['residence']['photos'][0]) }}" alt="Lot">
@else
<img src="/img/photo_notfound.jpg" class="img-responsive img-rounded">
@endif
<div class="media-data">
<div class="position-top">
<div class="text-white text-size-24 pull-right">
<!--
<a class="text-white text-base-hover" href="#">
<i class="fa fa-heart-o"></i>
</a>
-->
</div>
</div>
<div class="position-bottom">
<div class="badge badge-base text-white pull-left m-right-8 p-top-8 p-right-12 p-bottom-8 p-left-12 rounded-0">
@if (isset($lot['dispositifs'][0]))
{{ $lot['dispositifs'][0]['type_dispositif']['nom'] }}
@endif
</div>
<div class="text-white text-size-18 pull-right">
<i class="fa fa-camera"></i>
{{ $lot['photos_count'] }}
</div>
</div>
</div>
<div class="overlay bg-bg opacity-9"></div>
</div>
<div class="property-section p-left-15 p-right-15">
<div class="m-top-20">
<div class="row">
<div class="col-xs-6">
<h2>
{{ $lot['type_lot']['nom'] }}
</h2>
</div>
<div class="col-xs-6">
<h2 class="text-base text-bold-700 bleu wow heartBeat" data-wow-offset="100">
{{ App\Repositories\Core\Number::price($lot['prix_total']) }}
</h2>
</div>
</div>
@if (!empty($lot['description']))
{!! $lot['description'] !!}
@else
{!! $lot['residence']['description'] !!}
@endif
<p>
<a href="#" class="bleu">
<span class="fa fa-2x fa-map-marker"></span>
</a>
<strong>{{ $lot['batiment']['adresse'] }} {{ $lot['batiment']['code_postal'] }} {{ $lot['batiment']['ville'] }}</strong>
</p>
<ul class="icon-list list-inline m-bottom-0">
<li class="list-inline-item"><span class="bleu fa fa-map-o"></span> {{ $lot['type_lot']['nb_pieces'] }} pièces</li>
<li class="list-inline-item"><span class="bleu fa fa-bed"></span> {{ $lot['type_lot']['nb_chambres'] }} @if ($lot['type_lot']['nb_chambres'] > 1) chambres @else chambre @endif</li>
<li class="list-inline-item"><span class="bleu fa fa-expand"></span> <strong>{{ $lot['surface'] }} </strong></li>
</ul>
</div>
</div>
<div class="text-right">
<button type="button" data-id="{{ $lot['id'] }}" data-toggle='modal' data-target='#lot-detail' class="btn btn-primary btn-sm btn-lot-detail" style="margin: 10px 10px 10px 0;">
<i class="fa fa-eye"></i> Voir le détail
</button>
</div>
</div>
</div>

View File

@@ -0,0 +1,12 @@
<div class="modal fade" id="lot-detail" tabindex="-1" role="dialog" aria-labelledby="lot-detail">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">Détail du lot</h4>
</div>
<div class="modal-body" id="modal-detail-content">
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<div class="modal fade" id="modal-edit-document" tabindex="-1" role="dialog" aria-labelledby="lot-option">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">Modifier un document</h4>
</div>
<div class="modal-body" id="modal-document-content">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
<button type="button" class="btn btn-primary">Enregistrer</button>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,43 @@
{{ Form::open(['route' => 'Hestimmo.Options.store', 'id' => 'option-form', 'autocomplete' => 'off']) }}
<div class="modal-box">
<div class="modal fade" id="lot-option" tabindex="-1" role="dialog" aria-labelledby="lot-option">
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="modal-body">
<div class="icon">
<i class="fa fa-check"></i>
</div>
<h4 class="title">- Option -</h4>
<div id="modal-option-content">
</div>
</div>
</div>
</div>
</div>
</div>
</form>
@push('js')
<script>
function handle_option() {
$('.save-option').off('click').click(function() {
$('.save-option').attr("disabled", true);
var data = $("#option-form").serialize();
$.ajax({
type:'POST',
url: "{!! route('Hestimmo.Options.store') !!}",
data: data,
success:function(data) {
growl("{{ __('options.successadd') }}", 'success');
$('#lot-option').modal('hide');
$('#lot-detail').modal('hide');
window.location = laroute.route("Hestimmo.Lots.disponibles");
}
}).fail(function() {
alert( "Erreur lors de l'envoi du formulaire." );
});
});
}
</script>
@endpush

View File

@@ -0,0 +1,95 @@
<div class="box">
<div class="box-body">
<div class="col-xs-12 col-md-4">
<div class="form-group">
<select name="type_dispositif_id" class="form-control">
<option>Dispositif</option>
@foreach($type_dispositifs as $key => $type_dispositif)
<option value="{{$key}}">{{$type_dispositif}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<select name="type_lot_id" class="form-control">
<option>Type de lots</option>
@foreach($type_lots as $key => $type_lot)
<option value="{{$key}}">{{$type_lot}}</option>
@endforeach
</select>
</div>
<div class="form-group">
@include('components.city', ['name' => 'ville'])
</div>
<div class="form-group">
<input type="number" class="w-100" id="distance" name="distance" data-provide="slider" data-slider-min="0" data-slider-max="40" data-slider-step="5">
</div>
<div class="form-group">
Distance : <span id="distanceSliderVal">5</span> km
</div>
</div>
<div class="col-xs-12 col-md-8">
<div class="form-group">
<label class="col-sm-12">Budget</label>
<div class="col-sm-12">
<div class="form-group">
<input type="number" style="width: 100%;" id="budget" name="budget" data-provide="slider" data-slider-min="{{ $min }}" data-slider-max="{{ $max }}" data-slider-step="10000" data-slider-value="[{{ $min }},{{ $max }}]">
</div>
<div class="small-box bg-red">
<div class="inner">
<h3 id="budgetSliderVal">{{ App\Repositories\Core\Number::price($min) }} - {{ App\Repositories\Core\Number::price($max) }}</h3>
<p>Montant +/- 10 000 </p>
</div>
<div class="icon">
<i class="fa fa-eur"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row text-center">
<button type="submit" class="btn btn-info">Rechercher</button>
<p></p>
</div>
</div>
@push('js')
<script>
$(function() {
/*
$("input.slider").slider({
tooltip: 'always',
formatter: function(value) {
console.log(value);
return value.toString().replace(',',' - ');
}
});
*/
$("#budget").on("slide", function(slideEvt) {
var min = numeral(slideEvt.value[0]).format('0,0');
var max = numeral(slideEvt.value[1]).format('0,0');
var txt = min + ' - ' + max;
$("#budgetSliderVal").text(txt);
});
$("#distance").on("slide", function(slideEvt) {
$("#distanceSliderVal").text(slideEvt.value);
});
});
</script>
@endpush

View File

@@ -0,0 +1,36 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<form action="{{ route('Shop.Products') }}" method="GET">
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-6 text-right">
<h2>{{ $prix_total }} </h2>
<h4>{{ $residence['type_produit']['name'] }}</h4>
</div>
<div class="col-md-12">
@include('Hestimmo.modules.Lot.partials.carousel')
</div>
</div>
</div>
</div>
</div>
</form>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Shop.species.title'),
'subtitle' => __('Shop.species.add'),
'breadcrumb' => [__('Shop.species.title'), __('Shop.species.add')]
])
@include('boilerplate::load.fileinput')
@section('content')
{{ Form::open(['route' => 'Shop.Admin.species.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
@include('Shop.Admin.species.form')
</form>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Shop.species.title'),
'subtitle' => __('Shop.species.edit'),
'breadcrumb' => ['Familles']
])
@section('content')
{{ Form::open(['route' => 'Shop.Admin.Species.store', 'id' => 'form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $specie['id'] }}">
@include('Shop.Admin.Species.form')
</form>
@endsection

View File

@@ -0,0 +1,28 @@
<div class="row">
<div class="col-md-8">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => isset($name) ? $name : null, 'required' => true])
{{ Form::label('alias', 'Alias') }}
@include('components.input', ['name' => 'alias', 'value' => isset($alias) ? $alias : null, 'required' => true])
{{ Form::label('latin', 'Nom latin') }}
@include('components.input', ['name' => 'latin', 'value' => isset($latin) ? $latin : null, 'required' => true])
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'value' => isset($description) ? $description : null, 'class' => 'editor', 'required' => false])
{{ Form::label('genre', 'Genre') }}
@include('components.select', ['name' => 'genre_id', 'list' => $genres, 'value' => isset($genre_id) ? $genre_id : null, 'required' => false])
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="float-right mt-3">
@include('components.button-save')
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
@extends('layout.index', [
'title' => __('Shop.species.title'),
'subtitle' => __('Shop.species.list'),
'breadcrumb' => [__('Shop.species.title')]
])
@section('content')
<div class="row pb-3">
<div class="col text-right">
<a href="{{ route('Shop.Admin.Species.create') }}" class="btn btn-sm btn-success">{{ __('Shop.species.add') }} <i class="fa fa-plus"></i></a>
</div>
</div>
{{$dataTable->table()}}
@endsection
@push('scripts')
@include('components.js.datatable', ['route' => '/Shop/Admin/Species', 'model' => 'species'])
@endpush

View File

@@ -0,0 +1,30 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-12">
@include('components.carousel')
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Shop.varieties.title'),
'subtitle' => __('Shop.varieties.add'),
'breadcrumb' => [__('Shop.varieties.title'), __('Shop.varieties.add')]
])
@include('boilerplate::load.fileinput')
@section('content')
{{ Form::open(['route' => 'Shop.Admin.Varieties.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
@include('Shop.Admin.Varieties.form')
</form>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Shop.varieties.title'),
'subtitle' => __('Shop.varieties.edit'),
'breadcrumb' => ['Familles']
])
@section('content')
{{ Form::open(['route' => 'Shop.Admin.Varieties.store', 'id' => 'form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $specie['id'] }}">
@include('Shop.Admin.Varieties.form')
</form>
@endsection

View File

@@ -0,0 +1,28 @@
<div class="row">
<div class="col-md-8">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => isset($name) ? $name : null, 'required' => true])
{{ Form::label('alias', 'Alias') }}
@include('components.input', ['name' => 'alias', 'value' => isset($alias) ? $alias : null, 'required' => true])
{{ Form::label('latin', 'Nom latin') }}
@include('components.input', ['name' => 'latin', 'value' => isset($latin) ? $latin : null, 'required' => true])
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'value' => isset($description) ? $description : null, 'class' => 'editor', 'required' => false])
{{ Form::label('genre', 'Genre') }}
@include('components.select', ['name' => 'genre_id', 'list' => $genres, 'value' => isset($genre_id) ? $genre_id : null, 'required' => false])
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="float-right mt-3">
@include('components.button-save')
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
@extends('layout.index', [
'title' => __('Shop.varieties.title'),
'subtitle' => __('Shop.varieties.list'),
'breadcrumb' => [__('Shop.varieties.title')]
])
@section('content')
<div class="row pb-3">
<div class="col text-right">
<a href="{{ route('Shop.Admin.Varieties.create') }}" class="btn btn-sm btn-success">{{ __('Shop.varieties.add') }} <i class="fa fa-plus"></i></a>
</div>
</div>
{{$dataTable->table()}}
@endsection
@push('scripts')
@include('components.js.datatable', ['route' => '/Shop/Admin/Varieties', 'model' => 'varieties'])
@endpush

View File

@@ -0,0 +1,30 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-12">
@include('components.carousel')
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,29 @@
<div id="ishibannerblock" class="clearfix">
<div class="bannerleft banner-inner col-md-4 col-sm-12">
<div class="bannerblock1 bannerblock">
<div class="image-container">
<a class="ishi-customhover-fadeoutcorner" href="#">
<img src="modules/ishibannerblock/views/img/bannerblock-1.jpg" alt="bannerblock-1.jpg">
</a>
</div>
</div>
</div>
<div class="bannercenter banner-inner col-md-4 col-sm-12">
<div class="bannerblock2 bannerblock">
<div class="image-container">
<a class="ishi-customhover-fadeoutcorner" href="#">
<img src="modules/ishibannerblock/views/img/bannerblock-2.jpg" alt="bannerblock-2.jpg">
</a>
</div>
</div>
</div>
<div class="bannerright banner-inner col-md-4 col-sm-12">
<div class="bannerblock3 bannerblock">
<div class="image-container">
<a class="ishi-customhover-fadeoutcorner" href="#">
<img src="modules/ishibannerblock/views/img/bannerblock-3.jpg" alt="bannerblock-3.jpg">
</a>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<div id="bottom_home">
{{ include('Shop._partials.testimonials')}}
{{ include('Shop._partials.services')}}
{{ include('Shop._partials.special-products')}}
{{ include("Shop._partials.newsletter")}}
{{ include("Shop._partials.block-news")}}
{{ include("Shop._partials.block-manufacturers")}}
</div>

View File

@@ -0,0 +1,12 @@
<div class="breadcrumb-container">
<nav data-depth="1" class="breadcrumb container">
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="fr/">
<span itemprop="name">Accueil</span>
</a>
<meta itemprop="position" content="1">
</li>
</ol>
</nav>
</div>

View File

@@ -0,0 +1,31 @@
<div id="ishimanufacturerblock" class="container clearfix">
<h2 class="home-title">Nos meilleures marques</h2>
<div class="row">
<div id="manufacturer-carousel" class="owl-carousel owl-loaded owl-drag">
<div class="owl-stage-outer">
<div class="owl-stage" style="transform: translate3d(-1200px, 0px, 0px); transition: all 0.25s ease 0s; width: 3600px;">
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
{{ include("Shop._partials.manufacturer")}}
</div>
</div>
<div class="owl-nav disabled">
<div class="owl-prev">
<i class="material-icons"></i>
</div>
<div class="owl-next">
<i class="material-icons"></i>
</div>
</div>
<div class="owl-dots disabled">
<div class="owl-dot active"><span></span></div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,26 @@
<div id="smartblog_block" class="block products_block container clearfix">
<div class="products_block_inner row">
<h2 class="home-title">
<a href="fr/smartblog.html">Dernières nouvelles</a>
</h2>
<div class="sdsblog-box-content block_content">
<div id="smartblog-carousel" class="product_list owl-carousel owl-loaded owl-drag">
<div class="owl-stage-outer">
<div class="owl-stage" style="transform: translate3d(-1200px, 0px, 0px); transition: all 0s ease 0s; width: 4800px;">
{{ include ("Shop._partials.blog") }}
{{ include ("Shop._partials.blog") }}
{{ include ("Shop._partials.blog") }}
</div>
<div class="owl-nav">
<div class="owl-prev"><i class="material-icons"></i></div>
<div class="owl-next"><i class="material-icons"></i></div>
</div>
<div class="owl-dots">
<div class="owl-dot active"><span></span></div>
<div class="owl-dot"><span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<div id="ishiproductsblock" class="container clearfix">
<div class="ishiproductsblock-container">
<h2 class="home-title">Meilleurs produits</h2>
<ul id="ishiproductstab" class="nav nav-tabs clearfix">
<li class="nav-item first_item">
<a class="nav-link active" href="#featured-products-block" data-toggle="tab">En vedette</a>
</li>
<li class="nav-item ">
<a class="nav-link " href="#new-products-block" data-toggle="tab">Dernier</a>
</li>
<li class="nav-item last_item">
<a class="nav-link " href="#bestseller-products-block" data-toggle="tab">Meilleures ventes</a>
</li>
</ul>
<div class="product_content ">
<div class="tab-content">
<div id="featured-products-block" class="tab-pane active">
<div class="block_content row">
<div id="ishi-featured-products" class="owl-carousel">
{{ include("Shop._partials.product", {index:1}) }}
{{ include("Shop._partials.product", {index:2}) }}
{{ include("Shop._partials.product", {index:3}) }}
{{ include("Shop._partials.product", {index:4}) }}
{{ include("Shop._partials.product", {index:5}) }}
{{ include("Shop._partials.product", {index:6}) }}
{{ include("Shop._partials.product", {index:7}) }}
{{ include("Shop._partials.product", {index:8}) }}
</div>
</div>
</div>
<div id="new-products-block">
</div>
<div id="bestseller-products-block">
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,39 @@
<div class="owl-item cloned" style="width: 400px;">
<div class="item sds_blog_post">
<div class="blog_post">
<div class="news_module_image_holder">
<a href="fr/smartblog/5_viderer-voluptatum-te-eum.html">
<img alt="Viderer voluptatum te eum" class="feat_img_small" src="modules//smartblog/images/5-home-default.jpg">
<span class="blog-hover"></span>
</a>
<span class="blogicons">
<a title="Click to view Full Image" href="modules//smartblog/images/5-single-default.jpg" data-lightbox="blog-image" class="icon zoom">&nbsp;
<i class="fa fa-search" aria-hidden="true"></i>
</a>
<a title="Click to view Read More" href="fr/smartblog/5_viderer-voluptatum-te-eum.html" class="icon readmore">&nbsp;
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</span>
</div>
<div class="smartbloginfo">
<span class="blog_date">
<i class="fa fa-calendar" aria-hidden="true"></i>
<span class="blog_date_inner">
<span class="day_month">25</span>
<span class="day_date">Oct</span>
</span>
<span class="day_year">2019</span>
</span>
</div>
<div class="blog_content">
<div class="blog_inner">
<h4 class="sds_post_title"><a href="fr/smartblog/5_viderer-voluptatum-te-eum.html">Viderer voluptatum te eum</a></h4>
<p class="desc">
Ei has mutat solum. Fugit atomorum efficiantur an vim, te mea...
</p>
<a href="fr/smartblog/5_viderer-voluptatum-te-eum.html" class="r_more">Lire la suite</a>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,247 @@
<footer id="footer">
<div class="footer-before">
<div class="container">
<div id="ishifooterblock" class="clearfix">
<div class="footer-info">Jusqu à <span class="off">40% de réduction</span> sur votre première commande</div>
<button class="button-fb">
<span aria-hidden="true">Achetez maintenant</span>
</button>
</div>
</div>
</div>
<div class="footer-container">
<div class="container">
<div class="row">
<div id="ishistoreinfo" class="col-lg-3 footer-block">
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#ishistoreinfo-container" data-toggle="collapse">
<span class="h3 block-heading">A propos</span>
<span class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</div>
<div id="ishistoreinfo-container" class="ishistoreinfo-inner collapse footer-dropdown">
<a href="http://demo.ishithemes.com" class="store-logo">
<img src="/img/logo.png" alt="footer-logo.png" width="200">
</a>
<div class="store-description">
<p>Ensemble, grâce aux variétés paysannes, construisons une alimentation respectueuse du vivant ! </p>
</div>
</div>
</div><!-- Block links module -->
<div id="ishifooterlinks_block" class="col-lg-3 col-sm-12 footer-block">
<h3 class="hidden-md-down">
Information
</h3>
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#footer_ishifooterlinks" data-toggle="collapse">
<span class="h3">Information</span>
<span class="pull-xs-right">
<span class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</span>
</div>
<div id="footer_ishifooterlinks" class="collapse footer-dropdown">
<ul class="bullet">
<li class="first_item">
<a href="fr/promotions" title="Promotions">Promotions</a>
</li>
<li class="item">
<a href="fr/nouveaux-produits" title="Nouveaux produits">Nouveaux produits</a>
</li>
<li class="item">
<a href="fr/meilleures-ventes" title="Meilleures ventes">Meilleures ventes</a>
</li>
<li class="item">
<a href="fr/magasins" title="Notre magasin">Notre magasin</a>
</li>
<li class="item">
<a href="fr/nous-contacter" title="Contactez-nous">Contactez-nous</a>
</li>
<li>
<a href="fr/plan du site" title="Sitemap">Sitemap</a>
</li>
</ul>
</div>
</div>
<!-- /Block links module -->
<div id="block_myaccount_infos" class="col-lg-3 links wrapper footer-block">
<p class="h3 myaccount-title hidden-md-down">
<a class="text-uppercase" href="fr/mon-compte" rel="nofollow">
Votre compte
</a>
</p>
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#footer_account_list" data-toggle="collapse">
<span class="h3">Votre compte</span>
<span class="float-xs-right">
<span class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</span>
</div>
<ul class="account-list collapse footer-dropdown" id="footer_account_list">
<li>
<a href="fr/identite" title="Informations personnelles" rel="nofollow">
Informations personnelles
</a>
</li>
<li>
<a href="fr/historique-commandes" title="Commandes" rel="nofollow">
Commandes
</a>
</li>
<li>
<a href="fr/avoirs" title="Avoirs" rel="nofollow">
Avoirs
</a>
</li>
<li>
<a href="fr/adresses" title="Adresses" rel="nofollow">
Adresses
</a>
</li>
<!-- MODULE WishList -->
<!-- <div class="link_wishlist">
<a href="fr/module/ishiblockwishlist/mywishlist" title="My Wishlists">
<i class="fa fa-heart"></i>My Wishlists
</a>
</div> -->
<a id="mywishlist-link" href="fr/module/ishiblockwishlist/mywishlist" title="My Wishlists" class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<span class="link-item">
<i class="fa fa-heart"></i>
Mes favoris
</span>
</a>
<!-- END : MODULE WishList -->
</ul>
</div>
<div class="block-contact col-lg-3 footer-block">
<p class="h3 title_block hidden-md-down">
Informations
</p>
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#contact-info-container" data-toggle="collapse">
<span class="h3 title_block">Informations</span>
<span class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</div>
<div id="contact-info-container" class="footer-contact collapse footer-dropdown">
<div class="block address">
<span class="icon"><i class="material-icons">&#xE55F;</i></span>
<div class="content">Demo Shop<br />France</div>
</div>
<div class="block phone">
<span class="icon phone"><i class="material-icons">&#xE0CD;</i></span>
<div class="content">
<a href="tel:+00 900 123456789">+00 900 123456789</a>
</div>
</div>
<div class="block email">
<span class="icon"><i class="material-icons">&#xE158;</i></span>
<div class="content">
<a href="mailto:admin@gmail.com">admin@gmail.com</a>
</div>
</div>
</div>
</div>
<div class="block-social col-lg-12 footer-block col-xs-12">
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#block-container" data-toggle="collapse">
<span class="h3 title_block">Follow Us</span>
<span class="pull-xs-right">
<span class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</span>
</div>
<div class="social_text hidden-md-down">
<p class="h3 title_block">Abonnez-vous</p>
<p class="social-label">Pour rester informés de nos nouveautés</p>
</div>
<div id="block-container" class="collapse footer-dropdown">
<ul class="social-inner">
<li class="facebook">
<a href="#" target="_blank">
<span class="socialicon-label">Facebook</span>
</a>
</li>
<li class="twitter">
<a href="#" target="_blank">
<span class="socialicon-label">Twitter</span>
</a>
</li>
<li class="rss">
<a href="#" target="_blank">
<span class="socialicon-label">Rss</span>
</a>
</li>
<li class="youtube">
<a href="#" target="_blank">
<span class="socialicon-label">YouTube</span>
</a>
</li>
<li class="googleplus">
<a href="#" target="_blank">
<span class="socialicon-label">Google+</span>
</a>
</li>
<li class="pinterest">
<a href="#" target="_blank">
<span class="socialicon-label">Pinterest</span>
</a>
</li>
<li class="vimeo">
<a href="#" target="_blank">
<span class="socialicon-label">Vimeo</span>
</a>
</li>
<li class="instagram">
<a href="#" target="_blank">
<span class="socialicon-label">Instagram</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="footer-after">
<div class="container">
<div class="row">
<div class="col-lg-6 col-xs-12">
<p class="footer-aftertext">
<a class="_blank" href="http://www.huma.net" target="_blank">
© 2020 - Logiciel e-commerce par HumaN.E.T
</a>
</p>
</div>
<div class="col-lg-6 col-xs-12">
<div class="col-lg-12 footer-block col-xs-12 paymentlogo-container">
<span>Payment</span>
<img src="modules/ishipaymentoptionsblock/views/img/discover.png" alt="Discover"/>
<img src="modules/ishipaymentoptionsblock/views/img/visa.png" alt="Visa" />
<img src="modules/ishipaymentoptionsblock/views/img/jcb.png" alt="JCB" />
<img src="modules/ishipaymentoptionsblock/views/img/paypal.png" alt="PayPal" />
<img src="modules/ishipaymentoptionsblock/views/img/mastercard.png" alt="Master Card" />
<img src="modules/ishipaymentoptionsblock/views/img/americanexpress.png" alt="American Express" />
</div>
</div>
</div>
</div>
</div>
</footer>

View File

@@ -0,0 +1,72 @@
<nav class="header-nav">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-6 left-nav">
<div id="ishiheaderblock" class="clearfix">
<div class="header-text">Obtenez 25% de réduction aujourd hui</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 right-nav">
<div class="language-selector dropdown js-dropdown">
<span class="language-selector-label">Langue :</span>
<a data-target="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Sélecteur de langue">
<span class="expand-more">Français</span>
<i class="material-icons expand-more">&#xE313;</i>
</a>
<!--
<ul class="dropdown-menu" aria-labelledby="language-selector-label">
<li >
<a href="en/" class="dropdown-item" data-iso-code="en">English</a>
</li>
<li >
<a href="ar/" class="dropdown-item" data-iso-code="ar">اللغة العربية</a>
</li>
<li >
<a href="es/" class="dropdown-item" data-iso-code="es">Español</a>
</li>
<li class="current" >
<a href="fr/" class="dropdown-item" data-iso-code="fr">Français</a>
</li>
<li >
<a href="it/" class="dropdown-item" data-iso-code="it">Italiano</a>
</li>
<li >
<a href="pl/" class="dropdown-item" data-iso-code="pl">Polski</a>
</li>
</ul>
-->
</div>
<!--
<div class="currency-selector dropdown js-dropdown">
<span class="currency-selector-label">Devise :</span>
<a data-target="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Sélecteur de devise">
<span class="expand-more">USD $</span>
<i class="material-icons expand-more">&#xE313;</i>
</a>
<ul class="dropdown-menu" aria-labelledby="currency-selector-label">
<li >
<a title="Euro" rel="nofollow" href="fr/?SubmitCurrency=1&amp;id_currency=2" class="dropdown-item">EUR €</a>
</li>
<li class="current" >
<a title="Dollar des États-Unis" rel="nofollow" href="fr/?SubmitCurrency=1&amp;id_currency=1" class="dropdown-item">USD $</a>
</li>
</ul>
</div>
-->
<div class="user-info dropdown js-dropdown">
<span class="account-logo expand-more" data-toggle="dropdown" role="button">Compte client <i class="material-icons expand-more">&#xE313;</i></span>
<ul class="dropdown-menu" aria-labelledby="dLabel">
<li>
<a href="fr/mon-compte" title="Identifiez-vous" rel="nofollow">
<span>Connexion</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>

View File

@@ -0,0 +1,46 @@
<div class="header-top">
<div class="container">
<div class="row">
<div id="desktop_logo">
<h1>
<a href="">
<img class="logo img-responsive" src="img/logo.png" alt="Demo">
</a>
</h1>
</div>
<div id="_desktop_cart">
<div class="blockcart cart-preview inactive" data-refresh-url="/module/ps_Shoppingcart/ajax">
<div class="header">
<span class="cart-link">
<span class="cart-img"></span>
<span class="cart-content">
<span class="cart-name">Panier</span>
<span class="cart-products-count hidden-md-down">0,00 € - 0 produits</span>
<span class="cart-products-count hidden-lg-up">0</span>
</span>
</span>
<div class="cart-dropdown empty">
<span>Votre panier est vide</span>
</div>
</div>
</div>
</div>
<div id="ishiheadercontactblock" class="clearfix">
<div class="call-img"></div>
<div class="call">
<div class="call-us">Appelez-nous</div>
<div class="call-num">01 23 45 67 89</div>
</div>
</div>
<div class="clearfix"></div>
</div>
<div id="mobile_top_menu_wrapper" class="hidden-lg-up" style="display:none;">
<div id="top_menu_closer">
<i class="material-icons">&#xE5CD;</i>
</div>
<div class="js-top-menu mobile" id="_mobile_top_menu"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,25 @@
<header id="header">
<div class="header-banner"></div>
{{ include("Shop._partials.header-nav") }}
{{ include("Shop._partials.header-top")}}
<div class="nav-full-width">
<div class="container">
<div class="row">
{{ include("Shop._partials.sections")}}
{{ include("Shop._partials.search")}}
<div id="menu-icon" class="menu-icon hidden-lg-up">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
<div id="_mobile_cart"></div>
<div id="_mobile_seach_widget"></div>
<div id="_mobile_user_info"></div>
<div class="clearfix"></div>
</div>
</div>
</div>
</header>

View File

@@ -0,0 +1,9 @@
<div class="owl-item cloned" style="width: 200px;">
<div class="item">
<div class="image-container">
<a href="fr/1_fashion-manufacturer-1">
<img src="img/m/1.jpg" title="Fashion Manufacturer 1" alt="Fashion Manufacturer 1">
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,31 @@
<div class="block_newsletter footer-block">
<div class="container">
<div class="row">
<div class="newsletter_text">
<h3 class="title_block home-title">Newsletter</h3>
<div class="news-text">
<p class="block-newsletter-label">Sign up &amp; Get offer</p>
<p class="block-newsletter-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ac ex sit amet arcu ultricies rhoncus vel ut nislimply Dummy Text.</p>
</div>
</div>
<div id="newsletter" class=" col-lg-12 footer-dropdown">
<form action="fr/#footer" method="post">
<div class="row">
<div class="col-xs-12">
<input class="btn btn-primary hidden-sm-down" name="submitNewsletter" type="submit" value="Sabonner">
<input class="btn btn-primary hidden-md-up" name="submitNewsletter" type="submit" value="Sabonner">
<div class="input-wrapper">
<input name="email" type="email" value="" placeholder="Votre adresse e-mail" aria-labelledby="block-newsletter-label">
</div>
<input type="hidden" name="action" value="0">
<div class="clearfix"></div>
</div>
<div class="col-xs-12">
<p class="conditions">Vous pouvez vous désinscrire à tout moment. Vous trouverez pour cela nos informations de contact dans les conditions d'utilisation du site.</p>
</div>
</div>
</form>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<aside id="notifications">
<div class="container">
</div>
</aside>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,98 @@
<div class="multilevel-item">
<div class="item" data-id-product="1" data-id-product-attribute="1" itemscope itemtype="http://schema.org/Product">
<article class="product-miniature js-product-miniature" data-id-product="1" data-id-product-attribute="1" itemscope itemtype="http://schema.org/Product">
<div class="product-container">
<div class="thumbnail-container">
<div class="thumbnail-inner">
<a href="fr/tshirts/1-faded-short-sleeves-tshirt.html" class="thumbnail product-thumbnail">
<img src = "/img/products/product{{ index }}.jpg" alt = "Simul dolorem voluptaria" data-full-size-image-url="/img/products/product{{ index }}.jpg">
<img class="product-img-extra change" src = "/img/products/product2.jpg"/>
</a>
<div class="thumbnail-buttons">
<div class="quickview-btn">
<a href="#" class="quick-view" data-link-action="quickview" >
<i class="material-icons visibility">&#xE8F4;</i>
<span class="lblquickview">Aperçu rapide</span>
</a>
</div>
<div class="cart-btn">
<form action="fr/panier" method="post">
<input class='carttoken' type="hidden" name="token" value="3d2187fdc78a54510e1e1670c3ff42b0">
<input type="hidden" name="id_product" value="1">
<input type="hidden" name="id_customization" value="0">
<input type="hidden" name="qty" value="1">
<a data-button-action="add-to-cart" class="btn btn-primary ajax_add_to_cart_button add-to-cart">
<i class="material-icons Shopping-cart"></i>
<span class="lblcart">Ajouter au panier</span>
</a>
</form>
</div>
<div class="wishlist-btn">
<a id="wishlist_button" href="#" onclick="WishlistCart('wishlist_block_list', 'add', 1, 0, 1); return false;" title="Add to my wishlist">
<span class="lblwishlist"> Mettre en favoris</span>
</a>
</div>
</div>
<ul class="product-flags">
<li class="discount">-20%</li>
<li class="new">Nouveau</li>
</ul>
</div>
</div>
<div class="product-description">
<h3 class="h3 product-title" itemprop="name">
<a href="fr/tshirts/1-faded-short-sleeves-tshirt.html">Simul dolorem voluptaria</a>
</h3>
<div class="product-comments">
<div class="star_content">
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
</div>
</div>
<div class="comment_advice">
<a href="#reviews" class="read_comment" id="read_comment">
<i class="material-icons comments" aria-hidden="true"></i>
Lire les avis
</a>
<a href="#" class="write_comment" data-toggle="modal" data-target="#new_comment_form">
<i class="material-icons comments" aria-hidden="true"></i>
Ecrire une critique
</a>
</div>
<span>0 review</span>
</div>
<div class="product-price-and-shipping">
<span class="regular-price">16,51 $</span>
<span class="discount-percentage discount-product">-20%</span>
<span itemprop="price" class="price">13,21 €</span>
</div>
<div class="highlighted-informations hidden-sm-down">
<div class="variant-links">
<a href="fr/tshirts/1-3-faded-short-sleeves-tshirt.html#/2-taille-m/13-couleur-orange" class="color" title="Orange" style="background-color: #F39C11">
<span class="sr-only">Orange</span>
</a>
<a href="fr/tshirts/1-2-faded-short-sleeves-tshirt.html#/1-taille-s/14-couleur-bleu" class="color" title="Bleu" style="background-color: #5D9CEC">
<span class="sr-only">Bleu</span>
</a>
<span class="js-count count"></span>
</div>
</div>
</div>
</article>
</div>
</div>

View File

@@ -0,0 +1,18 @@
<!-- Block search module TOP -->
<div id="_desktop_seach_widget">
<div id="search_widget" class="search-widget" data-search-controller-url="//demo.ishithemes.comfr/recherche">
<div class="search-menu-icon">
<span class="search-logo"> </span>
<!-- <i class="material-icons d-inline">&#xE8B6;</i> -->
</div>
<form method="get" action="//demo.ishithemes.comfr/recherche" class="hide">
<input type="hidden" name="controller" value="search">
<input type="text" name="s" value="" placeholder="Rechercher">
<button type="submit">
<span>Rechercher</span>
<i class="material-icons search">&#xE8B6;</i>
</button>
</form>
</div>
</div>
<!-- /Block search module TOP -->

View File

@@ -0,0 +1,94 @@
<div class="menu js-top-menu hidden-sm-down" id="_desktop_top_menu">
<ul class="top-menu" id="top-menu" data-depth="0">
<li class="category" id="category-3">
<a class="dropdown-item" href="fr/3-women" data-depth="0">
<span class="float-xs-right hidden-lg-up">
<span data-target="#top_sub_menu_74053" data-toggle="collapse" class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</span>
Légumes
</a>
<div class="popover sub-menu js-sub-menu collapse" id="top_sub_menu_74053">
<ul class="top-menu" data-depth="1">
<li class="category" id="category-4">
<a class="dropdown-item dropdown-submenu" href="fr/4-tops" data-depth="1">
<span class="float-xs-right hidden-lg-up">
<span data-target="#top_sub_menu_37104" data-toggle="collapse" class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</span>
Tops des ventes
</a>
<div class="collapse" id="top_sub_menu_37104">
<ul class="top-menu" data-depth="2">
<li class="category" id="category-5">
<a class="dropdown-item" href="fr/5-tshirts" data-depth="2">
Tomates
</a>
</li>
<li class="category" id="category-6">
<a class="dropdown-item" href="fr/6-top" data-depth="2">
Aubergine
</a>
</li>
<li class="category" id="category-7">
<a class="dropdown-item" href="fr/7-blouses" data-depth="2">
Carottes
</a>
</li>
</ul>
</div>
</li>
<li class="category" id="category-8">
<a class="dropdown-item dropdown-submenu" href="fr/8-dresses" data-depth="1">
<span class="float-xs-right hidden-lg-up">
<span data-target="#top_sub_menu_96802" data-toggle="collapse" class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</span>
De saison
</a>
<div class="collapse" id="top_sub_menu_96802">
<ul class="top-menu" data-depth="2">
<li class="category" id="category-9">
<a class="dropdown-item" href="fr/9-casual-dresses" data-depth="2">
Betteraves
</a>
</li>
<li class="category" id="category-10">
<a class="dropdown-item" href="fr/10-evening-dresses" data-depth="2">
Artichauts
</a>
</li>
<li class="category" id="category-11">
<a class="dropdown-item" href="fr/11-summer-dresses" data-depth="2">
Courges
</a>
</li>
</ul>
</div>
</li>
</ul>
<img class="category-image" src="img/c/3-0_thumb.jpg" alt="Women" title="Women">
</div>
</li>
<li class="category" id="category-12">
<a class="dropdown-item" href="fr/12-outfits" data-depth="0">
Semences
</a>
</li>
<li class="category" id="category-13">
<a class="dropdown-item" href="fr/13-accessories" data-depth="0">
Livres
</a>
</li>
</ul>
<div class="clearfix"></div>
</div>

View File

@@ -0,0 +1,49 @@
<div id="ishiservices" class="container clearfix">
<h2 class="home-title">Nos services</h2>
<div id="ishiservices-content" class="row">
<div class="services support col-lg-3 col-sm-6 col-xs-12">
<a href="#">
<div class="service-content">
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-1.png);"></div>
<div class="service-block">
<div class="service-title">Support gratuit</div>
<div class="service-desc">Lorem ipsum is Dolor</div>
</div>
</div>
</a>
</div>
<div class="services shipping col-lg-3 col-sm-6 col-xs-12">
<a href="#">
<div class="service-content">
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-2.png)" ;=""></div>
<div class="service-block">
<div class="service-title">Remboursement</div>
<div class="service-desc">Lorem ipsum is Dolor</div>
</div>
</div>
</a>
</div>
<div class="services money-back col-lg-3 col-sm-6 col-xs-12">
<a href="#">
<div class="service-content">
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-3.png)" ;=""></div>
<div class="service-block">
<div class="service-title">Retour facile</div>
<div class="service-desc">Lorem ipsum is Dolor</div>
</div>
</div>
</a>
</div>
<div class="services big-saving col-lg-3 col-sm-6 col-xs-12">
<a href="#">
<div class="service-content">
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-4.png)" ;=""></div>
<div class="service-block">
<div class="service-title">Remboursement</div>
<div class="service-desc">Lorem ipsum is Dolor</div>
</div>
</div>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,12 @@
<div id="ishislider" class="ishislider-container owl-carousel" data-interval="5000" data-pause="hover">
<div class="item">
<a href="#">
<img src="modules/ishislider/views/img/slide-1.jpg" alt="Banner Legend - 1" title="Banner Legend - 1" />
</a>
</div>
<div class="item">
<a href="#">
<img src="modules/ishislider/views/img/slide-2.jpg" alt="Banner Legend - 2" title="Banner Legend - 2" />
</a>
</div>
</div>

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