@extends('index') @if (!Session::get("username")) {{-- Redirect to the main page if the user is already logged in --}} @endif @section("body")

ASSET HISTORY




{{-- Search form --}}
@csrf
@foreach($history as $entry) @endforeach
Asset ID Type Details User Status Location Start Date End Date Remarks Create At Update At
{{ $entry->asset_id }} {{ $entry->type_label }} {{ $entry->details ?? 'N/A' }} {{ $entry->username }} {{ $entry->status }} {{ $entry->location }} {{ $entry->start_date ?? 'N/A' }} {{ $entry->end_date ?? 'N/A' }} {{ $entry->remarks }} {{ $entry->created_at }} {{ $entry->updated_at }}

{{ $history->firstItem() }} to {{ $history->lastItem() }} of {{ $history->total() }} results
@if ($history->onFirstPage()) Previous @else Previous @endif @if ($history->hasMorePages()) Next @else Next @endif
@endsection