@if($data['user']['type'] === 2) @else @endif

@if($data['user']['type'] === 2) {{$data['user']->Ecommerce->brand_name}} @else {{$data['user']['ownUser']->Ecommerce->brand_name}} @endif

@if( $data['user']['type'] === 2) {{$data['user']->Ecommerce->DocumentType->abrevitation}} {{$data['user']->Ecommerce->nit}} @else {{$data['user']['ownUser']->Ecommerce->DocumentType->abrevitation}} {{$data['user']['ownUser']->Ecommerce->nit}} @endif

Período:

@if(is_string($data['fecha'])) {{$data['fecha']}} @else {{$data['fecha']['from']}} - {{$data['fecha']['to']}} @endif


Ventas por bodegas








Número de ventas

{{$data['cantidadLista']}}

Cantidad POS

{{$data['countPos']}}
${{number_format($data['totalPOS'])}}

Cantidad Online

{{$data['countOnline']}}
${{number_format($data['totalOnline'])}}

Total

{{$data['countPos'] + $data['countOnline']}}
${{number_format($data['totalPOS'] + $data['totalOnline'])}}
@foreach ($data['lista'] as $key => $order) @endforeach

Referencia

Pago

Fecha

Subtotal

Descuento

Impuesto

Total

{{$order['reference']}}

{{$order['is_pay']}}

{{$order['date_pay']}}

${{number_format($order['subtotal'])}}

${{number_format($order['discount'])}}

${{number_format($order['tax_total'])}}

${{number_format($order['total'])}}