@extends('pro.my_teams.view')
@section('content-inner')

    <div class="pb-3">

        <h5 class='my-3 d-flex'>
            <div>Clients</div>
            <div class="ml-auto">
                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('my_teams_SINGLE-ACTION_clientsAddNew', ['uid' => $record->uid])}}"><i class='fa fa-plus-circle' aria-hidden='true'></i> Add New</a>
            </div>
        </h5>

        <div class="table-responsive p-0 bg-white border">
            <table class="table table-hover text-nowrap">
                <thead>
                <tr>
                    <th>Created At</th>
<th>Type</th>
<th>Deactivated At</th>
<th>Deactivation Memo</th>
<th>Is Active</th>
<th>Reactivated At</th>
<th>Reactivation Memo</th>
<th>Cell Number</th>
<th>Cell Number Confirmation Token</th>
<th>Cell Number Confirmed At</th>
<th>Cm Reason1</th>
<th>Cm Reason2</th>
<th>Cm Target</th>
<th>Date Of Birth</th>
<th>Email Address</th>
<th>Email Address Confirmation Token</th>
<th>Email Address Confirmed At</th>
<th>Gender</th>
<th>Has Mcp Done Em Visit</th>
<th>Home Address City</th>
<th>Home Address Country</th>
<th>Home Address Lat</th>
<th>Home Address Line1</th>
<th>Home Address Line2</th>
<th>Home Address Long</th>
<th>Home Address State</th>
<th>Home Address Zip</th>
<th>Home Phone Number</th>
<th>Intake Detail</th>
<th>Intake Text</th>
<th>Is Cell Number Confirmation Pending</th>
<th>Is Cell Number Confirmed</th>
<th>Is Client Enrolled In Cm</th>
<th>Is Client Enrolled In Rm</th>
<th>Is Currently In Meeting</th>
<th>Is Email Address Confirmation Pending</th>
<th>Is Email Address Confirmed</th>
<th>Is Partbprimary Confirmed</th>
<th>Is Password Temporary</th>
<th>Mailing Address City</th>
<th>Mailing Address Country</th>
<th>Mailing Address Lat</th>
<th>Mailing Address Line1</th>
<th>Mailing Address Line2</th>
<th>Mailing Address Long</th>
<th>Mailing Address State</th>
<th>Mailing Address Zip</th>
<th>Mcp Em Visit Date</th>
<th>Mcp Em Visit Memo</th>
<th>Medicare Number</th>
<th>Name Credential</th>
<th>Name Display</th>
<th>Name First</th>
<th>Name Last</th>
<th>Name Middle</th>
<th>Name Prefix</th>
<th>Name Suffix</th>
<th>Partbconfirmation Memo</th>
<th>Partbconfirmation Method</th>
<th>Password</th>
<th>Phone Numbers Memo</th>
<th>Profile Picture Base64</th>
<th>Rm Reason1</th>
<th>Rm Reason2</th>
<th>Supporter Memo</th>
<th>Supporter Phone Number</th>
<th>Username</th>
<th>Why Not Enrolled In Cm Category</th>
<th>Why Not Enrolled In Cm Memo</th>
<th>Why Not Enrolled In Rm Category</th>
<th>Why Not Enrolled In Rm Memo</th>
<th>Work Phone Number</th>
<th>Created By Session Id</th>
<th>Deactivated By Session Id</th>
<th>Reactivated By Session Id</th>
<th>Cm Pro Id</th>
<th>Current Meeting Participant Id</th>
<th>Mcp Em Visit Note Id</th>
<th>Mcp Pro Id</th>
<th>Rme Pro Id</th>
<th>Rmm Pro Id</th>
                </tr>
                </thead>
                <tbody>
                @foreach($subRecords as $subRecord)
                    <tr>
                        <td><a href="/my_clients/view/{{ $subRecord->uid }}"><?= $subRecord->created_at ?></a></td>
