Commit 17cb5a0c by Francisco Salazar

version minima

parent 6be46607
......@@ -5,6 +5,7 @@ return [
"slug-shop-category" => "categoria",
"tags-enable" => false,
"subcategory-enable" => false,
"version-minima-enable" => true,
"product-index" => [
"pagination" => 15,
"otros" => 3
......
......@@ -7,18 +7,17 @@
{!! Form::label('slug', 'URL Slug *') !!}
{!! Form::text('slug', null, ["class"=>"form-control", "required"=>"required", "placeholder"=>"Coloque aquí la liga o URL de la categoría", "id"=>"second"]) !!}
</div>
@if(config("shop.version-minima-enable") == false)
<div class="form-group">
{!! Form::label('description', 'Resumen') !!}
{!! Form::text('description', null, ["class"=>"form-control", "placeholder"=>"Coloque la información descriptiva de la categoría"]) !!}
</div>
@endif
<div class="form-group">
{!! Form::label('active', 'Estado') !!}
{!! Form::select('active', [true=>'Activo', false=>'Inactivo'], null, ["class"=>"form-control", "required"=>"required"]) !!}
</div>
@if(config("shop.version-minima-enable") == false)
<div class="form-group">
{!! Form::label('portada', 'Imagén de portada') !!}
@if (isset($category))
......@@ -31,4 +30,5 @@
@endif
<br>
{!! Form::file('portada', null, ["class"=>"form-control"]) !!}
</div>
\ No newline at end of file
</div>
@endif
\ No newline at end of file
......@@ -122,7 +122,7 @@
@endif
</div>
@if(config("shop.version-minima-enable") == false)
<div class="row">
<div class="col-md-6">
{!! Form::label('description', 'Descripción', ['class'=>'control-label'])!!}
......@@ -140,5 +140,14 @@
{!! Form::textarea('specifications', null, ["class"=>"form-control", "required"=>"required", 'id'=>'body', 'rows'=>"30", 'cols'=>"80"]) !!}
</div>
</div>
@endif
@if(config("shop.version-minima-enable"))
<div class="row">
<div class="col-md-12">
{!! Form::label('description', 'Descripción', ['class'=>'control-label'])!!}
{!! Form::textarea('description', null, ["class"=>"form-control", "required"=>"required", 'id'=>'body', 'rows'=>"30", 'cols'=>"80"]) !!}
</div>
</div>
@endif
......@@ -32,8 +32,10 @@
<th>#</th>
<th>Producto</th>
<th>Descripción</th>
<th>Características</th>
<th>Especificaciones</th>
@if(config("shop.version-minima-enable") == false)
<th>Características</th>
<th>Especificaciones</th>
@endif
<th></th>
</tr>
</thead>
......@@ -56,8 +58,10 @@
{data: 'id', name: 'id'},
{data: 'main', name: 'main'},
{data: 'description', name: 'description'},
{data: 'features', name: 'features'},
@if(config("shop.version-minima-enable") == false)
{data: 'features', name: 'features'},
{data: 'specifications', name: 'specifications'},
@endif
{data: 'form', name: 'form'},
]
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment