{{ DB::table('empresas')->count() == 0 ? 'SISCOM ' : DB::table('empresas')->first()->razon_social }}
{{ DB::table('empresas')->count() == 0 ? '- ' : DB::table('empresas')->first()->direccion_fiscal }}
Central telefónica: {{ DB::table('empresas')->count() == 0 ? '-' : DB::table('empresas')->first()->telefono }}
Email: {{ DB::table('empresas')->count() == 0 ? '-' : DB::table('empresas')->first()->correo }}
RUC {{ DB::table('empresas')->count() == 0 ? '- ' : DB::table('empresas')->first()->ruc }}
PEDIDO
{{ 'PE-'.$pedido->id}}
| FECHA DE DOCUMENTO | : | {{ getFechaFormato( $pedido->fecha_registro ,'d/m/Y')}} |
| FECHA DE ATENCION | : | {{ getFechaFormato( $pedido->fecha_registro ,'d/m/Y')}} |
| FECHA PROPUESTA | : | {{ getFechaFormato( $pedido->fecha_propuesta ,'d/m/Y')}} |
| CLIENTE | : | {{ $pedido->cliente_nombre }} |
| {{ $pedido->cliente->tipo_documento }} | : | {{ $pedido->cliente->documento }} |
| DIRECCIÓN | : | {{ $pedido->cliente->direccion }} |
| CORREO | : | {{ $pedido->cliente->correo_electronico }} |
| TELEFONO | : | {{ $pedido->cliente->telefono_movil }} |
| ATENDIDO POR | : | {{ $vendedor_nombre }} |
| CANT | UM | DESCRIPCIÓN | P. UNIT. | TOTAL | --}}CANT | PRODUCTO | DESCRIPCIÓN [TALLA/CANT] | {{-- @foreach ($tallas as $talla){{$talla->descripcion}} | @endforeach --}}P. UNIT. | TOTAL |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item['cantidad_total'] }} | {{ $item['producto_codigo'].' - '.$item['modelo_nombre'].' - '.$item['producto_nombre'].' - '.$item['color_nombre'] }} | @php $tallas = $item['tallas']; $descripcion = ''; @endphp @foreach ($tallas as $talla) @php $descripcion .= '[' . $talla['talla_nombre'] . '/' . intval($talla['cantidad']) . ']'; @endphp @endforeach{{ $descripcion }} | {{ number_format($item['precio_unitario_nuevo'], 2, ',', '.') }} | {{ number_format($item['subtotal'], 2, ',', '.') }} | @php $cantidadTotal+=$item['cantidad_total']; @endphp||||||
| 1 | EMBALAJE | - | {{ number_format($pedido->monto_embalaje, 2, ',', '.') }} | {{ number_format($pedido->monto_embalaje, 2, ',', '.') }} | ||||||
| 1 | ENVÍO | - | {{ number_format($pedido->monto_envio, 2, ',', '.') }} | {{ number_format($pedido->monto_envio, 2, ',', '.') }} | ||||||
| {{$cantidadTotal}} | {{-- | {{number_format($cotizacion->total_pagar + $cotizacion->monto_descuento, 2) }} | --}}{{number_format($pedido->total_pagar, 2) }} |
|
{{--
| --}}