@extends('admin::curd.preview') @section('heading') @stop @section('title') @stop @section('breadcrumb') @stop @section('entry') @stop @section('tools') @stop @section('content')

{{ ucfirst(@$clinical_incident->ref) }}

@if ($clinical_incident->incidentby=='Internal') @endif @if ($clinical_incident->incidentby=='External') @endif

Ref Date

{{ @$clinical_incident->created_at!='0000-00-00'?@date('d M , Y',strtotime($clinical_incident->created_at)):'' }}

Asset

{{ ucfirst(@$clinical_incident->asset->name) }}

Asset Type

{{ ucfirst(@$clinical_incident->assettype) }}

Incident By

{{ ucfirst(@$clinical_incident->incidentby) }}

Custodian

{{ ucfirst(@$clinical_incident->custodian->name) }}

Division

{{ ucfirst(@$clinical_incident->division->name) }}

Employee

{{ ucfirst(@$clinical_incident->employee->name) }}

External name

{{ ucfirst($clinical_incident->externalname) }}

External mob

{{ ucfirst(@$clinical_incident->externalmobile) }}

Depatment

{{ ucfirst(@$clinical_incident->department->name) }}

Work Department

{{ ucfirst(@$clinical_incident->work_department->name) }}

Damage Details

{{ ucfirst(@$clinical_incident->damagedetails) }}

Action Taken

{{ ucfirst(@$clinical_incident->action) }}

Incident Type

{{ ucfirst($clinical_incident->incident_type) }}

Incident Status & Date

{{ ucfirst(@$clinical_incident->incident_reports_status) }} - {{ @$clinical_incident->updated_at!='0000-00-00'?@date('d M , Y',strtotime($clinical_incident->updated_at)):'' }}

{!!QrCode::size(config('app.qrcode_size', 125))->generate(trans_url('admin/clinical_incident/clinical_incident/preview/'.$clinical_incident->getRouteKey()))!!}
{!! DNS1D::getBarcodeSVG($clinical_incident->bar_code, "C39",1,33); !!}
@if(!empty(@$assets)) @else @endif

Asset Details

Assets Values
Asset Id {{ @$assets->asset->ref }}
Asset Name {{ ucfirst(@$assets->asset->name) }}
Category {{ ucfirst(@$assets->asset->category->name)}}
Subcategory {{ ucfirst(@$assets->asset->subcategory->name) }}
Asset Group {{ ucfirst(@$assets->asset->group->name) }}
Company {{ ucfirst(@$assets->asset->company->name)}}
Division {{ ucfirst(@$assets->asset->division->name) }}
Custodian {{ ucfirst(@$assets->asset->custodian->name) }}
Supplier {{ ucfirst(@$assets->asset->supplier->name) }}

No Assets

@stop