{{ __('Log Details') }}
@foreach($changes['attributes'] as $col => $val) @if($col == 'updated_at') @continue @endif @endforeach
{{ __('Column') }} {{ __('Old') }} {{ __('New') }}
{{ $col }} @if($col == 'due_time') {{ @$changes['old'][$col] ? \Carbon\Carbon::parse($changes['old'][$col])->toTimeString() : '-' }} @elseif($col == 'due_date') {{ @$changes['old'][$col] ? \Carbon\Carbon::parse($changes['old'][$col])->toDateString() : '-' }} @else {{ @$changes['old'][$col] ?? '-' }} @endif @if($col == 'due_time') {{ \Carbon\Carbon::parse($val)->toTimeString() }} @elseif($col == 'due_date') {{ \Carbon\Carbon::parse($val)->toDateString() }} @else {{ $val }} @endif