@extends('layouts.master') @section('title', __('index.assets')) @section('action', __('index.lists')) @section('button') @can('create_assets') @endcan @endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.assetManagement.assetDetail.common.breadcrumb')
{{ __('index.assets_filter') }}
@if(\App\Helpers\AppHelper::ifDateInBsEnabled())
@else
@endif
{{ __('index.reset') }}
Assets List
@canany(['show_asset','edit_assets','delete_assets']) @endcanany @forelse($assetLists as $key => $value) @empty @endforelse
# {{ __('index.name') }} {{ __('index.type') }} {{ __('index.purchased_date') }} {{ __('index.is_working') }} {{ __('index.is_available') }}{{ __('index.action') }}
{{++$key}} {{ucfirst($value->name)}} {{ucfirst($value->type->name)}} {{\App\Helpers\AppHelper::formatDateForView($value->purchased_date)}} {{ucfirst($value->is_working)}}
    @can('edit_assets')
  • @endcan @can('show_asset')
  • @endcan @can('delete_assets')
  • @endcan

{{ __('index.no_records_found') }}

{{$assetLists->appends($_GET)->links()}}
@endsection @section('scripts') @include('admin.assetManagement.assetDetail.common.scripts') @endsection