@extends('layouts.app') @section('content')
{{-- table index start --}}
Asset History
@if ($message = Session::get('success')) @endif @if ($message = Session::get('error')) @endif @if ($errors->any()) @endif @if($histories->count() > 0)
@foreach($histories as $history) @endforeach
SERIAL NUMBER HOLDER RECEIVE DATE CREATED BY CREATED AT
@if($history->aset && $history->aset->serial_number) {{ $history->aset->serial_number }} @else N/A @endif @if($history->holder) {{ $history->holder->name }} @else Unknown @endif {{ $history->receivedate->format('d M Y') }} @if($history->createdBy) {{ $history->createdBy->name }} @else Unknown @endif {{ $history->created_at->setTimezone('Asia/Kuala_Lumpur')->format('d/m/Y H:i') }}

Showing {{ $histories->firstItem() }} to {{ $histories->lastItem() }} of {{ $histories->total() }} results

{{ $histories->links() }}
@else
No History Records Found

There are no history records available.

@endif
{{-- table index end --}}
@endsection @push('styles') @endpush