Commit 917780d5 by Francisco Salazar

ocultar features y spectifications

parent 8c5fac2e
...@@ -32,8 +32,12 @@ ...@@ -32,8 +32,12 @@
<th>#</th> <th>#</th>
<th>Producto</th> <th>Producto</th>
<th>Descripción</th> <th>Descripción</th>
@if(config('product.show-form.features'))
<th>Características</th> <th>Características</th>
@endif
@if(config('product.show-form.specifications'))
<th>Especificaciones</th> <th>Especificaciones</th>
@endif
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
...@@ -56,8 +60,12 @@ ...@@ -56,8 +60,12 @@
{data: 'id', name: 'id'}, {data: 'id', name: 'id'},
{data: 'main', name: 'main'}, {data: 'main', name: 'main'},
{data: 'description', name: 'description'}, {data: 'description', name: 'description'},
@if(config('product.show-form.features'))
{data: 'features', name: 'features'}, {data: 'features', name: 'features'},
@endif
@if(config('product.show-form.specifications'))
{data: 'specifications', name: 'specifications'}, {data: 'specifications', name: 'specifications'},
@endif
{data: 'form', name: 'form'}, {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