{{ __('export.filters_applied', [], $locale) }}:
@foreach($filters as $key => $value)
@if($key === 'client')
{{ __('export.client_name', [], $locale) }}: {{ $value }}
@elseif($key === 'status')
{{ __('export.status', [], $locale) }}: {{ $value }}
@elseif($key === 'date_from')
{{ __('export.date_from', [], $locale) }}: {{ $value }}
@elseif($key === 'date_to')
{{ __('export.date_to', [], $locale) }}: {{ $value }}
@endif
@endforeach
{{ __('export.total_records', [], $locale) }}: {{ $totalCount }}
@if($timelines->count() > 0)
| {{ __('export.case_name', [], $locale) }} | {{ __('export.case_reference', [], $locale) }} | {{ __('export.client_name', [], $locale) }} | {{ __('export.status', [], $locale) }} | {{ __('export.created_date', [], $locale) }} | {{ __('export.updates_count', [], $locale) }} | {{ __('export.last_update', [], $locale) }} |
|---|---|---|---|---|---|---|
| {{ $timeline->case_name }} | {{ $timeline->case_reference ?? '-' }} | {{ $timeline->user->full_name }} | {{ __('export.timeline_status_' . $timeline->status->value, [], $locale) }} | {{ $timeline->created_at->format($locale === 'ar' ? 'd/m/Y' : 'm/d/Y') }} | {{ $timeline->updates_count }} | @if($timeline->updates_max_created_at) {{ \Carbon\Carbon::parse($timeline->updates_max_created_at)->format($locale === 'ar' ? 'd/m/Y H:i' : 'm/d/Y H:i') }} @else - @endif |
|
{{ __('export.updates', [], $locale) }}:
@foreach($timeline->updates->take(10) as $update)
{{ $update->created_at->format($locale === 'ar' ? 'd/m/Y H:i' : 'm/d/Y H:i') }}
{{ Str::limit($update->update_text, 500) }}
{{ __('export.more_updates', ['count' => $timeline->updates->count() - 10], $locale) }}
@endif
|
||||||
{{ __('export.no_timelines_match', [], $locale) }}
@endif