FECHA DE INICIO: | {{SpanishDate(strtotime($data['date']['startDate']))}} | |||||||
FECHA DE FINAL: | {{SpanishDate(strtotime($data['date']['endDate']))}} | |||||||
|
Orden | Cliente | Teléfono | Fecha de Compra | productos | Total Compra | Abono | Saldo |
---|---|---|---|---|---|---|---|
{{$order->id}} | {{$order->client->name}} | {{$order->client->phone}} | {{SpanishDate(strtotime($order->created_at))}} | @foreach($order->products as $i=>$product) {{$product->name}} {{count($order->products)>$i+1?' - ':''}} @endforeach | {{number_format($order->total,2,'.','')}} | {{number_format($order->totalPaid,2,'.','')}} | {{number_format(($order->total - $order->totalPaid),2,'.','')}} |