@lang('models')

@if(count($data->models) >= 1) @foreach($data->models as $model) @endforeach
@can('models_view') {{$model->name}} @else {{$model->name}} @endcan
@else @lang('no_amount') @lang('models') @endif

@lang('products')

@if(count($data->products) >= 1) @foreach($data->products as $product) @endforeach
@if(config('app.barcode_mode') == 'dynamic') {{$product->category->name}}.@if(!empty($product->subcategory->name)){{$product->subcategory->name}}.@endif{{$product->brand->name}}.{{$product->model->name}}@if(!empty($product->name)).{{$product->name}}@endif @endif @if(config('app.barcode_mode') == 'static') {{$product->barcode}} @endif
@else @lang('no_amount') @lang('products') @endif