fixes
This commit is contained in:
@@ -6,11 +6,24 @@
|
||||
|
||||
@section('content')
|
||||
@component('components.card')
|
||||
@include('components.datatable', ['route' => route('Admin.Shop.Offers.index'), 'model' => 'offers', 'with_filters' => true])
|
||||
@include('components.datatable', ['route' => route('Admin.Shop.Offers.index'), 'model' => 'offers', 'with_filters' => true, 'callback' => 'handleOffer();'])
|
||||
@component('components.layout.modal', ['title' => 'Filtres', 'id' => 'modal-offers-filters'])
|
||||
@include('Admin.Shop.Offers.partials.filters', ['model' => 'offers'])
|
||||
@endcomponent
|
||||
@endcomponent
|
||||
@endsection
|
||||
|
||||
@include('load.form.select2')
|
||||
@include('load.form.select2')
|
||||
@include('load.form.toggle')
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
function handleOffer() {
|
||||
initToggle("{{ route('Admin.Shop.Offers.toggleActive') }}");
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
initSelect2();
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
{{ Form::label('ref', 'Référence') }}<br>
|
||||
{{ $article['ref'] ?? null }}
|
||||
</div>
|
||||
<div class="col-5">
|
||||
<div class="col-6">
|
||||
{{ Form::label('name', 'Nom') }}<br>
|
||||
{{ $article['name'] ?? null }}
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<div class="col-3" class="text-right">
|
||||
{!! $article['image'] !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user