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