Libra
{{ __('export.libra_law_firm', [], $locale) }}
{{ __('export.consultations_export_title', [], $locale) }}
@if(count($filters) > 0)
{{ __('export.filters_applied', [], $locale) }}:
@foreach($filters as $key => $value) @if($key === 'consultation_type') {{ __('export.consultation_type', [], $locale) }}: {{ $value }} @elseif($key === 'status') {{ __('export.status', [], $locale) }}: {{ $value }} @elseif($key === 'payment_status') {{ __('export.payment_status', [], $locale) }}: {{ $value }} @elseif($key === 'date_from') {{ __('export.date_from', [], $locale) }}: {{ $value }} @elseif($key === 'date_to') {{ __('export.date_to', [], $locale) }}: {{ $value }} @endif @endforeach
@endif
{{ __('export.total_records', [], $locale) }}: {{ $totalCount }}
@if($consultations->count() > 0) @foreach($consultations as $consultation) @endforeach
{{ __('export.client_name', [], $locale) }} {{ __('export.date', [], $locale) }} {{ __('export.time', [], $locale) }} {{ __('export.consultation_type', [], $locale) }} {{ __('export.status', [], $locale) }} {{ __('export.payment_status', [], $locale) }} {{ __('export.problem_summary', [], $locale) }}
{{ $consultation->user->full_name }} {{ $consultation->booking_date->format($locale === 'ar' ? 'd/m/Y' : 'm/d/Y') }} {{ $consultation->booking_time }} {{ __('export.type_' . $consultation->consultation_type->value, [], $locale) }} {{ __('export.status_' . $consultation->status->value, [], $locale) }} @php $paymentLabel = match($consultation->payment_status->value) { 'pending' => __('export.payment_pending', [], $locale), 'received' => __('export.payment_received', [], $locale), 'na' => __('export.payment_not_applicable', [], $locale), }; @endphp {{ $paymentLabel }} @if(strlen($consultation->problem_summary) > 500) {{ Str::limit($consultation->problem_summary, 500, '...') }} @else {{ $consultation->problem_summary }} @endif
@else
{{ __('export.no_consultations_match', [], $locale) }}
@endif