@foreach($roleHistory as $history)
@if($history->key == 'created_at' && !$history->old_value)
@elseif($history->key == 'deleted_at' && !$history->old_value)
@else
@endif
@endforeach
{{ __('texte.roles_arr.history.role_created')}} {{__('texte.roles_arr.history.by')}} {{$history->userResponsible()->name }} | {{__('texte.roles_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.roles_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }}
|
{{ __('texte.roles_arr.history.role_deleted')}} {{ __('texte.roles_arr.history.by')}} {{ $history->userResponsible()->name }} | {{ __('texte.roles_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{ __('texte.roles_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ $history->userResponsible()->name }} {{__('texte.roles_arr.history.changed_field')}}
@switch($history->fieldName())
@case('name')
{{__('texte.roles_arr.history.name')}}
{{__('texte.roles_arr.history.from')}}
{{ $history->oldValue()==null ? '" "' : $history->oldValue()}}
{{__('texte.roles_arr.history.to')}} {{ $history->newValue() }}
@break
@default
{{__('texte.roles_arr.history.'.$history->fieldName())}}
{{__('texte.roles_arr.history.from')}}
{{ $history->oldValue()==null ? '" "' : $history->oldValue()}}
{{__('texte.roles_arr.history.to')}} {{ $history->newValue() }}
@break
@endswitch
|
{{__('texte.roles_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.roles_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |