@switch($activity->event)
@case("created")
@foreach ($attributes as $attribute => $value)
@if ($value)
@endif
@endforeach
@break
@case("updated")
@foreach ($keys as $key)
@if ($attributes[$key])
@endif
@endforeach
@break
@case("deleted")
@foreach ($old as $attribute => $value)
@if ($value)
@endif
@endforeach
@break
@endswitch
{{ __('validation.attributes.attribute') }} |
{{ __('validation.attributes.value') }} |
{{$attribute}} |
{{is_string($value) ? $value : json_encode($value) }} |
{{ __('validation.attributes.attribute') }} |
{{ __('validation.attributes.old_value') }} |
{{ __('validation.attributes.current_value') }} |
{{$key}} |
{{is_string($old[$key]) ? $old[$key]: json_encode($old[$key]) }} |
{{is_string($attributes[$key]) ? $attributes[$key] : json_encode($attributes[$key]) }} |
{{ __('validation.attributes.attribute') }} |
{{ __('validation.attributes.value') }} |
{{$attribute}} |
{{is_string($value) ? $value : json_encode($value) }} |