No | --}}User | Datetime | Activity | Before | After | {{--Action | --}}
---|---|---|---|---|---|---|
{{@$log->user->nama}} | {{($log->created_at->format('d-m-Y H:i:s'))}} | {{$log->modul}} |
@php
$data_from = json_decode($json_from, true);
if ($json_from != 'null') {
if(strlen($json_from) > 10){
$singkatanBefore = str_replace( ["{", '"'], "",(substr($json_from, 0, 15))).' [more]';
}
else{
$singkatanBefore = $json_from;
}
}else {
$singkatanBefore = '-- KOSONG -- ';
}
@endphp
{!! $singkatanBefore !!}
@else
( --- Kosong --- )
@endif
|
@php
$data_after = json_decode($json_after, true);
if ($json_after != 'null') {
if(strlen($json_after) > 10){
$singkatanAfter = str_replace( ["{", '"'], "",(substr($json_after, 0, 15))).' [more]';
}
else{
$singkatanAfter = $json_after;
}
}else {
$singkatanAfter = '-- KOSONG -- ';
}
@endphp
{!! $singkatanAfter !!}
@else
( --- Kosong --- )
@endif
|