| {{ $item->name }} |
{{ $item->category ? $item->category->name : '' }} |
{{-- {{ $item->type == \App\Models\Product::NORMAL ? $item->stock :
$item->size_colors->sum(function($item) {
return $item->stock;
}) }}
| --}}
{{-- {{$item->stock_acumulado > 0 ? $item->stock_acumulado : $item->stock}} | --}}
@if(isset($item->stock_warehouse) && $item->stock_warehouse != '')
{{ $item->stock_warehouse }}
@else
@if($item->stock_acumulado > 0)
{{ $item->stock_acumulado }}
@else
{{ $item->stock }}
@endif
@endif
|
{{ $item->unit }} |
{{-- {{ $item->type == \App\Models\Product::NORMAL ? $item->reservation :
$item->reservation_acumulado }}
| --}}
{{ $item->reservation_acumulado > 0 ? $item->reservation_acumulado : $item->reservation }}
|
@if ($currency == Currency::DOLAR)
{{ $item->total_orders }} |
@else
{{ $item->total_orders_bs}} |
@endif
@if ($currency == Currency::DOLAR)
{{ $item->total_purchases }} |
@else
{{ $item->total_purchases_bs}} |
@endif
@endforeach