@isset($machine->id) @endisset @isset($machine->category()->first()->name) @endisset @isset($machine->type()->first()->name) @endisset @isset($machine->subcategory()->first()->name) @endisset @isset($machine->brand) @endisset @isset($machine->model) @endisset @isset($machine->machine_type) @endisset @isset($machine->location) @endisset @isset($machine->created_at) @endisset @isset($machine->year_of_manufacture) @endisset @isset($machine->licence_plate) @endisset @isset($machine->running_hours) @endisset @isset($machine->customer_name) @endisset @if($machine->extra_data !== null && $machine->extra_data->extra_data !== null) @foreach(json_decode($machine->extra_data->extra_data) as $ef) @endforeach @endif
{{trans('api.id',[],$locale)}} {{$machine->id}}
{{trans('api.category',[],$locale)}} {{trans("categories.{$machine->category()->first()->name}",[],$locale)}}
{{trans('api.type',[],$locale)}} {{trans("type.{$machine->type()->first()->name}",[],$locale)}}
{{trans('api.subcategory',[],$locale)}} {{trans("subcategory.{$machine->subcategory()->first()->name}",[],$locale)}}
{{trans('api.brand',[],$locale)}} {{$machine->brand}}
{{trans('api.model',[],$locale)}} {{$machine->model}}
{{trans('api.machine_type',[],$locale)}} {{$machine->machine_type}}
{{trans('api.location',[],$locale)}} {{$machine->location}}
{{trans('api.issued_date',[],$locale)}} {{$machine->created_at}}
{{trans('api.year_of_manufacture',[],$locale)}} {{$machine->year_of_manufacture}}
{{trans('api.licence_plate',[],$locale)}} {{$machine->licence_plate}}
{{trans('api.running_hours',[],$locale)}} {{$machine->running_hours}}
{{trans('api.customer_name',[],$locale)}} {{$machine->customer_name}}
{{$ef->translatable ? trans("fields.$ef->attribute_name",[],$locale) : $ef->attribute_name}} {{$ef->translatable_value ? trans("fields.$ef->value",[],$locale) : $ef->value}}
@foreach($machine->images as $image)
@endforeach