--}}
{{-- Created | --}}
{{-- | --}}
{{-- {{ getUserFullName($object->created_by) }} | --}}
{{-- {{ baseUSDateFormat($object->created_at, true, "-", false, false, "m") }} | --}}
{{--
--}}
@foreach($auditData as $i => $each)
@if ($each->user_id == 44)
@continue
@endif
{{ $each->abbr }} |
{{ $each->event }} |
@foreach($each->old_values as $prop => $val)
@if (in_array($prop, ["id", "airline_id", "service_id", "airport_id"]))
@continue
@elseif ($prop == "user_id")
@if ($val == 44)
@continue
@endif
User: {{ $val ? getUserFullName($val) : "Removed" }}
@elseif($prop == "service_timings")
DEFAULT SERVICE TIMINGS: {{ getAuditValue($prop, $val) }}
@else
{!! getAuditProp($prop) !!}{{ getAuditValue($prop, $val) }}
@endif
@endforeach
|
@foreach($each->new_values as $prop => $val)
@if (in_array($prop, ["id", "airline_id", "service_id", "airport_id"]))
@continue
@elseif ($prop == "user_id")
@if ($val == 44)
@continue
@endif
User: {{ $val ? getUserFullName($val) : "Removed" }}
@elseif($prop == "service_timings")
DEFAULT SERVICE TIMINGS: {{ getAuditValue($prop, $val) }}
@else
{!! getAuditProp($prop) !!}{{ getAuditValue($prop, $val) }}
@endif
@endforeach
|
{{-- {{ getUserFullName($each->user_id) }} | --}}
{{ getUserName($each->user) }} |
{{-- {{ isset($usersByID[$each->user_id]) ? getUserName($usersByID[$each->user_id]) : "" }} | --}}
{{ baseUSDateFormat($each->created_at, true, "-", false, false, "m") }} |
@endforeach