{{-- resources/views/doctors/index.blade.php --}}

ডাক্তার তালিকা

@role('admin') + নতুন ডাক্তার যোগ করুন @endrole
@forelse ($doctors as $doctor)

Dr. {{ $doctor->user->name }}

{{ $doctor->specialization }}

{{ $doctor->qualification ?? '—' }}

কনসালটেশন ফি: ৳{{ number_format($doctor->consultation_fee, 2) }}

শিডিউল: @if ($doctor->available_days) {{ implode(', ', array_map(fn($d) => ['sat'=>'শনি','sun'=>'রবি','mon'=>'সোম','tue'=>'মঙ্গল','wed'=>'বুধ','thu'=>'বৃহঃ','fri'=>'শুক্র'][$d] ?? $d, $doctor->available_days)) }} @else নির্ধারিত নেই @endif

@if ($doctor->start_time && $doctor->end_time)

সময়: {{ $doctor->start_time->format('h:i A') }} - {{ $doctor->end_time->format('h:i A') }}

@endif
বিস্তারিত দেখুন
@empty

কোনো ডাক্তার পাওয়া যায়নি

@endforelse