@extends('layout.admin') @section('head') @extends('layout.header') @section('header_title', 'Today Complete Appointments') @endsection @section('content')

Today Complete Appointments

View Today Complete Appointments Details

@foreach ($appointments as $appointment) @php $services = $appointment->getServices($appointment->idAppointment); @endphp @endforeach
ID Date Time Duration Services Customer Employee Total Status
{{ $loop->iteration }} {{ $appointment->Date }} {{ $appointment->Time }} {{ $appointment->Duration }} @if ($services->isEmpty()) - @else @foreach ($services as $key => $service) {{ $service->Service_Description }} @if ($key < count($services) - 1) , @endif @endforeach @endif {{ $appointment->customers->Full_Name }} {{ $appointment->employees->Full_Name }} {{ number_format($appointment->Package_Amount, 2, '.', '') }} {{ $appointment->Appointment_Status }}
@endsection @section('script') @endsection