@if(count($items) > 0) @foreach($items as $item) @endforeach @else @endif
Date Log name Action by Activity Data
{{ date('d-m-Y h:i A',strtotime($item->created_at))}} {{ucfirst($item->log_name)}} {{Techsaga::get_username($item->causer_id)}} {{$item->description}} @foreach($data_keys as $key) @if($key == 'role_id' ) @if($item->log_name == 'user' || $item->log_name == 'vendor' || $item->log_name == 'client' ) @else @endif @else @endif @endforeach @foreach($data_vals as $val) @endforeach
Role {{$key}} {{$key}}
{{$val}}
@if($item->description == 'updated') @foreach($data_keys as $key) @if($key == 'role_id' ) @if($item->log_name == 'user' || $item->log_name == 'vendor' || $item->log_name == 'client' ) @else @endif @else @endif @endforeach @foreach($data_vals as $val) @endforeach
Old
Role {{$key}} {{$key}}
{{$val}}
@endif

oops data not found!

{{ $items->links() }}