@extends('layouts.index') @section('title') Asset @endsection @section('css') @endsection @section('content')

Asset

{{ $total_asset }}

Total Assets

{{ isset($total_category_asset[0]) ? $total_category_asset[0]->count : '0' }}

Category Assets
{{--

54

Ready To Use

33

Assets Used
--}}

List of Asset

@php $increment = 1; @endphp @foreach($asset as $data) @endforeach
No Code Asset Name of Asset Category Type Quantity Location Borrowing By Option
{{ $increment++ }} {{ $data->asset_code }} {{ $data->name }} {{ $data->ref_asset_categories->category_name }} {{ isset($data->asset_type) ? $data->asset_type : "-" }} {{ $data->quantity }}

{{ isset($data->ref_warehouse->location_name) ? $data->ref_warehouse->location_name : '-' }}

{{ isset($data->borrowing_by) ? $data->borrowing_by_data->nama_lengkap : '-' }}

Detail
@endsection @section('js') @endsection