Quellcode durchsuchen

grouped care month

Josh Kamau vor 5 Jahren
Ursprung
Commit
f3f5a9348a

+ 3 - 1
app/Http/Controllers/care_months_SINGLE_Controller.php

@@ -187,7 +187,9 @@ class care_months_SINGLE_Controller extends Controller
 	// GET /care_months/view/{uid}/SUB_dashboard
 	public function SUB_dashboard(Request $request, $uid) {
 		$record = DB::table('care_month')->where('uid', $uid)->first();
-		return response()->view('pro/care_months_SINGLE/SUB_dashboard', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+		$result_clients = DB::select("select id, concat(name_first, ' ', name_last) as name_display from client");
+		$result_pros = DB::select("SELECT id, name_display FROM pro");
+		return response()->view('pro/care_months_SINGLE/SUB_dashboard', compact('record', 'result_clients', 'result_pros'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
 	}
 
 	// GET /care_months/view/{uid}/SUB_cm_time_entries

+ 43 - 1
generatecv/tree.txt

@@ -627,7 +627,49 @@ PRO
             setIsTmThisMonthToFalse
         SUB
             dashboard
-                !grp:Care Month Details:id,created_at,type,uid,cm_reason1,cm_reason2,cm_total_time_in_seconds,cm_total_time_in_seconds_by_cm_pro,cm_total_time_in_seconds_by_mcp,has_mcp_done_em_visit,is_client_enrolled_in_cm,is_client_enrolled_in_rm,is_cm_canceled_this_month,is_rm_canceled_this_month,is_tm_this_month,rm_reason1,rm_reason2,rm_total_time_in_seconds,rm_total_time_in_seconds_by_mcp,rm_total_time_in_seconds_by_rme_pro,rm_total_time_in_seconds_by_rmm_pro,start_date,why_is_cm_canceled_this_month,why_is_rm_canceled_this_month,why_not_enrolled_in_cm_category,why_not_enrolled_in_cm_memo,why_not_enrolled_in_rm_category,why_not_enrolled_in_rm_memo,created_by_session_id,client_id,cm_bill_id,cm_pro_id,mcp_pro_id,rm_bill_id,rme_pro_id,rmm_pro_id
+                !qry:clients:select id, concat(name_first, ' ', name_last) as name_display from client
+                !qry:pros:SELECT id, name_display FROM pro
+                !grp:Info:client_id,start_date
+                !grp:Pros:mcp_pro_id,cm_pro_id,rme_pro_id,rmm_pro_id,has_mcp_done_em_visit
+                !grp:Reasons:cm_reason1,cm_reason2,rm_reason1,rm_reason2:Put reasons:circle=>/care_months/view/$uid/ACTION_putReasons
+                !grp:CM Enrollment:is_client_enrolled_in_cm,why_not_enrolled_in_cm_category,why_not_enrolled_in_cm_memo:Update why not enrolled in CM:circle=>/care_months/view/$uid/ACTION_updateWhyNotEnrolledInCm
+                !grp:RM Enrollment:is_client_enrolled_in_rm,why_not_enrolled_in_rm_category,why_not_enrolled_in_rm_memo:Update why not enrolled in RM:circle=>/care_months/view/$uid/ACTION_updateWhyNotEnrolledInRm
+                !grp:CM Total Time:cm_total_time_in_seconds,cm_total_time_in_seconds_by_mcp,cm_total_time_in_seconds_by_cm_pro
+                !grp:RM Total Time:rm_total_time_in_seconds,rm_total_time_in_seconds_by_mcp,rm_total_time_in_seconds_by_rmm_pro,rm_total_time_in_seconds_by_rme_pro
+                !grp:Bills:cm_bill_id,rm_bill_id
+                !grp:CM Cancellation:is_cm_canceled_this_month,why_is_cm_canceled_this_month
+                !grp:RM Cancellation:is_rm_canceled_this_month,why_is_rm_canceled_this_month
+                !grp:TM:is_tm_this_month
+                !col:client_id:Client:~clients:name_display:id,=,$client_id:all
+                !col:mcp_pro_id:MCP:~pros:name_display:id,=,$mcp_pro_id:all
+                !col:cm_pro_id:CM:~pros:name_display:id,=,$cm_pro_id:all
+                !col:rmm_pro_id:RMM:~pros:name_display:id,=,$rmm_pro_id:all
+                !col:rme_pro_id:RME:~pros:name_display:id,=,$rme_pro_id:all
+                !act:mcp_pro_id:assignMcpPro:circle:if-not:mcp_pro_id=>/care_months/view/$uid/ACTION_assignMcpPro
+                !act:mcp_pro_id:changeMcpPro:circle:if:mcp_pro_id=>/care_months/view/$uid/ACTION_changeMcpPro
+                !act:mcp_pro_id:removeMcpPro:circle:if:mcp_pro_id=>/care_months/view/$uid/ACTION_removeMcpPro
+                !act:cm_pro_id:assignCmPro:circle:if-not:cm_pro_id=>/care_months/view/$uid/ACTION_assignCmPro
+                !act:cm_pro_id:changeCmPro:circle:if:cm_pro_id=>/care_months/view/$uid/ACTION_changeCmPro
+                !act:cm_pro_id:removeCmPro:circle:if:cm_pro_id=>/care_months/view/$uid/ACTION_removeCmPro
+                !act:rmm_pro_id:assignRmmPro:circle:if-not:rmm_pro_id=>/care_months/view/$uid/ACTION_assignRmmPro
+                !act:rmm_pro_id:changeRmmPro:circle:if:rmm_pro_id=>/care_months/view/$uid/ACTION_changeRmmPro
+                !act:rmm_pro_id:removeRmmPro:circle:if:rmm_pro_id=>/care_months/view/$uid/ACTION_removeRmmPro
+                !act:rme_pro_id:assignRmePro:circle:if-not:rmm_pro_id=>/care_months/view/$uid/ACTION_assignRmePro
+                !act:rme_pro_id:changeRmePro:circle:if:rmm_pro_id=>/care_months/view/$uid/ACTION_changeRmePro
+                !act:rme_pro_id:removeRmePro:circle:if:rmm_pro_id=>/care_months/view/$uid/ACTION_removeRmePro
+                !act:is_client_enrolled_in_cm:setIsClientEnrolledInCmToFalse:circle=>/care_months/view/$uid/ACTION_setIsClientEnrolledInCmToFalse
+                !act:is_client_enrolled_in_cm:setIsClientEnrolledInCmToFalse:circle=>/care_months/view/$uid/ACTION_setIsClientEnrolledInCmToTrue
+                !act:is_client_enrolled_in_rm:setIsClientEnrolledInRmToFalse:circle=>/care_months/view/$uid/ACTION_setIsClientEnrolledInRmToFalse
+                !act:is_client_enrolled_in_rm:setIsClientEnrolledInRmToFalse:circle=>/care_months/view/$uid/ACTION_setIsClientEnrolledInRmToTrue
+                !act:cm_bill_id:generateBillForCm:circle=>/care_months/view/$uid/ACTION_generateBillForCm
+                !act:rm_bill_id:generateBillForRm:circle=>/care_months/view/$uid/ACTION_generateBillForRm
+                !act:is_cm_canceled_this_month:setCmCancelledThisMonthToTrue:circle=>/care_months/view/$uid/ACTION_setIsCmCanceledThisMonthToTrue
+                !act:is_cm_canceled_this_month:setCmCancelledThisMonthToFalse:circle=>/care_months/view/$uid/ACTION_setIsCmCanceledThisMonthToFalse
+                !act:is_rm_canceled_this_month:setRmCancelledThisMonthToTrue:circle=>/care_months/view/$uid/ACTION_setIsRmCanceledThisMonthToTrue
+                !act:is_rm_canceled_this_month:setRmCancelledThisMonthToFalse:circle=>/care_months/view/$uid/ACTION_setIsRmCanceledThisMonthToFalse
+                !act:is_tm_this_month:setIsTmThisMonthToTrue:circle=>/care_months/view/$uid/ACTION_setIsTmThisMonthToTrue
+                !act:is_tm_this_month:setIsTmThisMonthToFalse:circle=>/care_months/view/$uid/ACTION_setIsTmThisMonthToFalse
+                !nal:
 # :: need remove
             cm_time_entries
                 id=care_month_entry.care_month_id,cm_or_rm='CM'

+ 179 - 34
resources/views/pro/care_months_SINGLE/SUB_dashboard.blade.php

@@ -2,62 +2,207 @@
 @section('content-inner')
 
     <div class="row mt-3">
-    <div class="col-8">
+    <div class="col-12">
 
         <div class="table-responsive p-0 bg-white table-sm mb-3">
     <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
         <thead>
         <tr>
-            <th colspan="2" class="px-2">Care Month Details
+            <th colspan="2" class="px-2">Info
                 <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
             </th>
         </tr>
         </thead>
         <tbody>
-            <tr><td class="w-25 px-2 text-secondary border-right">Created At</td><td class="w-75 px-2 font-weight-bold"><?= friendly_date_time($record->created_at) ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Type</td><td class="w-75 px-2 font-weight-bold"><?= $record->type ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Cm Reason1</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_reason1 ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Cm Reason2</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_reason2 ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Cm Total Time In Seconds</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_total_time_in_seconds ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Cm Total Time In Seconds By Cm Pro</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_total_time_in_seconds_by_cm_pro ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Cm Total Time In Seconds By Mcp</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_total_time_in_seconds_by_mcp ?></td></tr>
+            <tr><td class="w-25 px-2 text-secondary border-right">Client</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_clients, 'name_display', [['id', '=', $record->client_id], ], 'all'); ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Start Date</td><td class="w-75 px-2 font-weight-bold"><?= $record->start_date ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">Pros
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">MCP</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->mcp_pro_id], ], 'all'); ?>@if(! $record->mcp_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_assignMcpPro' title='assignMcpPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Assign Mcp Pro</span></a> @endif
+@if( $record->mcp_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_changeMcpPro' title='changeMcpPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Change Mcp Pro</span></a> @endif
+@if( $record->mcp_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_removeMcpPro' title='removeMcpPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Mcp Pro</span></a> @endif</td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">CM</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->cm_pro_id], ], 'all'); ?>@if(! $record->cm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_assignCmPro' title='assignCmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Assign Cm Pro</span></a> @endif
+@if( $record->cm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_changeCmPro' title='changeCmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Change Cm Pro</span></a> @endif
+@if( $record->cm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_removeCmPro' title='removeCmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Cm Pro</span></a> @endif</td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">RME</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rme_pro_id], ], 'all'); ?>@if(! $record->rmm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_assignRmePro' title='assignRmePro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Assign Rme Pro</span></a> @endif
+@if( $record->rmm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_changeRmePro' title='changeRmePro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Change Rme Pro</span></a> @endif
+@if( $record->rmm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_removeRmePro' title='removeRmePro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Rme Pro</span></a> @endif</td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">RMM</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rmm_pro_id], ], 'all'); ?>@if(! $record->rmm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_assignRmmPro' title='assignRmmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Assign Rmm Pro</span></a> @endif
+@if( $record->rmm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_changeRmmPro' title='changeRmmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Change Rmm Pro</span></a> @endif
+@if( $record->rmm_pro_id) <a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_removeRmmPro' title='removeRmmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Rmm Pro</span></a> @endif</td></tr>
 <tr><td class="w-25 px-2 text-secondary border-right">Has Mcp Done Em Visit</td><td class="w-75 px-2 font-weight-bold"><?= $record->has_mcp_done_em_visit ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Is Client Enrolled In Cm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_client_enrolled_in_cm ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Is Client Enrolled In Rm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_client_enrolled_in_rm ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Is Cm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_cm_canceled_this_month ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Is Rm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_rm_canceled_this_month ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Is Tm This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_tm_this_month ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">Reasons
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_putReasons' title='Put reasons'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put Reasons</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Cm Reason1</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_reason1 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Cm Reason2</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_reason2 ?></td></tr>
 <tr><td class="w-25 px-2 text-secondary border-right">Rm Reason1</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_reason1 ?></td></tr>
 <tr><td class="w-25 px-2 text-secondary border-right">Rm Reason2</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_reason2 ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds By Mcp</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds_by_mcp ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds By Rme Pro</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds_by_rme_pro ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds By Rmm Pro</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds_by_rmm_pro ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Start Date</td><td class="w-75 px-2 font-weight-bold"><?= $record->start_date ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Why Is Cm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_is_cm_canceled_this_month ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Why Is Rm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_is_rm_canceled_this_month ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">CM Enrollment
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_updateWhyNotEnrolledInCm' title='Update why not enrolled in CM'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Why Not Enrolled In CM</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Client Enrolled In Cm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_client_enrolled_in_cm ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsClientEnrolledInCmToFalse' title='setIsClientEnrolledInCmToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Client Enrolled In Cm To False</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsClientEnrolledInCmToTrue' title='setIsClientEnrolledInCmToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Client Enrolled In Cm To False</span></a></td></tr>
 <tr><td class="w-25 px-2 text-secondary border-right">Why Not Enrolled In Cm Category</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_enrolled_in_cm_category ?></td></tr>
 <tr><td class="w-25 px-2 text-secondary border-right">Why Not Enrolled In Cm Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_enrolled_in_cm_memo ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">RM Enrollment
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_updateWhyNotEnrolledInRm' title='Update why not enrolled in RM'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Why Not Enrolled In RM</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Client Enrolled In Rm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_client_enrolled_in_rm ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsClientEnrolledInRmToFalse' title='setIsClientEnrolledInRmToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Client Enrolled In Rm To False</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsClientEnrolledInRmToTrue' title='setIsClientEnrolledInRmToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Client Enrolled In Rm To False</span></a></td></tr>
 <tr><td class="w-25 px-2 text-secondary border-right">Why Not Enrolled In Rm Category</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_enrolled_in_rm_category ?></td></tr>
 <tr><td class="w-25 px-2 text-secondary border-right">Why Not Enrolled In Rm Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_enrolled_in_rm_memo ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Created By Session Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->created_by_session_id ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Client Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->client_id ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Cm Bill Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_bill_id ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Cm Pro Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_pro_id ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Mcp Pro Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcp_pro_id ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Rm Bill Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_bill_id ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Rme Pro Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->rme_pro_id ?></td></tr>
-<tr><td class="w-25 px-2 text-secondary border-right">Rmm Pro Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->rmm_pro_id ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">CM Total Time
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Cm Total Time In Seconds</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_total_time_in_seconds ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Cm Total Time In Seconds By Mcp</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_total_time_in_seconds_by_mcp ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Cm Total Time In Seconds By Cm Pro</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_total_time_in_seconds_by_cm_pro ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">RM Total Time
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds By Mcp</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds_by_mcp ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds By Rmm Pro</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds_by_rmm_pro ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Rm Total Time In Seconds By Rme Pro</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_total_time_in_seconds_by_rme_pro ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">Bills
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Cm Bill Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_bill_id ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_generateBillForCm' title='generateBillForCm' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Generate Bill For Cm</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Rm Bill Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->rm_bill_id ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_generateBillForRm' title='generateBillForRm' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Generate Bill For Rm</span></a></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">CM Cancellation
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Cm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_cm_canceled_this_month ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsCmCanceledThisMonthToTrue' title='setCmCancelledThisMonthToTrue' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Cm Cancelled This Month To True</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsCmCanceledThisMonthToFalse' title='setCmCancelledThisMonthToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Cm Cancelled This Month To False</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Is Cm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_is_cm_canceled_this_month ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">RM Cancellation
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Rm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_rm_canceled_this_month ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsRmCanceledThisMonthToTrue' title='setRmCancelledThisMonthToTrue' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Rm Cancelled This Month To True</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsRmCanceledThisMonthToFalse' title='setRmCancelledThisMonthToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Rm Cancelled This Month To False</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Is Rm Canceled This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_is_rm_canceled_this_month ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+<div class="table-responsive p-0 bg-white table-sm mb-3">
+    <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+        <thead>
+        <tr>
+            <th colspan="2" class="px-2">TM
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Tm This Month</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_tm_this_month ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsTmThisMonthToTrue' title='setIsTmThisMonthToTrue' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Tm This Month To True</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/care_months/view/<?= $record->uid ?>/ACTION_setIsTmThisMonthToFalse' title='setIsTmThisMonthToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Tm This Month To False</span></a></td></tr>
         </tbody>
     </table>
 </div>
 
 
-    </div>
-    <div class="col-4">
-        <div class="border-left h-100 pl-3">
-            @include('pro/care_months/actions')
-        </div>
     </div>
 </div>