@extends('layouts.container') @section('title', 'Log Notifikasi') @section('css') @endsection @section('body-class', 'skin-black') @section('content')
@if(count($log) > 0) @foreach($log as $index => $value) @endforeach @else @endif
# Notifikasi Dilakukan Oleh Tanggal Status Action
{{ strip_tags(str_replace('::n', '', $value->message)) }} {{ $value->User->first_name . '
' . $value->user->last_name }}
{{ $value->created_at }} @if(in_array('#'.Sentry::getUser()->getId().'#', is_array(json_decode($value->status)) ? json_decode($value->status) : array())) Read @else Unread @endif
@if ($value->data_before)
@foreach(json_decode($value->data_before) as $xindex => $xvalue)
@if(!is_object($xvalue)) {{ print_r(json_decode($xvalue)) }} @else {{ print_r($xvalue) }} @endif
@endforeach
@else
{{ print_r(json_decode($value->data_sent)) }}
@endif
@if($value->data_after)
@foreach(json_decode($value->data_after) as $xindex => $xvalue)
@if(!is_object($xvalue)) {{ print_r(json_decode($xvalue)) }} @else {{ print_r($xvalue) }} @endif
@endforeach
@else
{{ print_r(json_decode($value->data_sent)) }}
@endif
No Data.
{{ $log->links() }}
@endsection @section('js') @endsection