@extends('layouts.app') @section('title') All Assets @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')Asset Tag | Name | Brand | Status | Asset Type | Depreciation Policy | Depreciation Rate | Action |
---|---|---|---|---|---|---|---|
{{$list->asset_tag }} | {{ $list->name }} | {{$list->item->manufacture->name}} | {{ str_replace('_' , ' ' , Ucfirst($list->status) ) }} | {{$list->asset_type->name}} | {{str_replace('_' , ' ' , Ucfirst($list->asset_type->depreciation_policy))}} | {{$list->asset_type->depreciation_rate}}% | @if($list->physical_status == 'in_use') @php $is_exist = \App\AssetRelease::where('asset_id' , $list->id)->count(); if($is_exist > 0 && $list->status != 'in_storage') { @endphp @php } else { @endphp @php } @endphp @else Sold @endif |