@foreach($data as $value)
{{ $val->direccion }},
{{ $val->ciudad }} {{ $val->provincia }} R.D.
Tel: {{ $val->tel1 }} || RNC: {{ $val->rnc }}
Orden #: {{ str_pad($value->id, 9, 'CRE-0000', STR_PAD_LEFT) }}
Fecha de la orden: {{ Carbon\Carbon::parse($value->created_at)->format('d M Y') }}
Cliente: {{ $value->cliente }}
Factura #: {{ str_pad($value->id_factura, 9, 'FAC-0000', STR_PAD_LEFT) }}
| PRODUCTO | CANT | PRECIO |
|---|---|---|
| {{ $nombre[$i] }} | {{ $cantidad[$i] }} | RD${{ number_format($total[$i], 2) }} |
| SUBTOTAL | RD${{ number_format($subtotal, 2) }} | |
| ITBIS | RD${{ number_format($itbis, 2) }} | |
| TOTAL | RD${{ number_format($value->total_final, 2) }} |
¡GRACIAS POR SU COMPRA!