Commit d3787e02 by Angel MAS

facturacion oculta

parent 46eb1e35
<?php
return [
"slug-shop" => "tienda",
"billing_enabled"=>false,
"slug-shop-category" => "categoria",
"product-index" => [
"pagination" => 15,
......
......@@ -33,9 +33,15 @@ setlocale(LC_MONETARY, 'en_US');
</a>
</li>
<li class="nav-item">
<a class="nav-link block" href="" data-toggle="tab" data-target="#tab-3">
<h6>Envio y factura</h6>
</a>
@if(config("shop.billing_enabled"))
<a class="nav-link block" href="" data-toggle="tab" data-target="#tab-3">
<h6>Envio y factura</h6>
</a>
@else
<a class="nav-link block" href="" data-toggle="tab" data-target="#tab-3">
<h6>Envio</h6>
</a>
@endif
</li>
@if($variable->count() > 0)
<li class="nav-item">
......@@ -223,6 +229,7 @@ setlocale(LC_MONETARY, 'en_US');
<div class="box-body">
<div class="row">
@if(config("shop.billing_enabled"))
<div class="col-md-6">
<h4>Datos de facturación</h4>
<p>
......@@ -283,6 +290,7 @@ setlocale(LC_MONETARY, 'en_US');
</a>
@endif
</div>
@endif
<div class="col-md-6">
......
......@@ -56,14 +56,16 @@
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group" >
{!! Form::label('category_sat_id', 'Categoría del sat', ['class'=>'control-label'])!!}
{!! Form::select('category_sat_id', $categoria_sat, null, ["class"=>"form-control", 'placeholder'=>'Elije una categoria']) !!}
@if(config("shop.billing_enabled"))
<div class="row">
<div class="col-md-6">
<div class="form-group" >
{!! Form::label('category_sat_id', 'Categoría del sat', ['class'=>'control-label'])!!}
{!! Form::select('category_sat_id', $categoria_sat, null, ["class"=>"form-control", 'placeholder'=>'Elije una categoria']) !!}
</div>
</div>
</div>
</div>
@endif
<div class="row">
@if($extras->count() > 0)
......
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