rename models and associates, isolate botanic with shop
This commit is contained in:
15
resources/views/Botanic/Admin/Families/create.blade.php
Normal file
15
resources/views/Botanic/Admin/Families/create.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('boilerplate::layout.index', [
|
||||
'title' => __('Botanic.families.title'),
|
||||
'subtitle' => __('Botanic.families.add'),
|
||||
'breadcrumb' => [__('Botanic.families.title'), __('Botanic.families.add')]
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Families.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
@include('Botanic.Admin.Families.form')
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
16
resources/views/Botanic/Admin/Families/edit.blade.php
Normal file
16
resources/views/Botanic/Admin/Families/edit.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.families.title'),
|
||||
'subtitle' => __('Botanic.families.edit'),
|
||||
'breadcrumb' => ['Familles']
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Families.store', 'id' => 'form', 'autocomplete' => 'off']) }}
|
||||
<input type="hidden" name="id" value="{{ $family['id'] }}">
|
||||
|
||||
@include('Botanic.Admin.Families.form')
|
||||
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
21
resources/views/Botanic/Admin/Families/list.blade.php
Normal file
21
resources/views/Botanic/Admin/Families/list.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.families.title'),
|
||||
'subtitle' => __('Botanic.families.list'),
|
||||
'breadcrumb' => [__('Botanic.families.title')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row pb-3">
|
||||
<div class="col text-right">
|
||||
<a href="{{ route('Botanic.Admin.Families.create') }}" class="btn btn-sm btn-success">{{ __('Botanic.families.add') }} <i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{$dataTable->table()}}
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
@include('components.js.datatable', ['route' => '/Botanic/Admin/Families', 'model' => 'families'])
|
||||
@endpush
|
||||
28
resources/views/Botanic/Admin/Families/show.blade.php
Normal file
28
resources/views/Botanic/Admin/Families/show.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('families.title'),
|
||||
'subtitle' => __('families.title'),
|
||||
'breadcrumb' => [__('families.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>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
13
resources/views/Botanic/Admin/Genres/create.blade.php
Normal file
13
resources/views/Botanic/Admin/Genres/create.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.genres.title'),
|
||||
'subtitle' => __('Botanic.genres.add'),
|
||||
'breadcrumb' => [__('Botanic.genres.title'), __('Botanic.genres.add')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Genres.store', 'id' => 'form', 'autocomplete' => 'off']) }}
|
||||
@include('Botanic.Admin.Genres.form')
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
16
resources/views/Botanic/Admin/Genres/edit.blade.php
Normal file
16
resources/views/Botanic/Admin/Genres/edit.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.genres.title'),
|
||||
'subtitle' => __('Botanic.genres.edit'),
|
||||
'breadcrumb' => ['Familles']
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Genres.store', 'id' => 'form', 'autocomplete' => 'off']) }}
|
||||
<input type="hidden" name="id" value="{{ $id }}">
|
||||
|
||||
@include('Botanic.Admin.Genres.form')
|
||||
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
22
resources/views/Botanic/Admin/Genres/list.blade.php
Normal file
22
resources/views/Botanic/Admin/Genres/list.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.genres.title'),
|
||||
'subtitle' => __('Botanic.genres.list'),
|
||||
'breadcrumb' => [__('Botanic.genres.title')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row pb-3">
|
||||
<div class="col text-right">
|
||||
<a href="{{ route('Botanic.Admin.Genres.create') }}" class="btn btn-sm btn-success">{{ __('Botanic.genres.add') }} <i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{$dataTable->table()}}
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
@include('components.js.datatable', ['route' => '/Botanic/Admin/Genres', 'model' => 'genres'])
|
||||
@endpush
|
||||
|
||||
16
resources/views/Botanic/Admin/Species/create.blade.php
Normal file
16
resources/views/Botanic/Admin/Species/create.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.species.title'),
|
||||
'subtitle' => __('Botanic.species.add'),
|
||||
'breadcrumb' => [__('Botanic.species.title'), __('Botanic.species.add')]
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Species.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
|
||||
@include('Botanic.Admin.Species.form')
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
16
resources/views/Botanic/Admin/Species/edit.blade.php
Normal file
16
resources/views/Botanic/Admin/Species/edit.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.species.title'),
|
||||
'subtitle' => __('Botanic.species.edit'),
|
||||
'breadcrumb' => ['Botanic.species.title']
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Species.store', 'id' => 'form', 'autocomplete' => 'off']) }}
|
||||
<input type="hidden" name="id" value="{{ $specie['id'] }}">
|
||||
|
||||
@include('Botanic.Admin.Species.form')
|
||||
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
22
resources/views/Botanic/Admin/Species/list.blade.php
Normal file
22
resources/views/Botanic/Admin/Species/list.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.species.title'),
|
||||
'subtitle' => __('Botanic.species.list'),
|
||||
'breadcrumb' => [__('Botanic.species.title')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row pb-3">
|
||||
<div class="col text-right">
|
||||
<a href="{{ route('Botanic.Admin.Species.create') }}" class="btn btn-sm btn-success">{{ __('Botanic.species.add') }} <i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{$dataTable->table()}}
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
@include('components.js.datatable', ['route' => '/Botanic/Admin/Species', 'model' => 'species'])
|
||||
@endpush
|
||||
|
||||
16
resources/views/Botanic/Admin/Varieties/create.blade.php
Normal file
16
resources/views/Botanic/Admin/Varieties/create.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.varieties.title'),
|
||||
'subtitle' => __('Botanic.varieties.add'),
|
||||
'breadcrumb' => [__('Botanic.varieties.title'), __('Botanic.varieties.add')]
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Varieties.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
|
||||
@include('Botanic.Admin.Varieties.form')
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
16
resources/views/Botanic/Admin/Varieties/edit.blade.php
Normal file
16
resources/views/Botanic/Admin/Varieties/edit.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.varieties.title'),
|
||||
'subtitle' => __('Botanic.varieties.edit'),
|
||||
'breadcrumb' => ['Familles']
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Varieties.store', 'id' => 'form', 'autocomplete' => 'off']) }}
|
||||
<input type="hidden" name="id" value="{{ $specie['id'] }}">
|
||||
|
||||
@include('Botanic.Admin.Varieties.form')
|
||||
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
22
resources/views/Botanic/Admin/Varieties/list.blade.php
Normal file
22
resources/views/Botanic/Admin/Varieties/list.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.varieties.title'),
|
||||
'subtitle' => __('Botanic.varieties.list'),
|
||||
'breadcrumb' => [__('Botanic.varieties.title')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row pb-3">
|
||||
<div class="col text-right">
|
||||
<a href="{{ route('Botanic.Admin.Varieties.create') }}" class="btn btn-sm btn-success">{{ __('Botanic.varieties.add') }} <i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{$dataTable->table()}}
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
@include('components.js.datatable', ['route' => '/Botanic/Admin/Varieties', 'model' => 'varieties'])
|
||||
@endpush
|
||||
|
||||
28
resources/views/Shop/Admin/Articles/create.blade.php
Normal file
28
resources/views/Shop/Admin/Articles/create.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('articles.title'),
|
||||
'subtitle' => __('articles.create.title'),
|
||||
'breadcrumb' => [__('articles.title'), __('articles.create.title')]
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Shop.Admin.Articles.store', 'id' => 'article-form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12 mbl">
|
||||
<a href="{{ route("Shop.Admin.Articles.index") }}" class="btn btn-default">
|
||||
{{ __('articles.list.title') }}
|
||||
</a>
|
||||
|
||||
<span class="btn-group pull-right">
|
||||
@include('components.button-save')
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('Shop.Admin.Articles.form')
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
29
resources/views/Shop/Admin/Articles/edit.blade.php
Normal file
29
resources/views/Shop/Admin/Articles/edit.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('layout.index', [
|
||||
'title' => 'Articles',
|
||||
'subtitle' => 'Edition d\'un article',
|
||||
'breadcrumb' => ['Articles']
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Shop.Admin.Articles.update', 'id' => 'article-form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12 mbl">
|
||||
<a href="{{ route("Shop.Admin.Articles.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('Shop.Admin.Articles.form')
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
12
resources/views/Shop/Admin/Articles/list.blade.php
Normal file
12
resources/views/Shop/Admin/Articles/list.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('lots.title'),
|
||||
'subtitle' => __('lots.list.title'),
|
||||
'breadcrumb' => [__('lots.title')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
<div class="box">
|
||||
<div class="box-body">
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@@ -1,4 +1,4 @@
|
||||
@extends('boilerplate::layout.index', [
|
||||
@extends('layout.index', [
|
||||
'title' => __('Shop.sections.title'),
|
||||
'subtitle' => __('Shop.sections.add'),
|
||||
'breadcrumb' => [__('Shop.sections.title'), __('Shop.sections.add')]
|
||||
@@ -10,12 +10,6 @@
|
||||
|
||||
{{ 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>
|
||||
|
||||
16
resources/views/Shop/Admin/Categories/form.blade.php
Normal file
16
resources/views/Shop/Admin/Categories/form.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
{{ Form::label('name', 'Nom') }}
|
||||
@include('components.input', ['name' => 'name', 'value' => isset($name) ? $name : 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>
|
||||
|
||||
28
resources/views/Shop/Admin/Categories/list.blade.php
Normal file
28
resources/views/Shop/Admin/Categories/list.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Shop.Categories.title'),
|
||||
'subtitle' => __('Shop.Categories.list'),
|
||||
'breadcrumb' => [__('Shop.Categories.title')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row pb-3">
|
||||
<div class="col text-right">
|
||||
<a href="{{ route('Shop.Admin.Categories.create') }}" class="btn btn-sm btn-success">{{ __('Shop.Categories.add') }} <i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-8">
|
||||
{{$dataTable->table()}}
|
||||
</div>
|
||||
<div class="col-4">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
@include('components.js.datatable', ['route' => '/Shop/Admin/Categories', 'model' => 'Categories'])
|
||||
@endpush
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
@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
|
||||
@@ -1,16 +0,0 @@
|
||||
@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
|
||||
@@ -1,21 +0,0 @@
|
||||
@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
|
||||
@@ -1,13 +0,0 @@
|
||||
@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
|
||||
@@ -1,16 +0,0 @@
|
||||
@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
|
||||
@@ -1,22 +0,0 @@
|
||||
@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
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
@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
|
||||
@@ -1,39 +0,0 @@
|
||||
@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
|
||||
@@ -1,94 +0,0 @@
|
||||
@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
|
||||
@@ -1,35 +0,0 @@
|
||||
<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>
|
||||
@@ -1,178 +0,0 @@
|
||||
<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) }} €</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>
|
||||
@@ -1,28 +0,0 @@
|
||||
@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
|
||||
@@ -1,46 +0,0 @@
|
||||
<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
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
@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
|
||||
@@ -1,269 +0,0 @@
|
||||
<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
|
||||
@@ -1,92 +0,0 @@
|
||||
|
||||
<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> 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
|
||||
@@ -1,73 +0,0 @@
|
||||
<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'] }} m²</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>
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<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">×</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>
|
||||
@@ -1,17 +0,0 @@
|
||||
|
||||
<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">×</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>
|
||||
@@ -1,43 +0,0 @@
|
||||
{{ 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">×</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
|
||||
@@ -1,95 +0,0 @@
|
||||
|
||||
<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
|
||||
@@ -1,125 +0,0 @@
|
||||
@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
|
||||
@@ -1,38 +0,0 @@
|
||||
<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 m² 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 }} m²</strong></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -1,110 +0,0 @@
|
||||
<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
|
||||
@@ -1,39 +0,0 @@
|
||||
@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
|
||||
@@ -1,38 +0,0 @@
|
||||
<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
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
@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
|
||||
@@ -1,35 +0,0 @@
|
||||
<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>
|
||||
@@ -1,178 +0,0 @@
|
||||
<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) }} €</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>
|
||||
@@ -1,28 +0,0 @@
|
||||
@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
|
||||
@@ -1,46 +0,0 @@
|
||||
<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
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
@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
|
||||
@@ -1,269 +0,0 @@
|
||||
<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
|
||||
@@ -1,92 +0,0 @@
|
||||
|
||||
<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> 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
|
||||
@@ -1,73 +0,0 @@
|
||||
<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'] }} m²</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>
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<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">×</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>
|
||||
@@ -1,17 +0,0 @@
|
||||
|
||||
<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">×</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>
|
||||
@@ -1,43 +0,0 @@
|
||||
{{ 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">×</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
|
||||
@@ -1,95 +0,0 @@
|
||||
|
||||
<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
|
||||
@@ -1,36 +0,0 @@
|
||||
@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
|
||||
@@ -1,16 +0,0 @@
|
||||
@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
|
||||
@@ -1,22 +0,0 @@
|
||||
@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
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
@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
|
||||
@@ -1,16 +0,0 @@
|
||||
@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
|
||||
@@ -1,22 +0,0 @@
|
||||
@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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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">
|
||||
<img src="/img/categories/bannerblock-1.jpg" alt="bannerblock-1.jpg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -12,7 +12,7 @@
|
||||
<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">
|
||||
<img src="/img/categories/bannerblock-2.jpg" alt="bannerblock-2.jpg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -21,7 +21,7 @@
|
||||
<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">
|
||||
<img src="/img/categories/bannerblock-3.jpg" alt="bannerblock-3.jpg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
22
resources/views/Shop/_partials/footer-after.twig
Normal file
22
resources/views/Shop/_partials/footer-after.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
<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="/img/payments/discover.png" alt="Discover"/>
|
||||
<img src="/img/payments/visa.png" alt="Visa" />
|
||||
<img src="/img/payments/jcb.png" alt="JCB" />
|
||||
<img src="/img/payments/paypal.png" alt="PayPal" />
|
||||
<img src="/img/payments/mastercard.png" alt="Master Card" />
|
||||
<img src="/img/payments/americanexpress.png" alt="American Express" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
59
resources/views/Shop/_partials/footer-social.twig
Normal file
59
resources/views/Shop/_partials/footer-social.twig
Normal file
@@ -0,0 +1,59 @@
|
||||
<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"></i>
|
||||
<i class="material-icons remove"></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>
|
||||
@@ -150,98 +150,14 @@
|
||||
</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"></i>
|
||||
<i class="material-icons remove"></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>
|
||||
{{ include("Shop._partials.footer-social") }}
|
||||
|
||||
|
||||
</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>
|
||||
{{ include("Shop._partials.footer-after") }}
|
||||
|
||||
</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>
|
||||
|
||||
@@ -1,12 +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" />
|
||||
<img src="/img/slider/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" />
|
||||
<img src="/img/slider/slide-2.jpg" alt="Banner Legend - 2" title="Banner Legend - 2" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3,7 +3,9 @@
|
||||
<div class="row mb-2 align-items-end">
|
||||
<div class="col-sm-6">
|
||||
<h1 class="m-0 text-dark">
|
||||
{{ $title }}
|
||||
@if(isset($title))
|
||||
{{ $title }}
|
||||
@endif
|
||||
@if(isset($subtitle))
|
||||
<small class="font-weight-light ml-1 text-md">{{ $subtitle }}</small>
|
||||
@endif
|
||||
|
||||
@@ -42,7 +42,9 @@
|
||||
<script src="{{ mix('/bootstrap.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script src="{{ mix('/admin-lte.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script src="{{ mix('/boilerplate.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script src="{{ mix('js/app.js') }}"></script>
|
||||
|
||||
<script src="/js/datatables.min.js"></script>
|
||||
<script src="/js/main.min.js"></script>
|
||||
<script src="{{ asset('vendor/datatables/buttons.server-side.js') }}"></script>
|
||||
@stack('scripts')
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user