@foreach($products as $product)
@php $shop_name = (!empty($product->merchant['shop_name'])) ? ' ('.$product->merchant['shop_name'].')' : ''; echo ($product->private) ? '' : ''; @endphp {{__('Storehouse '.$product->storehouse) . $shop_name }} {{$product->type}}
{{__('ProductID')}} : {{$product['ProductID']}}
{{__('Cost price')}} : @if($product->offer && $product->offer_valid) {{formated_price($product->offer + $product->commissionSubtotal)}} {{formated_price($product->price)}} @else {{formated_price($product->new_price )}} @endif
{{__('Stock')}} : {{$product['stock']}}
{{__('View Details')}} {{-- --}}
@endforeach
@section('scripts') @endsection