@extends('layouts.app') @section('content') {{-- @dump($data) --}}
Agregar Producto
{!! Form::open(['url' => 'servicios_funerarios/productos/' .$id, 'method' => 'get', 'id' => 'frmFiltros']) !!}
 
@foreach ($data as $item) @if ($item->servicio_impuesto_id) @else @endif @if ($item->servicio_impuesto_incluido == 1) @else @endif @endforeach
# Imagen Servicio Tipo Nombre Impuesto Impuesto Incluido en Valor? Acciones
{!! Form::select('servicio_tipo', $servicios_tipo, $servicio_tipo, [ 'id' => 'servicio_tipo', 'class' => 'form-control select2', 'style' => 'width: 100%;', 'onchange' => "buscar('servicio_tipo')", 'placeholder' => 'Seleccionar', ]) !!} {!! Form::select('servicio', $servicios, $servicio, [ 'id' => 'servicio', 'class' => 'form-control select2', 'style' => 'width: 100%;', 'onchange' => "buscar('servicio')", 'placeholder' => 'Seleccionar', ]) !!} {!! Form::select('impuesto', $impuestos, $impuesto, [ 'id' => 'tiene_planilla', 'class' => 'form-control select2', 'placeholder' => 'Planilla', 'onchange ' => "buscar('impuesto')", 'placeholder' => 'Seleccionar', ]) !!} {!! Form::select('impuesto_incluido', ['1' => 'SI', '0' => 'No'], $impuesto_incluido, [ 'id' => 'tiene_planilla', 'class' => 'form-control select2', 'placeholder' => 'Seleccionar', 'onchange ' => "buscar('impuesto_incluido')", ]) !!} {{-- {!! Form::select('asociacion',$asociaciones,$asociacion,['id'=>'asociacion','class'=>'form-control select2','style'=>'width: 100%;','onchange'=>"buscar('asociacion')",'placeholder'=>'Asociacion']) !!} --}}
{{ $item->servicio_tipo_nombre }} {{ $item->servicio_nombre }} @if ($item->servicio_impuesto_id == 1) 13% IVA AUMENTADO @else IMPUESTO DE LUJO @endif No definidoSiNo +
{{ $data->appends(['servicios_tipo'=>$servicios_tipo,'impuestos'=>$impuestos, 'servicios'=>$servicios,'servicio_tipo'=>$servicio_tipo,'impuesto_incluido'=>$impuesto_incluido])->links() }}
@endsection @section('script') @endsection