{{ Form::label('department_id', __('messages.issued_item.department_id').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{$issuedItem->department->name}}
{{ Form::label('user_id', __('messages.issued_item.user_id').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{$issuedItem->user->full_name}}
{{ Form::label('issued_by', __('messages.issued_item.issued_by').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ $issuedItem->issued_by}}
{{ Form::label('issued_date', __('messages.issued_item.issued_date').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ date('jS M, Y', strtotime($issuedItem->issued_date)) }}
{{ Form::label('return_date', __('messages.issued_item.return_date').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} @if(!empty($issuedItem->return_date)) {{ date('jS M, Y', strtotime($issuedItem->return_date)) }} @else {{ __('messages.common.n/a') }} @endif
{{ Form::label('item_category', __('messages.issued_item.item_category').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{$issuedItem->item->itemcategory->name}}
{{ Form::label('item', __('messages.issued_item.item').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ $issuedItem->item->name}}
{{ Form::label('quantity', __('messages.issued_item.quantity').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }}

{{ $issuedItem->quantity}}

{{ Form::label('status', __('messages.common.status').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }}

{{ ($issuedItem->status) ? __('messages.issued_item.item_returned') : __('messages.issued_item.item_return') }}

{{ Form::label('created_at', __('messages.common.created_on').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ $issuedItem->created_at->diffForHumans() }}
{{ Form::label('description', __('messages.issued_item.description').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {!! !empty($issuedItem->description) ? nl2br(e($issuedItem->description)) : __('messages.common.n/a') !!}