@extends('layouts.lawyer.layout') @section('title') {{ $website_lang->where('lang_key','new_appointment')->first()->custom_lang }} @endsection @section('lawyer-content')

{{ $website_lang->where('lang_key','new_appointment')->first()->custom_lang }}
@foreach ($appointments as $index => $item) @endforeach
{{ $website_lang->where('lang_key','serial')->first()->custom_lang }} {{ $website_lang->where('lang_key','name')->first()->custom_lang }} {{ $website_lang->where('lang_key','email')->first()->custom_lang }} {{ $website_lang->where('lang_key','phone')->first()->custom_lang }} {{ $website_lang->where('lang_key','date')->first()->custom_lang }} {{ $website_lang->where('lang_key','time')->first()->custom_lang }} {{ $website_lang->where('lang_key','payment')->first()->custom_lang }} {{ $website_lang->where('lang_key','action')->first()->custom_lang }}
{{ ++$index }} {{ $item->user->name }} {{ $item->user->email }} {{ $item->user->phone }} {{ date('m-d-Y',strtotime($item->date)) }} {{ strtoupper($item->schedule->start_time).'-'.strtoupper($item->schedule->end_time) }} @if ($item->payment_status==0) {{ $website_lang->where('lang_key','pending')->first()->custom_lang }} @else {{ $website_lang->where('lang_key','success')->first()->custom_lang }} @endif {{ $website_lang->where('lang_key','meet')->first()->custom_lang }}
@endsection