Histórico de Edições

@if($changes->isEmpty())

Não há histórico de edições para apresentar.

@else @foreach($changes as $key => $change) @if($key <= $limit ) @endif @endforeach
Ação Data Alterado Por Alterações Expandir/Recolher tudo
{{ trans('admin/change_log.actions.' . $change->action) }} {!! $change->created_at->format('Y-m-d').'
'. $change->created_at->format('H:i:s') .'' !!}
@if(empty($change->user_id) && $change->customer_id) @endif @if($change->is_api) @endif {{ $change->user_id ? @$change->user->name : ($change->customer_id ? ($change->customer->customer_id ? ($change->customer->code .' - '. $change->customer->name) : $change->customer->name) : 'Sistema Automático') }}
@if(!empty($change->new)) @foreach($change->new as $key => $newValue) @endforeach @else @endif
Campo Valor Anterior Novo Valor
{{ trans('admin/change_log.keys.'.$change->source . '.' . $key) }} {!! empty(@$oldValues[$key]) ? 'Vazio' : @$oldValues[$key] !!} {!! empty($newValue) ? 'Vazio' : (is_object($newValue) ? var_dump($newValue) : $newValue) !!}
{{ print_r($change->toArray()) }}
Ver {{ $totalChanged }} campos alterados
@endif