@if(Session::has('message'))
{{ Session::get('message') }}
@endif
Appointment ID |
Amount |
Payment Type |
Customer |
Staff |
Service |
Status |
Created On |
Action |
@foreach ($data as $item)
{{ $item->appointment_id }} |
${{ $item->amount }} |
@switch($item->payment_type)
@case('C')
CASH
@break
@case('S')
STRIPE
@break
@default
@endswitch
|
{{ $item->appointment->user->first_name }} {{ $item->appointment->user->last_name }}
|
{{ $item->appointment->staff->user->first_name }} {{ $item->appointment->staff->user->last_name }}
|
{{ $item->appointment->service->name }}
|
@if ($item->active == '1')
Active
@else
Active
@endif
|
{{ $item->created_at }} |
|
@endforeach