@foreach($activity->properties['attributes'] as $key => $value) @if($key == 'subject' || $key == 'start_date' || $key == 'due_date' || $key == 'priority' || $key == 'status' || $key == 'description') @endif @endforeach
@lang('project::lang.updated_values')
@lang('project::lang.field') @lang('project::lang.old_value') @lang('project::lang.new_value')
{{$label [$key]}} @if($key == 'subject' || $key == 'description') {!! $activity->properties['old'][$key] !!} @elseif($key == 'start_date' || $key == 'due_date') {{@format_date($activity->properties['old'][$key])}} @elseif($key == 'status' || $key == 'priority') {{$status_and_priority[$activity->properties['old'][$key]]}} @endif @if($key == 'subject' || $key == 'description') {!! $value !!} @elseif($key == 'start_date' || $key == 'due_date') {{@format_date($value)}} @elseif($key == 'status' || $key == 'priority') {{$status_and_priority[$value]}} @endif