This commit is contained in:
Ludovic CANDELLIER
2021-08-21 19:48:21 +02:00
parent 7ec40145de
commit 9ca510086b
24 changed files with 423 additions and 65 deletions

View File

@@ -9,6 +9,7 @@
Caractéristiques
</a>
</li>
<!--
<li class="nav-item">
<a href="#offers" class="nav-link" data-toggle="tab" aria-expanded="true">
{{ __('Shop.offers.title') }}
@@ -32,6 +33,7 @@
Référencement
</a>
</li>
-->
</ul>
<div class="card-tools">
@@ -80,6 +82,7 @@
@include('load.form.toggle')
@include('load.form.upload.fileinput')
@include('load.layout.chevron')
@include('load.layout.modal')
@push('js')
<script>

View File

@@ -58,7 +58,7 @@
<div class="col-md-4">
@include('Admin.Shop.Articles.partials.product.images')
@include('components.uploader.widget', ['load_url' => route('Admin.Shop.Articles.getImages', ['id' => $article['id'] ?? false]), 'delete_url' => route('Admin.Shop.Articles.deleteImage'), 'title' => 'Photos', 'name' => 'images' ])
@include('Admin.Core.Comments.partials.comments')
@include('Admin.Core.Comments.partials.comments', ['model' => 'Shop.Article', 'model_id' => $article['id'] ?? false, 'comments' => $article['comments']])
</div>
</div>

View File

@@ -1,7 +1,7 @@
@extends('layout.index', [
'title' => __('offers.title'),
'subtitle' => __('offers.create.title'),
'breadcrumb' => [__('offers.title'), __('offers.create.title')]
'title' => __('Shop.offers.title'),
'subtitle' => __('Shop.offers.add'),
'breadcrumb' => [__('Shop.offers.title'), __('Shop.offers.add')]
])
@section('content')

View File

@@ -1,12 +1,12 @@
@extends('layout.index', [
'title' => 'Offre',
'subtitle' => 'Edition d\'une offre',
'breadcrumb' => ['Offres']
'title' => __('Shop.offers.title'),
'subtitle' => __('Shop.offers.edit'),
'breadcrumb' => [__('Shop.offers.title'), __('Shop.offers.edit')]
])
@section('content')
{{ Form::open(['route' => 'Admin.Shop.Offers.update', 'id' => 'offer-form', 'autocomplete' => 'off']) }}
{{ Form::open(['route' => 'Admin.Shop.Offers.store', 'id' => 'offer-form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $id }}">
@include('Admin.Shop.Offers.form')
</form>

View File

@@ -1,4 +1,4 @@
<div class="row">
<div class="row mb-3">
<div class="col-8">
<div class="row mb-3">
<div class="col-8">