Преглед на файлове

Generate tables for all team and client subs

Vijayakrishnan Krishnan преди 5 години
родител
ревизия
eeac487cbe

+ 18 - 9
app/Http/Controllers/my_clients_SINGLE_Controller.php

@@ -228,43 +228,50 @@ class my_clients_SINGLE_Controller extends Controller
 	// GET /my_clients/view/{uid}/SUB_pro_access
 	public function SUB_pro_access(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_pro_access', compact('record'));
+		$subRecords = DB::table('client_pro_access')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_pro_access', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_notes
 	public function SUB_notes(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_notes', compact('record'));
+		$subRecords = DB::table('note')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_notes', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_care_months
 	public function SUB_care_months(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_care_months', compact('record'));
+		$subRecords = DB::table('care_month')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_care_months', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_care_month_entries
 	public function SUB_care_month_entries(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_care_month_entries', compact('record'));
+		$subRecords = DB::table('care_month_entry')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_care_month_entries', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_bills
 	public function SUB_bills(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_bills', compact('record'));
+		$subRecords = DB::table('bill')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_bills', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_related_transactions
 	public function SUB_related_transactions(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_related_transactions', compact('record'));
+		$subRecords = DB::table('pro_transaction')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_related_transactions', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_action_items
 	public function SUB_action_items(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_action_items', compact('record'));
+		$subRecords = DB::table('action_item')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_action_items', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_erx
@@ -276,13 +283,15 @@ class my_clients_SINGLE_Controller extends Controller
 	// GET /my_clients/view/{uid}/SUB_mcp_updates
 	public function SUB_mcp_updates(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_mcp_updates', compact('record'));
+		$subRecords = DB::table('client_mcp_update')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_mcp_updates', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_ally_updates
 	public function SUB_ally_updates(Request $request, $uid) {
 		$record = DB::table('client')->where('uid', $uid)->first();
-		return view('pro/my_clients_SINGLE/SUB_ally_updates', compact('record'));
+		$subRecords = DB::table('client_ally_update')->where('client_id', $record->id)->get();
+		return view('pro/my_clients_SINGLE/SUB_ally_updates', compact('record', 'subRecords'));
 	}
 
 	// GET /my_clients/view/{uid}/SUB_audit_log

+ 9 - 0
generatecv/tree.txt

@@ -141,19 +141,28 @@ PRO
             med_profile
             med_profile_log
             pro_access
+                id=client_pro_access.client_id
             notes
+                id=note.client_id
 #           notes/add_new
             care_months
+                id=care_month.client_id
 #           care_months/add_new
             care_month_entries
+                id=care_month_entry.client_id
             bills
+                id=bill.client_id
             related_transactions
+                id=pro_transaction.client_id
             action_items
+                id=action_item.client_id
 #           action_items/add_new
             erx
 #           erx/add_new
             mcp_updates
+                id=client_mcp_update.client_id
             ally_updates
+                id=client_ally_update.client_id
             audit_log
     notes|note|view
     notes/view/{uid}

+ 69 - 1
resources/views/pro/my_clients_SINGLE/SUB_action_items.blade.php

@@ -1,6 +1,74 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Action Items</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_action_items()</b><br>View: <b>pro/my_clients_SINGLE/SUB_action_items.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Action Items</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Action Item Category</th>
+<th>Content Detail</th>
+<th>Content Text</th>
+<th>Is Signed By Ally</th>
+<th>Is Signed By Prescriber</th>
+<th>Signed By Ally At</th>
+<th>Signed By Prescriber At</th>
+<th>Status Category</th>
+<th>Status Memo</th>
+<th>Created By Session Id</th>
+<th>Ally Pro Id</th>
+<th>Client Id</th>
+<th>Current Content Update Id</th>
+<th>Current Status Update Id</th>
+<th>Prescriber Pro Id</th>
+<th>Signed By Ally Session Id</th>
+<th>Signed By Prescriber Session Id</th>
+<th>To Facility Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></td>
+<td><?= $subRecord->action_item_category ?></td>
+<td><?= $subRecord->content_detail ?></td>
+<td><?= $subRecord->content_text ?></td>
+<td><?= $subRecord->is_signed_by_ally ?></td>
+<td><?= $subRecord->is_signed_by_prescriber ?></td>
+<td><?= $subRecord->signed_by_ally_at ?></td>
+<td><?= $subRecord->signed_by_prescriber_at ?></td>
+<td><?= $subRecord->status_category ?></td>
+<td><?= $subRecord->status_memo ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->ally_pro_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->current_content_update_id ?></td>
+<td><?= $subRecord->current_status_update_id ?></td>
+<td><?= $subRecord->prescriber_pro_id ?></td>
+<td><?= $subRecord->signed_by_ally_session_id ?></td>
+<td><?= $subRecord->signed_by_prescriber_session_id ?></td>
+<td><?= $subRecord->to_facility_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 39 - 1
resources/views/pro/my_clients_SINGLE/SUB_ally_updates.blade.php

@@ -1,6 +1,44 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Ally Updates</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_ally_updates()</b><br>View: <b>pro/my_clients_SINGLE/SUB_ally_updates.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Ally Updates</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Created By Session Id</th>
+<th>Client Id</th>
+<th>Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->pro_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 115 - 1
resources/views/pro/my_clients_SINGLE/SUB_bills.blade.php

@@ -1,6 +1,120 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Bills</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_bills()</b><br>View: <b>pro/my_clients_SINGLE/SUB_bills.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Bills</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Ally Expected Payment Amount</th>
+<th>Ally Payment Amount</th>
+<th>Bill Service Type</th>
+<th>Cm Or Rm</th>
+<th>Code</th>
+<th>Collected Amount</th>
+<th>Effective Date</th>
+<th>Has Ally Been Paid</th>
+<th>Has Hcp Been Paid</th>
+<th>Hcp Expected Payment Amount</th>
+<th>Hcp Payment Amount</th>
+<th>Is Cancelled</th>
+<th>Is Resubmission Required</th>
+<th>Is Signed By Ally</th>
+<th>Is Signed By Hcp</th>
+<th>Is Submitted</th>
+<th>Marked Cancelled At</th>
+<th>Marked Resubmission Required At</th>
+<th>Marked Submitted At</th>
+<th>Modifier</th>
+<th>Number Of Units</th>
+<th>Reason1</th>
+<th>Reason2</th>
+<th>Reason3</th>
+<th>Reason3plus</th>
+<th>Service Location</th>
+<th>Signed By Ally At</th>
+<th>Signed By Hcp At</th>
+<th>Created By Session Id</th>
+<th>Ally Payment Pro Transaction Id</th>
+<th>Ally Pro Id</th>
+<th>Care Month Id</th>
+<th>Client Id</th>
+<th>Hcp Payment Pro Transaction Id</th>
+<th>Hcp Pro Id</th>
+<th>Marked Cancelled By Session Id</th>
+<th>Marked Resubmission Required By Session Id</th>
+<th>Marked Submitted By Session Id</th>
+<th>Note Id</th>
+<th>Signed By Ally Session Id</th>
+<th>Signed By Hcp Session Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></td>
+<td><?= $subRecord->ally_expected_payment_amount ?></td>
+<td><?= $subRecord->ally_payment_amount ?></td>
+<td><?= $subRecord->bill_service_type ?></td>
+<td><?= $subRecord->cm_or_rm ?></td>
+<td><?= $subRecord->code ?></td>
+<td><?= $subRecord->collected_amount ?></td>
+<td><?= $subRecord->effective_date ?></td>
+<td><?= $subRecord->has_ally_been_paid ?></td>
+<td><?= $subRecord->has_hcp_been_paid ?></td>
+<td><?= $subRecord->hcp_expected_payment_amount ?></td>
+<td><?= $subRecord->hcp_payment_amount ?></td>
+<td><?= $subRecord->is_cancelled ?></td>
+<td><?= $subRecord->is_resubmission_required ?></td>
+<td><?= $subRecord->is_signed_by_ally ?></td>
+<td><?= $subRecord->is_signed_by_hcp ?></td>
+<td><?= $subRecord->is_submitted ?></td>
+<td><?= $subRecord->marked_cancelled_at ?></td>
+<td><?= $subRecord->marked_resubmission_required_at ?></td>
+<td><?= $subRecord->marked_submitted_at ?></td>
+<td><?= $subRecord->modifier ?></td>
+<td><?= $subRecord->number_of_units ?></td>
+<td><?= $subRecord->reason1 ?></td>
+<td><?= $subRecord->reason2 ?></td>
+<td><?= $subRecord->reason3 ?></td>
+<td><?= $subRecord->reason3plus ?></td>
+<td><?= $subRecord->service_location ?></td>
+<td><?= $subRecord->signed_by_ally_at ?></td>
+<td><?= $subRecord->signed_by_hcp_at ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->ally_payment_pro_transaction_id ?></td>
+<td><?= $subRecord->ally_pro_id ?></td>
+<td><?= $subRecord->care_month_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->hcp_payment_pro_transaction_id ?></td>
+<td><?= $subRecord->hcp_pro_id ?></td>
+<td><?= $subRecord->marked_cancelled_by_session_id ?></td>
+<td><?= $subRecord->marked_resubmission_required_by_session_id ?></td>
+<td><?= $subRecord->marked_submitted_by_session_id ?></td>
+<td><?= $subRecord->note_id ?></td>
+<td><?= $subRecord->signed_by_ally_session_id ?></td>
+<td><?= $subRecord->signed_by_hcp_session_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 71 - 1
resources/views/pro/my_clients_SINGLE/SUB_care_month_entries.blade.php

@@ -1,6 +1,76 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Care Month Entries</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_care_month_entries()</b><br>View: <b>pro/my_clients_SINGLE/SUB_care_month_entries.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Care Month Entries</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Is Removed</th>
+<th>Removal Memo</th>
+<th>Removed At</th>
+<th>Achieved Ally Time In Seconds</th>
+<th>Achieved Mcp Time In Seconds</th>
+<th>Achieved Total Time In Seconds</th>
+<th>Cm Or Rm</th>
+<th>Content Detail</th>
+<th>Content Text</th>
+<th>Effective Date</th>
+<th>Ending Time</th>
+<th>Is Time Specific</th>
+<th>Starting Time</th>
+<th>Time In Seconds</th>
+<th>Created By Session Id</th>
+<th>Removed By Session Id</th>
+<th>Care Month Id</th>
+<th>Client Id</th>
+<th>Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></td>
+<td><?= $subRecord->is_removed ?></td>
+<td><?= $subRecord->removal_memo ?></td>
+<td><?= $subRecord->removed_at ?></td>
+<td><?= $subRecord->achieved_ally_time_in_seconds ?></td>
+<td><?= $subRecord->achieved_mcp_time_in_seconds ?></td>
+<td><?= $subRecord->achieved_total_time_in_seconds ?></td>
+<td><?= $subRecord->cm_or_rm ?></td>
+<td><?= $subRecord->content_detail ?></td>
+<td><?= $subRecord->content_text ?></td>
+<td><?= $subRecord->effective_date ?></td>
+<td><?= $subRecord->ending_time ?></td>
+<td><?= $subRecord->is_time_specific ?></td>
+<td><?= $subRecord->starting_time ?></td>
+<td><?= $subRecord->time_in_seconds ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->removed_by_session_id ?></td>
+<td><?= $subRecord->care_month_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->pro_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 89 - 1
resources/views/pro/my_clients_SINGLE/SUB_care_months.blade.php

@@ -1,6 +1,94 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Care Months</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_care_months()</b><br>View: <b>pro/my_clients_SINGLE/SUB_care_months.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Care Months</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Cm Reason1</th>
+<th>Cm Reason2</th>
+<th>Cm Total Time In Seconds</th>
+<th>Cm Total Time In Seconds By Ally</th>
+<th>Cm Total Time In Seconds By Mcp</th>
+<th>Is Client Enrolled In Cm</th>
+<th>Is Client Enrolled In Rm</th>
+<th>Is Cm Canceled This Month</th>
+<th>Is Rm Canceled This Month</th>
+<th>Is Tm This Month</th>
+<th>Rm Reason1</th>
+<th>Rm Reason2</th>
+<th>Rm Total Time In Seconds</th>
+<th>Rm Total Time In Seconds By Ally</th>
+<th>Rm Total Time In Seconds By Mcp</th>
+<th>Start Date</th>
+<th>Why Is Cm Canceled This Month</th>
+<th>Why Is Rm Canceled This Month</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>Created By Session Id</th>
+<th>Ally Pro Id</th>
+<th>Client Id</th>
+<th>Cm Bill Id</th>
+<th>Mcp Pro Id</th>
+<th>Rm Bill Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></td>
+<td><?= $subRecord->cm_reason1 ?></td>
+<td><?= $subRecord->cm_reason2 ?></td>
+<td><?= $subRecord->cm_total_time_in_seconds ?></td>
+<td><?= $subRecord->cm_total_time_in_seconds_by_ally ?></td>
+<td><?= $subRecord->cm_total_time_in_seconds_by_mcp ?></td>
+<td><?= $subRecord->is_client_enrolled_in_cm ?></td>
+<td><?= $subRecord->is_client_enrolled_in_rm ?></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_reason1 ?></td>
+<td><?= $subRecord->rm_reason2 ?></td>
+<td><?= $subRecord->rm_total_time_in_seconds ?></td>
+<td><?= $subRecord->rm_total_time_in_seconds_by_ally ?></td>
+<td><?= $subRecord->rm_total_time_in_seconds_by_mcp ?></td>
+<td><?= $subRecord->start_date ?></td>
+<td><?= $subRecord->why_is_cm_canceled_this_month ?></td>
+<td><?= $subRecord->why_is_rm_canceled_this_month ?></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->created_by_session_id ?></td>
+<td><?= $subRecord->ally_pro_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->cm_bill_id ?></td>
+<td><?= $subRecord->mcp_pro_id ?></td>
+<td><?= $subRecord->rm_bill_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 39 - 1
resources/views/pro/my_clients_SINGLE/SUB_mcp_updates.blade.php

@@ -1,6 +1,44 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Mcp Updates</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_mcp_updates()</b><br>View: <b>pro/my_clients_SINGLE/SUB_mcp_updates.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Mcp Updates</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Created By Session Id</th>
+<th>Client Id</th>
+<th>Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->pro_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 87 - 1
resources/views/pro/my_clients_SINGLE/SUB_notes.blade.php

@@ -1,6 +1,92 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Notes</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_notes()</b><br>View: <b>pro/my_clients_SINGLE/SUB_notes.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Notes</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Deactivated At</th>
+<th>Deactivation Memo</th>
+<th>Is Active</th>
+<th>Reactivated At</th>
+<th>Reactivation Memo</th>
+<th>Category</th>
+<th>Content Detail</th>
+<th>Content Text</th>
+<th>Effective Dateest</th>
+<th>Effective Time</th>
+<th>Is Signed By Ally</th>
+<th>Is Signed By Hcp</th>
+<th>Reason1</th>
+<th>Reason2</th>
+<th>Reason3</th>
+<th>Reason3plus</th>
+<th>Service Location</th>
+<th>Signed By Ally At</th>
+<th>Signed By Hcp At</th>
+<th>Created By Session Id</th>
+<th>Deactivated By Session Id</th>
+<th>Reactivated By Session Id</th>
+<th>Ally Pro Id</th>
+<th>Client Id</th>
+<th>Hcp Pro Id</th>
+<th>Signed By Ally Session Id</th>
+<th>Signed By Hcp Session Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></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->category ?></td>
+<td><?= $subRecord->content_detail ?></td>
+<td><?= $subRecord->content_text ?></td>
+<td><?= $subRecord->effective_dateest ?></td>
+<td><?= $subRecord->effective_time ?></td>
+<td><?= $subRecord->is_signed_by_ally ?></td>
+<td><?= $subRecord->is_signed_by_hcp ?></td>
+<td><?= $subRecord->reason1 ?></td>
+<td><?= $subRecord->reason2 ?></td>
+<td><?= $subRecord->reason3 ?></td>
+<td><?= $subRecord->reason3plus ?></td>
+<td><?= $subRecord->service_location ?></td>
+<td><?= $subRecord->signed_by_ally_at ?></td>
+<td><?= $subRecord->signed_by_hcp_at ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->deactivated_by_session_id ?></td>
+<td><?= $subRecord->reactivated_by_session_id ?></td>
+<td><?= $subRecord->ally_pro_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->hcp_pro_id ?></td>
+<td><?= $subRecord->signed_by_ally_session_id ?></td>
+<td><?= $subRecord->signed_by_hcp_session_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 57 - 1
resources/views/pro/my_clients_SINGLE/SUB_pro_access.blade.php

@@ -1,6 +1,62 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Pro Access</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_pro_access()</b><br>View: <b>pro/my_clients_SINGLE/SUB_pro_access.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Pro Access</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Deactivated At</th>
+<th>Deactivation Memo</th>
+<th>Is Active</th>
+<th>Reactivated At</th>
+<th>Reactivation Memo</th>
+<th>Reason Category</th>
+<th>Reason Memo</th>
+<th>Created By Session Id</th>
+<th>Deactivated By Session Id</th>
+<th>Reactivated By Session Id</th>
+<th>Client Id</th>
+<th>Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></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->reason_category ?></td>
+<td><?= $subRecord->reason_memo ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->deactivated_by_session_id ?></td>
+<td><?= $subRecord->reactivated_by_session_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->pro_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 53 - 1
resources/views/pro/my_clients_SINGLE/SUB_related_transactions.blade.php

@@ -1,6 +1,58 @@
 @extends('pro.my_clients.view')
 @section('content-inner')
 
-    <h4 class='py-3 border-bottom'>Related Transactions</h4>Controller: <b>my_clients_SINGLE</b><br>Action: <b>SUB_related_transactions()</b><br>View: <b>pro/my_clients_SINGLE/SUB_related_transactions.blade.php</b><br>
+    <div class="mr-3 pb-3">
+
+        <h4 class='my-3'>
+            <div>Related Transactions</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h4>
+
+        <div class="table-responsive p-0 bg-white border">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>Id</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Uid</th>
+<th>Amount</th>
+<th>Custom Memo</th>
+<th>Plus Or Minus</th>
+<th>Reason Type</th>
+<th>Resulting Balance</th>
+<th>System Memo</th>
+<th>Created By Session Id</th>
+<th>Bill Id</th>
+<th>Client Id</th>
+<th>Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><?= $subRecord->id ?></td>
+<td><?= $subRecord->created_at ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->uid ?></td>
+<td><?= $subRecord->amount ?></td>
+<td><?= $subRecord->custom_memo ?></td>
+<td><?= $subRecord->plus_or_minus ?></td>
+<td><?= $subRecord->reason_type ?></td>
+<td><?= $subRecord->resulting_balance ?></td>
+<td><?= $subRecord->system_memo ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->bill_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->pro_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
 
 @endsection

+ 1 - 1
resources/views/pro/my_teams_SINGLE/SUB_clients.blade.php

@@ -184,7 +184,7 @@
                 </tbody>
             </table>
         </div>
-        
+
     </div>
 
 @endsection