{{ DB::table('empresas')->count() == 0 ? 'SISCOM ' : DB::table('empresas')->first()->razon_social }}

RUC {{ DB::table('empresas')->count() == 0 ? '- ' : DB::table('empresas')->first()->ruc }}

{{ DB::table('empresas')->count() == 0 ? '- ' : DB::table('empresas')->first()->direccion_fiscal }}

{{ $sede->nombre }}

{{ $sede->direccion }}

Teléfono: {{ $sede->telefono }}

RUC {{ DB::table('empresas')->count() == 0 ? '- ' : DB::table('empresas')->first()->ruc }}

COTIZACION

{{ 'CO-'.$cotizacion->id}}


@if ($empresa->condicion == 1)

@endif
FECHA DE DOCUMENTO : {{ getFechaFormato( $cotizacion->fecha_documento ,'d/m/Y')}}
FECHA DE ATENCION : {{ getFechaFormato( $cotizacion->fecha_atencion ,'d/m/Y')}}
CLIENTE : {{ $cotizacion->cliente->nombre }}
{{ $cotizacion->cliente->tipo_documento }} : {{ $cotizacion->cliente->documento }}
DIRECCIÓN : {{ $cotizacion->cliente->direccion }}
CORREO : {{ $cotizacion->cliente->correo_electronico }}
ATENDIDO POR : {{ $vendedor_nombre }}

{{-- --}} {{-- @foreach ($tallas as $talla) @endforeach --}} @php $cantidadTotal = 0; $cantidadTotalDesc = 0; @endphp @foreach($detalles as $item) @php $tallas = $item['tallas']; $descripcion = ''; @endphp @foreach ($tallas as $talla) @php $descripcion .= '[' . $talla['talla_nombre'] . '/' . intval($talla['cantidad']) . ']'; @endphp @endforeach @php $cantidadTotal+=$item['cantidad_total']; @endphp @endforeach @if($cotizacion->monto_embalaje!=0) @php $cantidadTotal+=1; @endphp @endif @if($cotizacion->monto_envio!=0) @php $cantidadTotal+=1; @endphp @endif {{-- --}}
CANT UM DESCRIPCIÓN P. UNIT. TOTALCANT PRODUCTO DESCRIPCIÓN [TALLA/CANT] {{$talla->descripcion}}P. UNIT. TOTAL
{{ $item['cantidad_total'] }} {{ $item['producto_codigo'].' - '.$item['modelo_nombre'].' - '.$item['producto_nombre'].' - '.$item['color_nombre'] }}{{ $descripcion }} {{ number_format($item['precio_unitario_nuevo'], 2, ',', '.') }} {{ number_format($item['subtotal'], 2, ',', '.') }}
1 EMBALAJE - {{ number_format($cotizacion->monto_embalaje, 2, ',', '.') }} {{ number_format($cotizacion->monto_embalaje, 2, ',', '.') }}
1 ENVÍO - {{ number_format($cotizacion->monto_envio, 2, ',', '.') }} {{ number_format($cotizacion->monto_envio, 2, ',', '.') }}
{{$cantidadTotal}} {{number_format($cotizacion->total_pagar + $cotizacion->monto_descuento, 2) }}{{number_format($cotizacion->total_pagar, 2) }}

@if ($mostrar_cuentas === "SI")
{{-- --}}
@foreach($empresa->bancos as $banco)

{{ $banco->descripcion}} {{ $banco->tipo_moneda}} N°: {{ $banco->num_cuenta}} CCI: {{ $banco->cci}}

@endforeach

SUBTOTAL: S/.

{{ number_format($cotizacion->sub_total, 2) }}

IGV: S/.

{{ number_format($cotizacion->total_igv, 2) }}

TOTAL: S/.

{{ number_format($cotizacion->total, 2) }}

@endif