@extends('layouts.admin.layout') @section('title') {{ $websiteLang->where('lang_key','payment')->first()->custom_lang }} @endsection @section('admin-content')

{{ $websiteLang->where('lang_key','payment_history')->first()->custom_lang }}
@foreach ($doctors as $index => $doctor) @php $total=$doctorPayments->where('doctor_id',$doctor->id)->sum('appointment_fee') @endphp @endforeach
{{ $websiteLang->where('lang_key','serial')->first()->custom_lang }} {{ $websiteLang->where('lang_key','name')->first()->custom_lang }} {{ $websiteLang->where('lang_key','email')->first()->custom_lang }} {{ $websiteLang->where('lang_key','phone')->first()->custom_lang }} {{ $websiteLang->where('lang_key','payment')->first()->custom_lang }}
{{ ++$index }} {{ ucfirst($doctor->name) }} {{ $doctor->email }} {{ $doctor->phone }} {{ $currency->currency_icon }}{{ $total }}
@endsection