@extends('admin.layouts.admin') @section('content')
Total Appointments
Pending Appointments
Completed
Cancelled
Date & Time | User | Staff | Product | Status |
---|---|---|---|---|
{{ date('F d, Y h:ia', strtotime($record->datetime)) }} | {{ $record->user_id }} | {{ $record->staff_id }} | {{ $record->product_id }} | @switch($record->status) @case('P') @break @case('S') @break @case('F') @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 }} |
First Name | Last Name | Phone | Address | City | Zipcode | Status | |
---|---|---|---|---|---|---|---|
{{ $record ? $record->first_name : '' }} | {{ $record ? $record->last_name : '' }} | {{ $record->phone }} | {{ $record->email }} | {{ $record->address }} | {{ $record->city }} | {{ $record->zipcode }} | @if ($record->active == '1') @else @endif |
First Name | Last Name | Phone | Address | City | Zipcode | Status | |
---|---|---|---|---|---|---|---|
{{ $record ? $record->first_name : '' }} | {{ $record ? $record->last_name : '' }} | {{ $record->phone }} | {{ $record->email }} | {{ $record->address }} | {{ $record->city }} | {{ $record->zipcode }} | @if ($record->active == '1') @else @endif |