<td><?= $subRecord->type ?></td>
<td><?= $subRecord->deactivated_at ?></td>
<td><?= $subRecord->deactivation_memo ?></td>
<td><?= $subRecord->is_active ?></td>
<td><?= $subRecord->reactivated_at ?></td>
<td><?= $subRecord->reactivation_memo ?></td>
<td><?= $subRecord->cell_number ?></td>
<td><?= $subRecord->cell_number_confirmation_token ?></td>
<td><?= $subRecord->cell_number_confirmed_at ?></td>
<td><?= $subRecord->cm_reason1 ?></td>
<td><?= $subRecord->cm_reason2 ?></td>
<td><?= $subRecord->cm_target ?></td>
<td><?= $subRecord->date_of_birth ?></td>
<td><?= $subRecord->email_address ?></td>
<td><?= $subRecord->email_address_confirmation_token ?></td>
<td><?= $subRecord->email_address_confirmed_at ?></td>
<td><?= $subRecord->gender ?></td>
<td><?= $subRecord->has_mcp_done_em_visit ?></td>
<td><?= $subRecord->home_address_city ?></td>
<td><?= $subRecord->home_address_country ?></td>
<td><?= $subRecord->home_address_lat ?></td>
<td><?= $subRecord->home_address_line1 ?></td>
<td><?= $subRecord->home_address_line2 ?></td>
<td><?= $subRecord->home_address_long ?></td>
<td><?= $subRecord->home_address_state ?></td>
<td><?= $subRecord->home_address_zip ?></td>
<td><?= $subRecord->home_phone_number ?></td>
<td><?= $subRecord->intake_detail ?></td>
<td><?= $subRecord->intake_text ?></td>
<td><?= $subRecord->is_cell_number_confirmation_pending ?></td>
<td><?= $subRecord->is_cell_number_confirmed ?></td>
<td><?= $subRecord->is_client_enrolled_in_cm ?></td>
<td><?= $subRecord->is_client_enrolled_in_rm ?></td>
<td><?= $subRecord->is_currently_in_meeting ?></td>
<td><?= $subRecord->is_email_address_confirmation_pending ?></td>
<td><?= $subRecord->is_email_address_confirmed ?></td>
<td><?= $subRecord->is_partbprimary_confirmed ?></td>
<td><?= $subRecord->is_password_temporary ?></td>
<td><?= $subRecord->mailing_address_city ?></td>
<td><?= $subRecord->mailing_address_country ?></td>
<td><?= $subRecord->mailing_address_lat ?></td>
<td><?= $subRecord->mailing_address_line1 ?></td>
<td><?= $subRecord->mailing_address_line2 ?></td>
<td><?= $subRecord->mailing_address_long ?></td>
<td><?= $subRecord->mailing_address_state ?></td>
<td><?= $subRecord->mailing_address_zip ?></td>
<td><?= $subRecord->mcp_em_visit_date ?></td>
<td><?= $subRecord->mcp_em_visit_memo ?></td>
<td><?= $subRecord->medicare_number ?></td>
<td><?= $subRecord->name_credential ?></td>
<td><?= $subRecord->name_display ?></td>
<td><?= $subRecord->name_first ?></td>
<td><?= $subRecord->name_last ?></td>
<td><?= $subRecord->name_middle ?></td>
<td><?= $subRecord->name_prefix ?></td>
<td><?= $subRecord->name_suffix ?></td>
<td><?= $subRecord->partbconfirmation_memo ?></td>
<td><?= $subRecord->partbconfirmation_method ?></td>
<td><?= $subRecord->password ?></td>
<td><?= $subRecord->phone_numbers_memo ?></td>
<td><?= $subRecord->profile_picture_base64 ?></td>
<td><?= $subRecord->rm_reason1 ?></td>
<td><?= $subRecord->rm_reason2 ?></td>
<td><?= $subRecord->supporter_memo ?></td>
<td><?= $subRecord->supporter_phone_number ?></td>
<td><?= $subRecord->username ?></td>
<td><?= $subRecord->why_not_enrolled_in_cm_category ?></td>
<td><?= $subRecord->why_not_enrolled_in_cm_memo ?></td>
<td><?= $subRecord->why_not_enrolled_in_rm_category ?></td>
<td><?= $subRecord->why_not_enrolled_in_rm_memo ?></td>
<td><?= $subRecord->work_phone_number ?></td>
<td><?= $subRecord->created_by_session_id ?></td>
<td><?= $subRecord->deactivated_by_session_id ?></td>
<td><?= $subRecord->reactivated_by_session_id ?></td>
<td><?= $subRecord->cm_pro_id ?></td>
<td><?= $subRecord->current_meeting_participant_id ?></td>
<td><?= $subRecord->mcp_em_visit_note_id ?></td>
<td><?= $subRecord->mcp_pro_id ?></td>
<td><?= $subRecord->rme_pro_id ?></td>
<td><?= $subRecord->rmm_pro_id ?></td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>

    </div>

@endsection
