@extends('layouts.patient.layout') @section('title') {{ $websiteLang->where('lang_key','app_list')->first()->custom_lang }} @endsection @section('patient-content')
@include('patient.profile.sidebar')

{{ $websiteLang->where('lang_key','app_list')->first()->custom_lang }}

@foreach ($appointments as $index => $appointment) @endforeach
{{ $websiteLang->where('lang_key','serial')->first()->custom_lang }} {{ $websiteLang->where('lang_key','doctor')->first()->custom_lang }} {{ $websiteLang->where('lang_key','date')->first()->custom_lang }} {{ $websiteLang->where('lang_key','fee')->first()->custom_lang }} {{ $websiteLang->where('lang_key','schedule')->first()->custom_lang }} {{ $websiteLang->where('lang_key','payment')->first()->custom_lang }} {{ $websiteLang->where('lang_key','treated')->first()->custom_lang }} {{ $websiteLang->where('lang_key','action')->first()->custom_lang }}
{{ ++$index }} {{ ucfirst($appointment->doctor->name) }} {{ date('m-d-Y',strtotime($appointment->date)) }} {{ $currency->currency_icon }}{{ $appointment->appointment_fee }} {{ strtoupper($appointment->schedule->start_time).'-'.strtoupper($appointment->schedule->end_time) }} @if ($appointment->payment_status==0) {{ $websiteLang->where('lang_key','pending')->first()->custom_lang }} @else {{ $websiteLang->where('lang_key','success')->first()->custom_lang }} @endif @if ($appointment->already_treated==0) {{ $websiteLang->where('lang_key','no')->first()->custom_lang }} @else {{ $websiteLang->where('lang_key','yes')->first()->custom_lang }} @endif @if ($appointment->already_treated==1) @endif
{{ $appointments->links() }}
@endsection