{{ $product_model->name }}

{{ $product_model->sku }}
Product image
@lang('lang_v1.selling_price')
@php $show_sell_range = !is_null($min_sell) && !is_null($max_sell) && $min_sell != $max_sell && $product_model->type == 'variable'; @endphp @if(is_null($min_sell) && is_null($max_sell)) -- @else {{ @num_format($min_sell) }}@if($show_sell_range) - {{ @num_format($max_sell) }}@endif @endif
@lang('product.brand')
{{ $product_model->brand->name ?? '--' }}
@php //Category shares this row with the masked price cells, so split the width evenly between them. $quick_view_cells = 1; if(auth()->user()->can('view_distributor_price')) { $quick_view_cells++; } if(auth()->user()->can('view_reseller_price')) { $quick_view_cells++; } $quick_view_col = $quick_view_cells == 3 ? 'col-xs-4' : ($quick_view_cells == 2 ? 'col-xs-6' : 'col-xs-12'); @endphp
@can('view_distributor_price')
@lang('lang_v1.distributor_price')
@php $show_distributor_range = !is_null($min_distributor) && !is_null($max_distributor) && $min_distributor != $max_distributor && $product_model->type == 'variable'; @endphp ***** @if(is_null($min_distributor) && is_null($max_distributor)) -- @else {{ @num_format($min_distributor) }}@if($show_distributor_range) - {{ @num_format($max_distributor) }}@endif @endif
@endcan @can('view_reseller_price')
@lang('lang_v1.reseller_price')
@php $show_range = !is_null($min_reseller) && !is_null($max_reseller) && $min_reseller != $max_reseller && $product_model->type == 'variable'; @endphp ***** @if(is_null($min_reseller) && is_null($max_reseller)) -- @else {{ @num_format($min_reseller) }}@if($show_range) - {{ @num_format($max_reseller) }}@endif @endif
@endcan
@lang('product.category')
{{ $product_model->category->name ?? '--' }}
@lang('purchase.business_location') @lang('report.stock'):
@foreach($locations as $loc) @php $qty = (float)($stock_by_location[$loc->id] ?? 0); @endphp @endforeach
@lang('purchase.business_location') @lang('report.stock')
{{ $loc->name }} {{ @num_format($qty) }}