@if($key == 'subject' || $key == 'start_date' || $key == 'due_date' || $key == 'priority' || $key == 'status' || $key == 'description')
{{$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
|
@endif
@endforeach