@extends('layouts.app') @section('title', __('assetmanagement::lang.assets')) @section('content') @includeIf('assetmanagement::layouts.nav')
@lang('assetmanagement::lang.total_assets_allocated_to_you') {{@num_format($total_assets_allocated)}}
@foreach($asset_allocation_by_category as $asset) @endforeach @if(count($asset_allocation_by_category) == 0) @endif
@lang('product.category') @lang('assetmanagement::lang.total_assets_allocated_to_you')
{{$asset->category}} {{@num_format($asset->total_quantity_allocated)}}
@lang('lang_v1.no_data')
@if($is_admin)
@lang('assetmanagement::lang.total_assets') {{@num_format($total_assets)}}
@lang('assetmanagement::lang.total_assets_allocated') {{@num_format($total_assets_allocated_for_all_users)}}

@lang('assetmanagement::lang.assets_by_category')

@foreach($assets_by_category as $asset) @endforeach @if(count($assets_by_category) == 0) @endif
@lang('product.category') @lang('assetmanagement::lang.total_assets')
{{$asset->category}} {{@num_format($asset->total_quantity)}}
@lang('lang_v1.no_data')

@lang('assetmanagement::lang.expired_or_expiring_in_one_month')

@foreach($expiring_assets as $asset) @endforeach @if(count($expiring_assets) == 0) @endif
@lang('assetmanagement::lang.assets') @lang('assetmanagement::lang.warranty_status')
{{$asset->name}} - {{$asset->asset_code}} @if(empty($asset->end_date)) @lang('report.expired') @else @lang('assetmanagement::lang.expiring_on'): {{@format_date($asset->end_date)}} @endif
@lang('lang_v1.no_data')
@endif
@endsection