@foreach($data AS $datos)
|
|
{{ $value_empresa->direccion }} {{ $value_empresa->ciudad }}, {{ $value_empresa->provincia }}, República Dominicana. Tel: {{ $value_empresa->tel1 }} WhatsApp: {{$value_empresa->whatsapp }} RNC: {{ $value_empresa->rnc }} | {{ $value_empresa->web }} |
Datos ClienteFecha: {{ Carbon\Carbon::parse($datos->created_at)->format('d-m-Y') }} @php $tipo_documento = DB::table('tipo_documentos')->where('id', $value_cliente->id_tipo_documento)->get('nombre'); @endphpCliente: {{ strtoupper($value_cliente->nombre) }} Dirección:{{ $value_cliente->direccion }}
@foreach($tipo_documento as $value_tipo_documento)
@if($value_cliente->documento !== '')
{{ $value_tipo_documento->nombre }}: {{ $value_cliente->documento }} @endif @endforeachCorreo 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
{{ sprintf("FAC-%'.06d", $datos->id) }}@foreach($vendedor as $value_vendedor)Vendedor: {{$value_vendedor->name}} @endforeachCondición: NO PAGADO Fecha Vencimiento: {{ Carbon\Carbon::parse($datos->vencimiento_factura)->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) }} |
| 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) }} |
| Recibido por: | Autorizado por: |
Impreso por {{ auth()->user()->name }}