@if($cotizacion->servicio->codigo_servicio == "IMLCL") @else @endif
{{--Variable--}}
{{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}}
Señores: {{$cotizacion->cliente->nombre_cliente}}Fecha: {{date("d/m/Y", strtotime($cotizacion->created_at))}}
Atencion : {{$cotizacion->cliente->contacto1}}Validez: {{date("d/m/Y", strtotime($detalle->fecha_limite))}}

{{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}}
.
.
Lugar de recepcion (SD) {{$detalle->origen}} Incoterm
Puerto de Carga (CY) {{$detalle->carga}} {{$detalle->incoterm->inter_name}}
Puerto de Descarga (CY) {{$detalle->descarga}} Mercancia
Lugar de Entrega (SD) {{$detalle->destino}} {{$detalle->tipo_carga}}


{{--Variable--}} {{--Variable--}}
1 CBM = {{$detalle->valor_kg}} KGSW/M total segun datos recibidos {{$param->factor}}

a) Cargos variables

{{$total=0, $totalF=0}}
@php $totalKTV=0; $totalTTV=0; $totalCAV=0; $totalIVAV=0; @endphp @foreach($ofertServices as $service) @if($service->factor == 1) @php $sub=$service->valor * $service->cantidad * $param->factor; if($service->iva == 1){ $iva=$sub*0.13; } else { $iva=0; } $total=$iva+$sub; @endphp {{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}} @php $totalTTV+=$total; $totalCAV+=$sub; $totalIVAV+=$iva; $totalKTV+=$service->valor; @endphp @endif @endforeach {{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}}
Concepto Costo por W/M Costo aplicable IVA Total
{{$service->serv_name}} $ {{number_format($service->valor,2)}}$ {{number_format($sub,2)}}$ {{number_format($iva,2)}}$ {{number_format($total,2)}}
Monto Total $ {{number_format($totalKTV,2)}}$ {{number_format($totalCAV,2)}}$ {{number_format($totalIVAV,2)}}$ {{number_format($totalTTV,2)}}

b) Cargos fijos

@php $totalKTV=0; $totalTTV=0; $totalCAV=0; $totalIVAV=0; @endphp @foreach($ofertServices as $service) @if($service->factor != 1) @php $sub=$service->valor * $service->cantidad; if($service->iva == 1){ $iva=$sub*0.13; } else { $iva=0; } $total=$iva+$sub; @endphp {{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}} @php $totalTTV+=$total; $totalCAV+=$sub; $totalIVAV+=$iva; $totalKTV+=$service->valor; @endphp @endif @endforeach {{--Variable--}} {{--Variable--}} {{--Variable--}} {{--Variable--}}
Concepto Costo unitario Costo aplicable IVA Total
{{$service->serv_name}} $ {{number_format($service->valor,2)}}$ {{number_format($sub,2)}}$ {{number_format($iva,2)}}$ {{number_format($total,2)}}
Monto Total $ {{number_format($totalKTV,2)}}$ {{number_format($totalCAV,2)}}$ {{number_format($totalIVAV,2)}}$ {{number_format($totalTTV,2)}}

Terminos y condiciones

@php echo $detalle->nota_extra @endphp

{{$vendedor->name}}
{{$vendedor->cargo}}
APOPSA EL SALVADOR
Teléfono: (503) 2223-4222
Móvil: {{$vendedor->telefono}}
Email: {{$vendedor->email}}