@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


Valor de Inventario








Costo de Inventario

${{number_format($data['CostoInventario'], 2, ',', '.')}}

Valor del inventario

${{number_format($data['ValorInventario'], 2, ',', '.')}}
@foreach ($data['lista'] as $key => $order) @endforeach

Producto

Cantidad

Costo

Costo Total<

Precio

Precio total

{{ $order['name'] }}

{{$order['stock_quantity']}}

{{$order['coste']}}

{{$order['costeAll']}}

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

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