@extends('layouts.admin') @section('content')

{{ $title ?? '' }}

@foreach ($model->getAttributes() as $key => $value) @if (str_contains($key, 'deleted_at') || str_contains($key, 'password')) @else @endif @endforeach
{{ __('label.' . $key) }} @if (str_contains($key, 'image') || str_contains($key, 'picture') || str_contains($key, 'logo')) @elseif (str_contains($key, 'user_id')) {{ $model->user->name ?? ($model->organization->name ?? '') }} @else {{ $value }} @endif
{{--
ID {{ $model->id }}
Registration Number {{ $model->registration_number }}
Type {{ $model->type }}
Type Description {{ $model->type_description }}
Material {{ $model->material }}
Common Name {{ $model->common_name }}
Description {{ $model->description }}
Origin {{ $model->origin }}
How Own {{ $model->how_own }}
Where Saved {{ $model->where_saved }}
From when {{ $model->from_when }}
Length {{ $model->length }}
Width {{ $model->width }}
Height {{ $model->hight }}
Diameter {{ $model->diameter }}
Weight {{ $model->weight }}
Count {{ $model->count }}
Time Details {{ $model->time_details }}
Location {{ $model->background_location }}
Special Item {{ $model->special_item }}
Status {{ $model->status }}
User {{ $model->user->name ?? ($model->organization->name ?? '') }}
QR @if ($model->qr) {!! QrCode::size(100)->generate($model->qr) !!} @endif
Images
Created Time {{ $model->created_at }}
Updated Time {{ $model->updated_at }}
--}}
@endsection