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

    <div class="mr-3 pb-3">

        <h4 class='my-3 d-flex'>
            <div>Care Months</div>
            <div class="ml-auto">
                <a class="btn btn-primary btn-sm" href="{{route('my_clients_SINGLE-ACTION_care_monthsAddNew', ['uid' => $record->uid])}}"><i class='fa fa-plus-circle' aria-hidden='true'></i> Add New</a>
            </div>
        </h4>

        <div class="table-responsive p-0 bg-white border">
            <table class="table table-hover text-nowrap">
                <thead>
                <tr>
                    <th>Id</th>
<th>Ccm Total Time In Seconds</th>
<th>Cm Outcome</th>
<th>Cm Outcome Detail</th>
<th>Cm Outcome Memo</th>
<th>Cm Reason1</th>
<th>Cm Reason2</th>
<th>Is Client Enrolled In Cm</th>
<th>Is Client Enrolled In Rm</th>
<th>Rm Outcome</th>
<th>Rm Outcome Detail</th>
<th>Rm Outcome Memo</th>
<th>Rm Reason1</th>
<th>Rm Reason2</th>
<th>Rpm Total Time In Seconds</th>
<th>Start Date</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>Ally Pro Id</th>
<th>Client Id</th>
<th>Mcp Pro Id</th>
<th>Created At</th>
<th>Uid</th>
<th>Created By Session Id</th>
<th>Type</th>
<th>Cm Total Time In Seconds</th>
<th>Cm Total Time In Seconds By Mcp</th>
<th>Is Cm Canceled This Month</th>
<th>Is Rm Canceled This Month</th>
<th>Is Tm This Month</th>
<th>Rm Total Time In Seconds</th>
<th>Why Is Cm Canceled This Month</th>
<th>Why Is Rm Canceled This Month</th>
<th>Cm Bill Id</th>
<th>Rm Bill Id</th>
<th>Cm Total Time In Seconds By Ally</th>
<th>Rm Total Time In Seconds By Ally</th>
<th>Rm Total Time In Seconds By Mcp</th>
                </tr>
                </thead>
                <tbody>
                @foreach($subRecords as $subRecord)
                    <tr>
                        <td><?= $subRecord->id ?></td>
<td><?= $subRecord->ccm_total_time_in_seconds ?></td>
<td><?= $subRecord->cm_outcome ?></td>
<td><?= $subRecord->cm_outcome_detail ?></td>
<td><?= $subRecord->cm_outcome_memo ?></td>
<td><?= $subRecord->cm_reason1 ?></td>
<td><?= $subRecord->cm_reason2 ?></td>
<td><?= $subRecord->is_client_enrolled_in_cm ?></td>
<td><?= $subRecord->is_client_enrolled_in_rm ?></td>
<td><?= $subRecord->rm_outcome ?></td>
<td><?= $subRecord->rm_outcome_detail ?></td>
<td><?= $subRecord->rm_outcome_memo ?></td>
<td><?= $subRecord->rm_reason1 ?></td>
<td><?= $subRecord->rm_reason2 ?></td>
<td><?= $subRecord->rpm_total_time_in_seconds ?></td>
<td><?= $subRecord->start_date ?></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->ally_pro_id ?></td>
<td><?= $subRecord->client_id ?></td>
<td><?= $subRecord->mcp_pro_id ?></td>
<td><?= $subRecord->created_at ?></td>
<td><a href="/care_months/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
<td><?= $subRecord->created_by_session_id ?></td>
<td><?= $subRecord->type ?></td>
<td><?= $subRecord->cm_total_time_in_seconds ?></td>
<td><?= $subRecord->cm_total_time_in_seconds_by_mcp ?></td>
<td><?= $subRecord->is_cm_canceled_this_month ?></td>
<td><?= $subRecord->is_rm_canceled_this_month ?></td>
<td><?= $subRecord->is_tm_this_month ?></td>
<td><?= $subRecord->rm_total_time_in_seconds ?></td>
<td><?= $subRecord->why_is_cm_canceled_this_month ?></td>
<td><?= $subRecord->why_is_rm_canceled_this_month ?></td>
<td><?= $subRecord->cm_bill_id ?></td>
<td><?= $subRecord->rm_bill_id ?></td>
<td><?= $subRecord->cm_total_time_in_seconds_by_ally ?></td>
<td><?= $subRecord->rm_total_time_in_seconds_by_ally ?></td>
<td><?= $subRecord->rm_total_time_in_seconds_by_mcp ?></td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>

    </div>

@endsection
