@foreach($data as $datos)
|
|
HOJA DE COTIZACIÓN |
|
{{ $value_empresa->direccion }} {{ $value_empresa->ciudad }}, {{ $value_empresa->provincia }}, República Dominicana. Tel: {{ $value_empresa->tel1 }} WhatsApp: {{ $value_empresa->whatsapp }} {{ $value_empresa->web }} RNC: {{ $value_empresa->rnc }} |
Datos ClienteFecha: {{ $datos->created_at }} @php $tipo_documento = DB::table('tipo_documentos')->where('id', $value_cliente->id_tipo_documento)->get('nombre'); @endphpCliente: {{ $value_cliente->nombre }} @foreach($tipo_documento as $value_tipo_documento){{ $value_tipo_documento->nombre }}{{ $value_cliente->documento }} @endforeachDirección:{{ $value_cliente->direccion }} RNC:- Correo electrónico:{{ $value_cliente->email }} Telefono:{{ $value_cliente->tel }} @if($value_cliente->cel != null)Celular:{{ $value_cliente->cel }} @elseCelular:- @endif @if($value_cliente->whatsapp != null)WhatsApp:{{ $value_cliente->whatsapp }} @elseWhatsApp:- @endif |
@endforeach
{{ str_pad($datos->numero_cotizacion, 9, 'COT-0000', STR_PAD_LEFT) }}@foreach($vendedor as $value_vendedor)Vendedor: {{$value_vendedor->name}} @endforeachFecha Vencimiento: {{ Carbon\Carbon::parse($datos->vencimiento_cotizacio)->format('d-m-Y') }} |
| Código | Producto / Descripción | Cantidad | P. Total | Sub Total |
| {{ $codigo[$i] }} | {{ $nombre[$i] }}, {{ $descripcion[$i] }} | {{ $cantidad[$i] }} | RD${{ number_format($precio_total[$i], 2) }} | RD${{ number_format($subtotal[$i], 2) }} |
| Externo | {{ $nombre[$i] }} | {{ $cantidad[$i] }} | RD${{ number_format($precio_total[$i], 2) }} | RD${{ number_format($subtotal[$i], 2) }} |
| Subtotal | @php $total = $datos->total; @endphp @php $subtotal = $datos->total - $datos->itbis; @endphpRD${{ number_format($subtotal, 2) }} | |||
|---|---|---|---|---|
| ITBIS | RD${{ number_format($datos->itbis, 2) }} | |||
| Total | RD$ {{ number_format($total, 2) }} |
NOTA: {{ $value->contenido }}
| Recibido por: | Autorizado por: |
Impreso por {{ auth()->user()->name }}