@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Assets @endslot @slot('li_1') Assets List @endslot @endcomponent
@component('components.table-header') @slot('title') Assets List @endslot @slot('li_1') {{ url('add-asset') }} @endslot @endcomponent
@php $json = file_get_contents(public_path('../public/assets/json/assets1.json')); $appointments = json_decode($json, true); @endphp @foreach ($appointments as $appointment) @endforeach
Asset Id Asset User Asset Name Purchase Date Warrenty Warrenty End Amount Status
{{ $appointment['AssetId'] }} {{ $appointment['AssetUser'] }} {{ $appointment['AssetName'] }} {{ $appointment['PurchaseDate'] }} {{ $appointment['Warrenty'] }} {{ $appointment['WarrentyEnd'] }} {{ $appointment['Amount'] }}
@component('components.notification-box') @endcomponent
@endsection