Asset Details: {{ $asset->name }}

@if($asset->asset_type === 'tangible') @if($asset->category)@endif @if($asset->branch)@endif @if($asset->brand) @endif @if($asset->serial_number)@endif @if($asset->tag_number)@endif @if($asset->employee)@endif @if($asset->assigned_date)@endif @if($asset->status)@endif @if($asset->purchase_date)@endif @if($asset->warranty_expiry_date)@endif @if($asset->location)@endif @if($asset->condition)@endif @elseif($asset->asset_type === 'intangible') @if($asset->brand) @endif @if($asset->depreciation_rate)@endif @if($asset->useful_life)@endif @if($asset->insurance_details)@endif @if($asset->notes)@endif @if($asset->category)@endif @if($asset->branch)@endif @if($asset->employee)@endif @if($asset->assigned_date)@endif @if($asset->purchase_date)@endif @if($asset->valid_till)@endif @if($asset->status)@endif @if($asset->location)@endif @if($asset->condition)@endif @if($asset->vendor)@endif @if($asset->invoice_number)@endif @endif @if($asset->price)@endif @if($asset->remarks)@endif
Asset Name {{ $asset->name }}
Asset Type {{ ucfirst($asset->asset_type) }}
Category{{ $asset->category->name }}
Branch{{ $asset->branch->name }}
Brand {{ is_object($asset->brand) ? $asset->brand->name : $asset->brand }}
Serial Number{{ $asset->serial_number }}
Tag Number{{ $asset->tag_number }}
Assigned To{{ $asset->employee->name }}
Assigned Date{{ \Carbon\Carbon::parse($asset->assigned_date)->format('d-m-Y') }}
Status{{ ucfirst($asset->status) }}
Purchase Date{{ \Carbon\Carbon::parse($asset->purchase_date)->format('d-m-Y') }}
Warranty Expiry{{ \Carbon\Carbon::parse($asset->warranty_expiry_date)->format('d-m-Y') }}
Location{{ $asset->location }}
Condition{{ ucfirst($asset->condition) }}
Brand {{ is_object($asset->brand) ? $asset->brand->name : $asset->brand }}
Depreciation Rate{{ $asset->depreciation_rate }}%
Useful Life (Years){{ $asset->useful_life }}
Insurance Details{{ $asset->insurance_details }}
Notes{{ $asset->notes }}
Category{{ $asset->category->name }}
Branch{{ $asset->branch->name }}
Assign To{{ $asset->employee->name }}
Assigned Date{{ \Carbon\Carbon::parse($asset->assigned_date)->format('d-m-Y') }}
Purchase Date{{ \Carbon\Carbon::parse($asset->purchase_date)->format('d-m-Y') }}
Valid Till{{ \Carbon\Carbon::parse($asset->valid_till)->format('d-m-Y') }}
Status{{ ucfirst($asset->status) }}
Location{{ $asset->location }}
Condition{{ ucfirst($asset->condition) }}
Vendor{{ $asset->vendor }}
Invoice Number{{ $asset->invoice_number }}
Price{{ number_format($asset->price, 2) }}
Remarks{{ $asset->remarks }}