Fixes on tag_Groups and variations, add migrations
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('tag_groups.title'),
|
||||
'subtitle' => __('tag_groups.create.title'),
|
||||
'breadcrumb' => [__('tag_groups.title'), __('tag_groups.create.title')]
|
||||
'title' => __('shop.tag_groups.title'),
|
||||
'subtitle' => __('shop.tag_groups.add'),
|
||||
'breadcrumb' => [__('shop.tag_groups.title'), __('shop.tag_groups.add')]
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('tag_groups.title'),
|
||||
'subtitle' => __('tag_groups.edit.title'),
|
||||
'breadcrumb' => [__('tag_groups.title'), __('tag_groups.edit.title')]
|
||||
'subtitle' => __('tag_groups.edit'),
|
||||
'breadcrumb' => [__('tag_groups.title'), __('tag_groups.edit')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
@@ -1,15 +1,25 @@
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('name', 'Famille d\'articles') }}
|
||||
@include('components.form.select', ['name' => 'article_family_id', 'value' => $article_family_id ?? null, 'list' => $article_families ?? [], 'required' => true, 'with_empty' => ''])
|
||||
{{ Form::label('name', 'Code') }}
|
||||
@include('components.form.input', ['name' => 'code', 'value' => $code ?? null])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('name', 'Nom') }}
|
||||
@include('components.form.input', ['name' => 'name', 'value' => isset($name) ? $name : null, 'required' => true])
|
||||
@include('components.form.input', ['name' => 'name', 'value' => $name ?? null, 'required' => true])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('components.save')
|
||||
|
||||
@include('load.form.save')
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(function() {
|
||||
initSaveForm();
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@@ -1,7 +1,7 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('shop.tag_families.title'),
|
||||
'subtitle' => __('shop.tag_families.list'),
|
||||
'breadcrumb' => [__('shop.tag_families.title')]
|
||||
'title' => __('shop.tag_groups.title'),
|
||||
'subtitle' => __('shop.tag_groups.list'),
|
||||
'breadcrumb' => [__('shop.tag_groups.title')]
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
Reference in New Issue
Block a user