@extends('admin.layouts.main') @section('content')
Type: @switch($data->type) @case('parent') @break @case('teacher') @break @default @endswitch
Status: @switch($data->status) @case('0') @break @case('1') @break @case('2') @break @default @endswitch
Name: {{ $data->name }}
Email: {{ $data->email }}
Phone: {{ $data->phone }}
Amount: {{ $data->amount }}
Membership: {{ $data->membership }}
Created at: {{ \Carbon\Carbon::parse($data->created_at)->setTimezone('Asia/Karachi')->toDateTimeString() }}
Name | Phone | Type | Grade | |
---|---|---|---|---|
{{ $cm->name }} | {{ $cm->email }} | {{ $cm->phone }} | {{ $cm->type }} | {{ $cm->grade ?? '-' }} |