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

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

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

Ref Date

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

Asset

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

Asset Type

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

Incident By

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

Custodian

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

Division

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

Employee

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

External name

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

External mob

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

Depatment

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

Work Department

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

Damage Details

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

Action Taken

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

Incident Type

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

Incident Status & Date

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

{!!QrCode::size(config('app.qrcode_size', 125))->generate(trans_url('admin/incident_report/incident_report/preview/'.$incident_report->getRouteKey()))!!}
{!! DNS1D::getBarcodeSVG($incident_report->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