@extends('layouts.app') @section('content')
Informe de ventas por vendedor @if($query != null) @endif
@include('reports.utils.files_search') @if (isset($data) && count($data) >= 1) @foreach($data as $product)
( ! ) Notice: Undefined variable: product in C:\wamp64\www\proyects\POS\resources\views\reports\sales_salesman.blade.php on line 22
Call Stack
#TimeMemoryFunctionLocation
10.0002360168{main}( )...\sales_salesman.blade.php:0

( ! ) Notice: Trying to get property 'quantity' of non-object in C:\wamp64\www\proyects\POS\resources\views\reports\sales_salesman.blade.php on line 22
Call Stack
#TimeMemoryFunctionLocation
10.0002360168{main}( )...\sales_salesman.blade.php:0

( ! ) Notice: Undefined variable: product in C:\wamp64\www\proyects\POS\resources\views\reports\sales_salesman.blade.php on line 23
Call Stack
#TimeMemoryFunctionLocation
10.0002360168{main}( )...\sales_salesman.blade.php:0

( ! ) Notice: Trying to get property 'total' of non-object in C:\wamp64\www\proyects\POS\resources\views\reports\sales_salesman.blade.php on line 23
Call Stack
#TimeMemoryFunctionLocation
10.0002360168{main}( )...\sales_salesman.blade.php:0
@endforeach

Cantidad total: {{$sum_tot_}}

Precio total: ${{number_format($sum_price_,0)}}

@foreach($data as $product) @endforeach
Marca Referencia Descripción Talla Color Genero Fecha Cantidad Valor
{{$product->marca}} {{$product->ref}} {{$product->description}} {{$product->talla}} {{$product->color}} {{$product->gender}} {{$product->date}} {{$product->quantity}} ${{number_format($product->total, 0)}}
TOTALES {{ number_format($sum_tot_)}} ${{ number_format($sum_price_ )}}
@endif
@endsection