Commit 917780d5 by Francisco Salazar

ocultar features y spectifications

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