Reporte de Autoventa Total Asignado $ {{ $total_assigned }} Total Vendido $ {{ $total_sold }} Total Retornado $ {{ $total_return }} INVENTARIO {{-- Producto Código Unidad de Medida Cantidad Inicial Cantidad Vendida Cantidad Final @foreach($data as $auto_sale) Vendedor: {{ $auto_sale->seller }} Fecha: {{ \Carbon\Carbon::parse($auto_sale->date)->format('d/m/Y') }} {{ $auto_sale->warehouse }} @foreach($auto_sale->data as $item) {{ $item['product_name'] }} {{ $item->product_code }} {{ $item->product_unit }} {{ $item->init_quantity }} {{ $item->sold_quantity }} {{ $item->finish_quantity }} @endforeach @endforeach --}} Producto Código Unidad de Medida Cantidad Inicial Cantidad Vendida Cantidad Final @foreach($data as $auto_sale) Vendedor: {{ $auto_sale['seller'] }} Fecha: {{ \Carbon\Carbon::parse($auto_sale['date'])->format('d/m/Y') }} - {{ \Carbon\Carbon::parse($auto_sale['date_until'])->format('d/m/Y') }} {{ $auto_sale['warehouse'] }} @foreach($auto_sale['data'] as $item) {{ $item['product_name'] }} {{ $item['product_code'] }} {{ $item['product_unit'] }} {{ $item['init_quantity'] }} {{ $item['sold_quantity'] }} {{ $item['finish_quantity'] }} @endforeach @endforeach