@extends('layouts/layoutMaster') @section('title', 'Tables - Basic Tables') @section('content')

History / List

@foreach($list as $key => $item) @endforeach
No Date time Description Detail
{{ ($list->currentPage() - 1) * $list->perPage() + $key+1}} {{date('d, M Y - H:i A', strtotime($item->created_at))}} {{$item->user->name." ".$item->type." ".$item->source}} @if($item->source_name)
({{$item->source_name}}) @endif
@if($item->note_json == 1) @if($item->source == 'listingPortal')
    @foreach(json_decode($item->note) as $key => $note)
  • {!! Helper::convertToDisplayName($key) !!} : {{$note}}
  • @endforeach
@else
    @foreach(json_decode($item->note) as $key => $note)
  • {!! Helper::convertToDisplayName($key) !!} : {{$note->old}} -> {{$note->new}}
  • @endforeach
@endif @else {{$item->note}} @endif
{{$list->links()}}
@endsection