@extends('cr_blank') @section('content')
{{ $title }}
@if ($ini && $fin)
Del {{ date('d/m/Y',strtotime($ini)) }} al {{ date('d/m/Y',strtotime($fin)) }}
@endif @if ($usuario)
Distribuidor: {{ $user_id }}
{{--
Distribuidor: {{ $user->nombre_completo }} {{ $user_id }}
--}} @endif @foreach ($data as $item) @endforeach {{-- --}}
N. Fecha Estado Distribuidor Nro. Pedidos Nro. Entregas Pagado Deuda Total
{{ ++$i }} {{ date('d-m-Y', strtotime($item->fecha)) }} {{ $item->estado }} {{ $item->usuario->nombre_completo }} {{ $item->nro_pedidos }} {{ $item->nro_entregados }} {{ number_format($item->pagado,2) }} {{ number_format($item->deuda,2) }} {{ number_format($item->total,2) }}
Total {{ $pedidos }} {{ $entregados }} {{ number_format($pagado,2) }} {{ number_format($deuda,2) }} {{ number_format($total,2) }}
TOTAL {{ number_format($data->total,2) }}
{{--
{{ $txt_total }}
--}} @endsection @section('scripts') @endsection