@extends('admin.layouts.admin') @section('content')
Total Appointments
Pending Appointments
Completed
Cancelled
Date | Slot | Customer | Staff | Service | Status |
---|---|---|---|---|---|
{{ date('Y-m-d', strtotime($record->date)) }} | {{ $record->slot->from_time }} - {{ $record->slot->to_time }} | {{ $record->user->first_name }} {{ $record->user->last_name }} | {{ $record->staff->user ? $record->staff->user->first_name : '' }} {{ $record->staff->user ? $record->staff->user->last_name : '' }} | {{ $record->service->name }} | @switch($record->status) @case('P') @break @case('A') @break @case('R') @break @case('C') @break @default @break @endswitch |
Total Payments
30.6%
--}}Pending
30.6%
--}}Completed
5%
--}}Cancelled
10.6%
--}}Appointment ID | Amount | Payment Type | Status | Date & Time |
---|---|---|---|---|
{{ $record->appointment_id }} | {{ number_format($record->amount, 2) }} | @switch($record->status) @case('C') Cash @break @case('S') Stripe @break @default @break @endswitch | @switch($record->status) @case('P') @break @case('S') @break @case('F') @break @default @break @endswitch | {{ $record->created_at }} |
Photo | Name | Phone | Address | City | Country | Status | |
---|---|---|---|---|---|---|---|
{{ $record ? $record->first_name : '' }} {{ $record ? $record->last_name : '' }} | {{ $record->phone }} | {{ $record->email }} | {{ $record->address }} | {{ $record->city ? $record->city->name : '' }} | {{ $record->country ? $record->country->name : '' }} | @if ($record->active == '1') @else @endif |
Photo | Name | Phone | Address | City | Country | Status | |
---|---|---|---|---|---|---|---|
{{ $record ? $record->first_name : '' }} {{ $record ? $record->last_name : '' }} | {{ $record->phone }} | {{ $record->email }} | {{ $record->address }} | {{ $record->city ? $record->city->name : '' }} | {{ $record->country ? $record->country->name : '' }} | @if ($record->active == '1') @else @endif |