@extends('Layouts.master') @section('content')

@lang('model') {{$data->name}}

@can('models_edit') @endcan

@lang('brand') : @can('brands_view') {{$data->brand->name}} @endcan

@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') {{$tracked->loanable->barcode}} @endif
@else @lang('no_amount') @lang('products') @endif
@endsection @section('scripting') @endsection