Browse Source

updated client MCN section

Josh Kamau 5 years ago
parent
commit
984c0afd0a
99 changed files with 6386 additions and 162 deletions
  1. 3 1
      app/Http/Controllers/care_month_entries_SINGLE_Controller.php
  2. 31 0
      app/Http/Controllers/clients_Controller.php
  3. 534 0
      app/Http/Controllers/clients_SINGLE_Controller.php
  4. 0 0
      generatecv/invalid.json
  5. 180 0
      generatecv/test.json
  6. 69 65
      generatecv/tree.txt
  7. 2 2
      resources/views/layouts/generated-links.blade.php
  8. 1 1
      resources/views/pro/care_month_entries_SINGLE/SUB_dashboard.blade.php
  9. 62 0
      resources/views/pro/clients/actions.blade.php
  10. 120 0
      resources/views/pro/clients/add_new.blade.php
  11. 42 0
      resources/views/pro/clients/index.blade.php
  12. 3 0
      resources/views/pro/clients/info.blade.php
  13. 15 0
      resources/views/pro/clients/subs.blade.php
  14. 20 0
      resources/views/pro/clients/view.blade.php
  15. 41 0
      resources/views/pro/clients_SINGLE/ACTION_acceptAssignmentAsMcpOnboardingPro.blade.php
  16. 66 0
      resources/views/pro/clients_SINGLE/ACTION_action_itemsAddNew.blade.php
  17. 46 0
      resources/views/pro/clients_SINGLE/ACTION_care_monthsAddNew.blade.php
  18. 45 0
      resources/views/pro/clients_SINGLE/ACTION_confirmCellNumberWithConfirmationToken.blade.php
  19. 45 0
      resources/views/pro/clients_SINGLE/ACTION_confirmEmailAddressWithConfirmationToken.blade.php
  20. 41 0
      resources/views/pro/clients_SINGLE/ACTION_deactivate.blade.php
  21. 184 0
      resources/views/pro/clients_SINGLE/ACTION_editAddress.blade.php
  22. 96 0
      resources/views/pro/clients_SINGLE/ACTION_editContactDetails.blade.php
  23. 78 0
      resources/views/pro/clients_SINGLE/ACTION_editDemographics.blade.php
  24. 47 0
      resources/views/pro/clients_SINGLE/ACTION_editEmergencyRelationship.blade.php
  25. 78 0
      resources/views/pro/clients_SINGLE/ACTION_editFamilyInfo.blade.php
  26. 45 0
      resources/views/pro/clients_SINGLE/ACTION_editIntakeDetails.blade.php
  27. 142 0
      resources/views/pro/clients_SINGLE/ACTION_editMiscDemographics.blade.php
  28. 73 0
      resources/views/pro/clients_SINGLE/ACTION_editName.blade.php
  29. 51 0
      resources/views/pro/clients_SINGLE/ACTION_editPharmacy.blade.php
  30. 56 0
      resources/views/pro/clients_SINGLE/ACTION_editResponsibleParty.blade.php
  31. 83 0
      resources/views/pro/clients_SINGLE/ACTION_editSource.blade.php
  32. 47 0
      resources/views/pro/clients_SINGLE/ACTION_editSpouse.blade.php
  33. 41 0
      resources/views/pro/clients_SINGLE/ACTION_editSsn.blade.php
  34. 66 0
      resources/views/pro/clients_SINGLE/ACTION_erxAddNew.blade.php
  35. 50 0
      resources/views/pro/clients_SINGLE/ACTION_med_profileAddNew.blade.php
  36. 102 0
      resources/views/pro/clients_SINGLE/ACTION_notesAddNew.blade.php
  37. 60 0
      resources/views/pro/clients_SINGLE/ACTION_pro_accessAddNew.blade.php
  38. 47 0
      resources/views/pro/clients_SINGLE/ACTION_putCmPro.blade.php
  39. 41 0
      resources/views/pro/clients_SINGLE/ACTION_putMcn.blade.php
  40. 47 0
      resources/views/pro/clients_SINGLE/ACTION_putMcp.blade.php
  41. 47 0
      resources/views/pro/clients_SINGLE/ACTION_putMcpOnboardingPro.blade.php
  42. 41 0
      resources/views/pro/clients_SINGLE/ACTION_putNewCellNumber.blade.php
  43. 41 0
      resources/views/pro/clients_SINGLE/ACTION_putNewEmailAddress.blade.php
  44. 47 0
      resources/views/pro/clients_SINGLE/ACTION_putRdPro.blade.php
  45. 47 0
      resources/views/pro/clients_SINGLE/ACTION_putRmePro.blade.php
  46. 47 0
      resources/views/pro/clients_SINGLE/ACTION_putRmmPro.blade.php
  47. 41 0
      resources/views/pro/clients_SINGLE/ACTION_reactivate.blade.php
  48. 41 0
      resources/views/pro/clients_SINGLE/ACTION_rejectAssignmentAsMcpOnboardingPro.blade.php
  49. 158 0
      resources/views/pro/clients_SINGLE/ACTION_relationshipsAddNew.blade.php
  50. 38 0
      resources/views/pro/clients_SINGLE/ACTION_removeCmPro.blade.php
  51. 38 0
      resources/views/pro/clients_SINGLE/ACTION_removeMcn.blade.php
  52. 38 0
      resources/views/pro/clients_SINGLE/ACTION_removeMcp.blade.php
  53. 38 0
      resources/views/pro/clients_SINGLE/ACTION_removeMcpOnboardingPro.blade.php
  54. 38 0
      resources/views/pro/clients_SINGLE/ACTION_removeRdPro.blade.php
  55. 38 0
      resources/views/pro/clients_SINGLE/ACTION_removeRmePro.blade.php
  56. 38 0
      resources/views/pro/clients_SINGLE/ACTION_removeRmmPro.blade.php
  57. 38 0
      resources/views/pro/clients_SINGLE/ACTION_sendCellNumberConfirmationMessage.blade.php
  58. 38 0
      resources/views/pro/clients_SINGLE/ACTION_sendEmailAddressConfirmationMessage.blade.php
  59. 38 0
      resources/views/pro/clients_SINGLE/ACTION_setIsDeceasedToFalse.blade.php
  60. 49 0
      resources/views/pro/clients_SINGLE/ACTION_setIsDeceasedToTrue.blade.php
  61. 38 0
      resources/views/pro/clients_SINGLE/ACTION_setIsDuplicateToFalse.blade.php
  62. 47 0
      resources/views/pro/clients_SINGLE/ACTION_setIsDuplicateToTrue.blade.php
  63. 45 0
      resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInCmToFalse.blade.php
  64. 53 0
      resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInCmToTrue.blade.php
  65. 45 0
      resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInRmToFalse.blade.php
  66. 45 0
      resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInRmToTrue.blade.php
  67. 52 0
      resources/views/pro/clients_SINGLE/ACTION_updateCmEligibility.blade.php
  68. 45 0
      resources/views/pro/clients_SINGLE/ACTION_updateCmEnrollmentConsentInfo.blade.php
  69. 45 0
      resources/views/pro/clients_SINGLE/ACTION_updateCmReasons.blade.php
  70. 41 0
      resources/views/pro/clients_SINGLE/ACTION_updateDeactivationMemo.blade.php
  71. 76 0
      resources/views/pro/clients_SINGLE/ACTION_updateEquipmentInfo.blade.php
  72. 54 0
      resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingActiveInfo.blade.php
  73. 41 0
      resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingProDecisionMemo.blade.php
  74. 45 0
      resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingStrategy.blade.php
  75. 64 0
      resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingVisitInfo.blade.php
  76. 50 0
      resources/views/pro/clients_SINGLE/ACTION_updateMntEligibility.blade.php
  77. 45 0
      resources/views/pro/clients_SINGLE/ACTION_updateNextMcpOnboardingAttempt.blade.php
  78. 41 0
      resources/views/pro/clients_SINGLE/ACTION_updateReactivationMemo.blade.php
  79. 52 0
      resources/views/pro/clients_SINGLE/ACTION_updateRmEligibility.blade.php
  80. 45 0
      resources/views/pro/clients_SINGLE/ACTION_updateRmReasons.blade.php
  81. 50 0
      resources/views/pro/clients_SINGLE/ACTION_updateWebcamInfo.blade.php
  82. 45 0
      resources/views/pro/clients_SINGLE/ACTION_updateWhyNotEnrolledInCm.blade.php
  83. 45 0
      resources/views/pro/clients_SINGLE/ACTION_updateWhyNotEnrolledInRm.blade.php
  84. 72 0
      resources/views/pro/clients_SINGLE/SUB_action_items.blade.php
  85. 42 0
      resources/views/pro/clients_SINGLE/SUB_ally_updates.blade.php
  86. 6 0
      resources/views/pro/clients_SINGLE/SUB_audit_log.blade.php
  87. 146 0
      resources/views/pro/clients_SINGLE/SUB_bills.blade.php
  88. 78 0
      resources/views/pro/clients_SINGLE/SUB_care_month_entries.blade.php
  89. 100 0
      resources/views/pro/clients_SINGLE/SUB_care_months.blade.php
  90. 621 0
      resources/views/pro/clients_SINGLE/SUB_dashboard.blade.php
  91. 72 0
      resources/views/pro/clients_SINGLE/SUB_erx.blade.php
  92. 42 0
      resources/views/pro/clients_SINGLE/SUB_mcp_updates.blade.php
  93. 38 0
      resources/views/pro/clients_SINGLE/SUB_med_profile.blade.php
  94. 38 0
      resources/views/pro/clients_SINGLE/SUB_med_profile_log.blade.php
  95. 34 0
      resources/views/pro/clients_SINGLE/SUB_notes.blade.php
  96. 60 0
      resources/views/pro/clients_SINGLE/SUB_pro_access.blade.php
  97. 56 0
      resources/views/pro/clients_SINGLE/SUB_related_transactions.blade.php
  98. 40 0
      resources/views/pro/clients_SINGLE/SUB_relationships.blade.php
  99. 93 93
      routes/generated.php

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

@@ -31,6 +31,8 @@ class care_month_entries_SINGLE_Controller extends Controller
 	// GET /care_month_entries/view/{uid}/SUB_dashboard
 	public function SUB_dashboard(Request $request, $uid) {
 		$record = DB::table('care_month_entry')->where('uid', $uid)->first();
-		return response()->view('pro/care_month_entries_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_month_entries_SINGLE/SUB_dashboard', compact('record', 'result_clients', 'result_pros'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
 	}
 }

+ 31 - 0
app/Http/Controllers/clients_Controller.php

@@ -0,0 +1,31 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class clients_Controller extends Controller
+{
+    public $selfName = 'clients_Controller';
+
+	// GET /clients
+	public function index(Request $request) {
+		$records = DB::table('client')->get();
+		$result_pros = DB::select("SELECT id, name_display FROM pro");
+		return response()->view('pro/clients/index', compact('records', 'result_pros'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/add_new
+	public function add_new(Request $request) {
+		$records = DB::table('client')->get();
+		$result_pros = DB::select("SELECT uid, name_display FROM pro");
+		return response()->view('pro/clients/add_new', compact('records', 'result_pros'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}
+	public function view(Request $request, $uid) {
+		return redirect("/clients/view/$uid/SUB_dashboard");
+	}
+}

+ 534 - 0
app/Http/Controllers/clients_SINGLE_Controller.php

@@ -0,0 +1,534 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class clients_SINGLE_Controller extends Controller
+{
+    public $selfName = 'clients_SINGLE_Controller';
+
+	// GET /clients/view/{uid}/ACTION_sendCellNumberConfirmationMessage
+	public function ACTION_sendCellNumberConfirmationMessage(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_sendCellNumberConfirmationMessage', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_confirmCellNumberWithConfirmationToken
+	public function ACTION_confirmCellNumberWithConfirmationToken(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_confirmCellNumberWithConfirmationToken', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putNewCellNumber
+	public function ACTION_putNewCellNumber(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putNewCellNumber', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putNewEmailAddress
+	public function ACTION_putNewEmailAddress(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putNewEmailAddress', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_sendEmailAddressConfirmationMessage
+	public function ACTION_sendEmailAddressConfirmationMessage(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_sendEmailAddressConfirmationMessage', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_confirmEmailAddressWithConfirmationToken
+	public function ACTION_confirmEmailAddressWithConfirmationToken(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_confirmEmailAddressWithConfirmationToken', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_deactivate
+	public function ACTION_deactivate(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_deactivate', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateDeactivationMemo
+	public function ACTION_updateDeactivationMemo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateDeactivationMemo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_reactivate
+	public function ACTION_reactivate(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_reactivate', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateReactivationMemo
+	public function ACTION_updateReactivationMemo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateReactivationMemo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editSource
+	public function ACTION_editSource(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editSource', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsDuplicateToTrue
+	public function ACTION_setIsDuplicateToTrue(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsDuplicateToTrue', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsDuplicateToFalse
+	public function ACTION_setIsDuplicateToFalse(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsDuplicateToFalse', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editName
+	public function ACTION_editName(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editName', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editDemographics
+	public function ACTION_editDemographics(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editDemographics', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editSpouse
+	public function ACTION_editSpouse(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editSpouse', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editIntakeDetails
+	public function ACTION_editIntakeDetails(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editIntakeDetails', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editResponsibleParty
+	public function ACTION_editResponsibleParty(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editResponsibleParty', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editEmergencyRelationship
+	public function ACTION_editEmergencyRelationship(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editEmergencyRelationship', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editFamilyInfo
+	public function ACTION_editFamilyInfo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editFamilyInfo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editContactDetails
+	public function ACTION_editContactDetails(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editContactDetails', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editAddress
+	public function ACTION_editAddress(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editAddress', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editMiscDemographics
+	public function ACTION_editMiscDemographics(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editMiscDemographics', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsDeceasedToTrue
+	public function ACTION_setIsDeceasedToTrue(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsDeceasedToTrue', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsDeceasedToFalse
+	public function ACTION_setIsDeceasedToFalse(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsDeceasedToFalse', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editPharmacy
+	public function ACTION_editPharmacy(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editPharmacy', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_editSsn
+	public function ACTION_editSsn(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_editSsn', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putMcn
+	public function ACTION_putMcn(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putMcn', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_removeMcn
+	public function ACTION_removeMcn(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_removeMcn', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateWebcamInfo
+	public function ACTION_updateWebcamInfo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateWebcamInfo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putMcp
+	public function ACTION_putMcp(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putMcp', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_removeMcp
+	public function ACTION_removeMcp(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_removeMcp', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateMcpOnboardingVisitInfo
+	public function ACTION_updateMcpOnboardingVisitInfo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateMcpOnboardingVisitInfo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateMcpOnboardingActiveInfo
+	public function ACTION_updateMcpOnboardingActiveInfo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateMcpOnboardingActiveInfo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putMcpOnboardingPro
+	public function ACTION_putMcpOnboardingPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putMcpOnboardingPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_removeMcpOnboardingPro
+	public function ACTION_removeMcpOnboardingPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_removeMcpOnboardingPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_acceptAssignmentAsMcpOnboardingPro
+	public function ACTION_acceptAssignmentAsMcpOnboardingPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_acceptAssignmentAsMcpOnboardingPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_rejectAssignmentAsMcpOnboardingPro
+	public function ACTION_rejectAssignmentAsMcpOnboardingPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_rejectAssignmentAsMcpOnboardingPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateMcpOnboardingProDecisionMemo
+	public function ACTION_updateMcpOnboardingProDecisionMemo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateMcpOnboardingProDecisionMemo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateMcpOnboardingStrategy
+	public function ACTION_updateMcpOnboardingStrategy(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateMcpOnboardingStrategy', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateNextMcpOnboardingAttempt
+	public function ACTION_updateNextMcpOnboardingAttempt(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateNextMcpOnboardingAttempt', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putCmPro
+	public function ACTION_putCmPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putCmPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_removeCmPro
+	public function ACTION_removeCmPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_removeCmPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putRmePro
+	public function ACTION_putRmePro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putRmePro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_removeRmePro
+	public function ACTION_removeRmePro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_removeRmePro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putRmmPro
+	public function ACTION_putRmmPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putRmmPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_removeRmmPro
+	public function ACTION_removeRmmPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_removeRmmPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_putRdPro
+	public function ACTION_putRdPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_putRdPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_removeRdPro
+	public function ACTION_removeRdPro(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_removeRdPro', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateMntEligibility
+	public function ACTION_updateMntEligibility(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateMntEligibility', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateCmEligibility
+	public function ACTION_updateCmEligibility(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateCmEligibility', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsEnrolledInCmToFalse
+	public function ACTION_setIsEnrolledInCmToFalse(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsEnrolledInCmToFalse', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsEnrolledInCmToTrue
+	public function ACTION_setIsEnrolledInCmToTrue(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsEnrolledInCmToTrue', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateCmReasons
+	public function ACTION_updateCmReasons(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateCmReasons', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateRmReasons
+	public function ACTION_updateRmReasons(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateRmReasons', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateCmEnrollmentConsentInfo
+	public function ACTION_updateCmEnrollmentConsentInfo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateCmEnrollmentConsentInfo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateWhyNotEnrolledInCm
+	public function ACTION_updateWhyNotEnrolledInCm(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateWhyNotEnrolledInCm', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateRmEligibility
+	public function ACTION_updateRmEligibility(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateRmEligibility', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsEnrolledInRmToFalse
+	public function ACTION_setIsEnrolledInRmToFalse(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsEnrolledInRmToFalse', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_setIsEnrolledInRmToTrue
+	public function ACTION_setIsEnrolledInRmToTrue(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_setIsEnrolledInRmToTrue', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateWhyNotEnrolledInRm
+	public function ACTION_updateWhyNotEnrolledInRm(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateWhyNotEnrolledInRm', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_updateEquipmentInfo
+	public function ACTION_updateEquipmentInfo(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_updateEquipmentInfo', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_dashboard
+	public function SUB_dashboard(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$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");
+		$result_facilities = DB::select("select id, name from facility");
+		$result_relationships = DB::select("select id, concat(name_first, ' - ', relationship_to_client) as name_display from relationship");
+		return response()->view('pro/clients_SINGLE/SUB_dashboard', compact('record', 'result_clients', 'result_pros', 'result_facilities', 'result_relationships'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_med_profile
+	public function SUB_med_profile(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('client_info_line')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_med_profile', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_med_profile_log
+	public function SUB_med_profile_log(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('client_info_line_update')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_med_profile_log', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_pro_access
+	public function SUB_pro_access(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('client_pro_access')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_pro_access', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_notes
+	public function SUB_notes(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('note')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_notes', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_relationships
+	public function SUB_relationships(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('relationship')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_relationships', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_care_months
+	public function SUB_care_months(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('care_month')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_care_months', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_care_month_entries
+	public function SUB_care_month_entries(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('care_month_entry')->where('client_id', $record->id)->get();
+		$result_pros = DB::select("SELECT id, name_display FROM pro");
+		return response()->view('pro/clients_SINGLE/SUB_care_month_entries', compact('record', 'subRecords', 'result_pros'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_bills
+	public function SUB_bills(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('bill')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_bills', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_related_transactions
+	public function SUB_related_transactions(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('pro_transaction')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_related_transactions', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_action_items
+	public function SUB_action_items(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('action_item')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_action_items', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_erx
+	public function SUB_erx(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('action_item')->where('client_id', $record->id)->where('action_item_category', 'RX')->get();
+		return response()->view('pro/clients_SINGLE/SUB_erx', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_mcp_updates
+	public function SUB_mcp_updates(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('client_mcp_update')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_mcp_updates', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_ally_updates
+	public function SUB_ally_updates(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		$subRecords = DB::table('client_ally_update')->where('client_id', $record->id)->get();
+		return response()->view('pro/clients_SINGLE/SUB_ally_updates', compact('record', 'subRecords'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/SUB_audit_log
+	public function SUB_audit_log(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/SUB_audit_log', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_med_profileAddNew
+	public function ACTION_med_profileAddNew(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_med_profileAddNew', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_pro_accessAddNew
+	public function ACTION_pro_accessAddNew(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_pro_accessAddNew', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_notesAddNew
+	public function ACTION_notesAddNew(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_notesAddNew', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_relationshipsAddNew
+	public function ACTION_relationshipsAddNew(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_relationshipsAddNew', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_care_monthsAddNew
+	public function ACTION_care_monthsAddNew(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_care_monthsAddNew', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_action_itemsAddNew
+	public function ACTION_action_itemsAddNew(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_action_itemsAddNew', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /clients/view/{uid}/ACTION_erxAddNew
+	public function ACTION_erxAddNew(Request $request, $uid) {
+		$record = DB::table('client')->where('uid', $uid)->first();
+		return response()->view('pro/clients_SINGLE/ACTION_erxAddNew', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+}

+ 0 - 0
generatecv/invalid.json


+ 180 - 0
generatecv/test.json

@@ -0,0 +1,180 @@
+{
+    "created_at": "2020-06-16T13:22:38Z",
+    "eligible_id": "9C1NIU5U9T81TQ",
+    "known_issues": [],
+    "date_of_death": null,
+    "last_name": "FRANKLIN",
+    "first_name": "BENJAMIN",
+    "middle_name": "J",
+    "member_id": "111111111A",
+    "group_id": null,
+    "group_name": null,
+    "dob": "1967-09-09",
+    "gender": "F",
+    "address": {
+        "street_line_1": "1842 Union Street",
+        "street_line_2": null,
+        "city": "San Francisco",
+        "state": "NJ",
+        "zip": "94123"
+    },
+    "payer_name": "CMS",
+    "payer_id": "00431",
+    "plan_number": "",
+    "eligibilty_dates": {
+        "start": "2019-02-27",
+        "end": null
+    },
+    "eligibility_dates": {
+        "start": "2019-02-27",
+        "end": null
+    },
+    "inactivity_dates": {
+        "start": null,
+        "end": null
+    },
+    "plan_types": {
+        "MA": "Medicare Part A (Hospital)",
+        "MB": "Medicare Part B (Professional Services)",
+        "MC": "Medicare Part C (Advantage)",
+        "MD": "Medicare Part D (Prescription drugs)",
+        "PR": "Primary insurance (Medicare Secondary, This Insurance is Primary)"
+    },
+    "plan_details": {
+        "MA": {
+            "active": true,
+            "start_date": "1994-03-01",
+            "end_date": null,
+            "deductible": 1288.0,
+            "deductible_remaining": 1288.0,
+            "insurance_type": "MA",
+            "insurance_type_label": "Medicare Part A",
+            "coinsurance_percent": null,
+            "copayment": null,
+            "info_valid_until": "2020-12-31",
+            "info_valid_till": "2020-12-31",
+            "comments": []
+        },
+        "MB": {
+            "active": true,
+            "start_date": "1994-03-01",
+            "end_date": null,
+            "deductible": 166.0,
+            "deductible_remaining": 166.0,
+            "insurance_type": "MB",
+            "insurance_type_label": "Medicare Part B",
+            "coinsurance_percent": 20,
+            "copayment": null,
+            "info_valid_until": "2020-12-31",
+            "info_valid_till": "2020-12-31",
+            "comments": []
+        },
+        "MC": {
+            "active": true,
+            "payer_name": "FRANKLIN",
+            "insurance_type": "PR",
+            "insurance_type_label": "Preferred Provider Organization (PPO)",
+            "mco_bill_option_code": "C",
+            "mco_bill_option_label": "MCO should process all claims",
+            "locked": true,
+            "policy_number": "123123123",
+            "effective_date": "2019-01-01",
+            "termination_date": null,
+            "contacts": [{
+                "contact_type": "telephone",
+                "contact_value": "8778423210"
+            }, {
+                "contact_type": "url",
+                "contact_value": "www.UHCMedicareSolutions.com"
+            }],
+            "address": {
+                "street_line_1": "1842 Union Street",
+                "street_line_2": null,
+                "city": "San Francisco",
+                "state": "MN",
+                "zip": "94123"
+            },
+            "comments": ["MCO Bill Option Code - C"]
+        },
+        "MD": {
+            "active": true,
+            "payer_name": "FRANKLIN",
+            "policy_number": "123123123",
+            "effective_date": "2014-01-01",
+            "termination_date": null,
+            "contacts": [{
+                "contact_type": "telephone",
+                "contact_value": "8007584574"
+            }, {
+                "contact_type": "url",
+                "contact_value": "www.Express-ScriptsMedicare.com"
+            }],
+            "address": {
+                "street_line_1": "1842 Union Street",
+                "street_line_2": null,
+                "city": "San Francisco",
+                "state": "NJ",
+                "zip": "94123"
+            },
+            "comments": []
+        },
+        "PR": []
+    },
+    "requested_service_types": [{
+        "type": "30",
+        "type_label": "Health Benefit Plan Coverage",
+        "plan_type": "MA",
+        "active": true,
+        "start_date": "1994-03-01",
+        "end_date": null,
+        "deductible": 1288.0,
+        "deductible_remaining": 1288.0,
+        "insurance_type": "MA",
+        "insurance_type_label": "Medicare Part A",
+        "coinsurance_percent": null,
+        "copayment": null,
+        "info_valid_until": "2020-12-31",
+        "info_valid_till": "2020-12-31"
+    }, {
+        "type": "30",
+        "type_label": "Health Benefit Plan Coverage",
+        "plan_type": "MB",
+        "active": true,
+        "start_date": "1994-03-01",
+        "end_date": null,
+        "deductible": 166.0,
+        "deductible_remaining": 166.0,
+        "insurance_type": "MB",
+        "insurance_type_label": "Medicare Part B",
+        "coinsurance_percent": 20,
+        "copayment": null,
+        "info_valid_until": "2020-12-31",
+        "info_valid_till": "2020-12-31"
+    }, {
+        "type": "30",
+        "type_label": "Health Benefit Plan Coverage",
+        "plan_type": "MC",
+        "active": true,
+        "start_date": "2019-01-01",
+        "end_date": null,
+        "deductible": null,
+        "deductible_remaining": null,
+        "insurance_type": null,
+        "insurance_type_label": null,
+        "coinsurance_percent": null,
+        "copayment": null,
+        "info_valid_until": "2020-12-31",
+        "info_valid_till": "2020-12-31"
+    }],
+    "requested_procedure_codes": [],
+    "history": {
+        "plan_details": {
+            "MA": [],
+            "MB": [],
+            "MC": [],
+            "MD": [],
+            "PR": []
+        },
+        "requested_service_types": []
+    }
+}

+ 69 - 65
generatecv/tree.txt

@@ -6,7 +6,7 @@ PRO
         !col:as_hcp_or_ally:Description (HCP/Ally)
         !col:amount:Amount
         !col:earnings:Earnings:select '- TODO -' as result
-    my_clients|client|add|view|icon:user-injured
+    clients|client|add|view|icon:user-injured
         !inc:@name_first,gender_identity,mcp_pro_id,cm_pro_id,rme_pro_id,rmm_pro_id,rd_pro_id
         !qry:pros:SELECT id, name_display FROM pro
         !col:mcp_pro_id:MCP:~pros:name_display:id,=,$mcp_pro_id:all
@@ -16,7 +16,7 @@ PRO
         !col:rd_pro_id:RD Pro:~pros:name_display:id,=,$rd_pro_id:all
         !col:name_display:Name
         !col:gender_identity:Gender
-    my_clients/add_new:create
+    clients/add_new:create
         !qry:pros:SELECT uid, name_display FROM pro
         mcpProUid:record:~pros:uid,name_display
         cmProUid:record:~pros:uid,name_display
@@ -33,7 +33,7 @@ PRO
         cellNumber:tel
         emailAddress:email
         medicareNumber
-    my_clients/view/{uid}
+    clients/view/{uid}
         ACTIONS
             sendCellNumberConfirmationMessage
             confirmCellNumberWithConfirmationToken
@@ -273,74 +273,74 @@ PRO
                 whatEquipmentServiceIsNeeded:text=what_equipment_service_is_needed
         SUB
             dashboard
-                !grp:Source:source,source_memo,source_at,source_detail,source_client_id,source_pro_id,source_facility_id:Update source:circle=>/my_clients/view/$uid/ACTION_editSource
+                !grp:Source:source,source_memo,source_at,source_detail,source_client_id,source_pro_id,source_facility_id:Update source:circle=>/clients/view/$uid/ACTION_editSource
                 !grp:Duplicate:is_duplicate,duplicate_of_client_id
-                !grp:Name:name_prefix,name_first,name_middle,name_last,name_suffix,name_credential,name_nickname,name_maiden,name_previous:Edit name:circle=>/my_clients/view/$uid/ACTION_editName
-                !grp:Demographics:dob,age_in_years,sex,gender_identity,sexual_orientation,is_sexually_active,sexually_active_memo,marital_status:Edit demographics:circle=>/my_clients/view/$uid/ACTION_editDemographics
-                !grp:Spouse:spouse_relationship_id:Edit spouse:circle=>/my_clients/view/$uid/ACTION_editSpouse
-                !grp:Intake:intake_text,intake_detail:Edit intake details:circle=>/my_clients/view/$uid/ACTION_editIntakeDetails
-                !grp:Responsible party:is_responsible_party_someone_else,responsible_party_relationship_id:Edit responsible party:circle=>/my_clients/view/$uid/ACTION_editResponsibleParty
-                !grp:Emergency relationship:emergency_relationship_id:Edit emergency relationship:circle=>/my_clients/view/$uid/ACTION_editEmergencyRelationship
-                !grp:Family:mother_relationship_id,mother_maiden_name,father_relationship_id,number_of_siblings,birth_order,is_multiple_birth_member:Edit family info:circle=>/my_clients/view/$uid/ACTION_editFamilyInfo
-                !grp:Contact details:phone_home,phone_mobile,phone_work,phone_memo,email_personal_primary,email_personal_secondary,email_work_primary,email_work_secondary,send_reminders_by_email,send_reminders_by_text,send_reminders_by_phone:Edit contact details:circle=>/my_clients/view/$uid/ACTION_editContactDetails
-                !grp:Cell number:cell_number,is_cell_number_confirmation_pending ,cell_number_confirmation_token,is_cell_number_confirmed ,cell_number_confirmed_at:Put new cell number:circle=>/my_clients/view/$uid/ACTION_putNewCellNumber
-                !grp:Email Address:email_address,is_email_address_confirmation_pending,email_address_confirmation_token,is_email_address_confirmed,email_address_confirmed_at:Put new email address:circle=>/my_clients/view/$uid/ACTION_putNewEmailAddress
+                !grp:Name:name_prefix,name_first,name_middle,name_last,name_suffix,name_credential,name_nickname,name_maiden,name_previous:Edit name:circle=>/clients/view/$uid/ACTION_editName
+                !grp:Demographics:dob,age_in_years,sex,gender_identity,sexual_orientation,is_sexually_active,sexually_active_memo,marital_status:Edit demographics:circle=>/clients/view/$uid/ACTION_editDemographics
+                !grp:Spouse:spouse_relationship_id:Edit spouse:circle=>/clients/view/$uid/ACTION_editSpouse
+                !grp:Intake:intake_text,intake_detail:Edit intake details:circle=>/clients/view/$uid/ACTION_editIntakeDetails
+                !grp:Responsible party:is_responsible_party_someone_else,responsible_party_relationship_id:Edit responsible party:circle=>/clients/view/$uid/ACTION_editResponsibleParty
+                !grp:Emergency relationship:emergency_relationship_id:Edit emergency relationship:circle=>/clients/view/$uid/ACTION_editEmergencyRelationship
+                !grp:Family:mother_relationship_id,mother_maiden_name,father_relationship_id,number_of_siblings,birth_order,is_multiple_birth_member:Edit family info:circle=>/clients/view/$uid/ACTION_editFamilyInfo
+                !grp:Contact details:phone_home,phone_mobile,phone_work,phone_memo,email_personal_primary,email_personal_secondary,email_work_primary,email_work_secondary,send_reminders_by_email,send_reminders_by_text,send_reminders_by_phone:Edit contact details:circle=>/clients/view/$uid/ACTION_editContactDetails
+                !grp:Cell number:cell_number,is_cell_number_confirmation_pending ,cell_number_confirmation_token,is_cell_number_confirmed ,cell_number_confirmed_at:Put new cell number:circle=>/clients/view/$uid/ACTION_putNewCellNumber
+                !grp:Email Address:email_address,is_email_address_confirmation_pending,email_address_confirmation_token,is_email_address_confirmed,email_address_confirmed_at:Put new email address:circle=>/clients/view/$uid/ACTION_putNewEmailAddress
                 !grp:Credentials:username
-                !grp:Address:is_same_address_for_home_and_mailing,home_address_line1,home_address_line2,home_address_city,home_address_state,home_address_zip,home_address_geo_lat,home_address_geo_long,mailing_address_line1,mailing_address_line2,mailing_address_city,mailing_address_state,mailing_address_zip,mailing_address_geo_lat,mailing_address_geo_long,has_secondary_address,reason_for_secondary_address,when_is_client_at_secondary_address,is_same_secondary_address_for_home_and_mailing,secondary_home_address_line1,secondary_home_address_line2,secondary_home_address_city,secondary_home_address_state,secondary_home_address_zip,secondary_home_address_geo_lat,secondary_home_address_geo_long,secondary_mailing_address_line1,secondary_mailing_address_line2,secondary_mailing_address_city,secondary_mailing_address_state,secondary_mailing_address_zip,secondary_mailing_address_geo_lat,secondary_mailing_address_geo_long:Edit address:circle=>/my_clients/view/$uid/ACTION_editAddress
-                !grp:Misc. Demographics:citizenships,education,birth_country,birth_state,birth_city,nationality,religious_affiliation,religious_facility_id,is_on_special_diet,special_diet_category,special_diet_memo,preferred_language,other_languages,english_level,driver_license_state,driver_license_number,is_hispanic,is_black_oraa,ethnicities,race,specific_races:Update misc. demographics:circle=>/my_clients/view/$uid/ACTION_editMiscDemographics
+                !grp:Address:is_same_address_for_home_and_mailing,home_address_line1,home_address_line2,home_address_city,home_address_state,home_address_zip,home_address_geo_lat,home_address_geo_long,mailing_address_line1,mailing_address_line2,mailing_address_city,mailing_address_state,mailing_address_zip,mailing_address_geo_lat,mailing_address_geo_long,has_secondary_address,reason_for_secondary_address,when_is_client_at_secondary_address,is_same_secondary_address_for_home_and_mailing,secondary_home_address_line1,secondary_home_address_line2,secondary_home_address_city,secondary_home_address_state,secondary_home_address_zip,secondary_home_address_geo_lat,secondary_home_address_geo_long,secondary_mailing_address_line1,secondary_mailing_address_line2,secondary_mailing_address_city,secondary_mailing_address_state,secondary_mailing_address_zip,secondary_mailing_address_geo_lat,secondary_mailing_address_geo_long:Edit address:circle=>/clients/view/$uid/ACTION_editAddress
+                !grp:Misc. Demographics:citizenships,education,birth_country,birth_state,birth_city,nationality,religious_affiliation,religious_facility_id,is_on_special_diet,special_diet_category,special_diet_memo,preferred_language,other_languages,english_level,driver_license_state,driver_license_number,is_hispanic,is_black_oraa,ethnicities,race,specific_races:Update misc. demographics:circle=>/clients/view/$uid/ACTION_editMiscDemographics
                 !grp:Deceased:is_deceased,date_and_time_of_death,cause_of_death
-                !grp:Pharmacy:pharmacy,pharmacy_facility_id:Edit pharmancy:circle=>/my_clients/view/$uid/ACTION_editPharmacy
-                !grp:SSN:ssn:Edit SSN:circle=>/my_clients/view/$uid/ACTION_editSsn
-                !grp:MCN:mcn:Put MSN:circle=>/my_clients/view/$uid/ACTION_putMcn
-                !grp:Webcam:has_webcam_device,webcam_device:Update webcam info:circle=>/my_clients/view/$uid/ACTION_updateWebcamInfo
-                !grp:MCP:mcp_pro_id:Put MCP:circle=>/my_clients/view/$uid/ACTION_putMcp
-                !grp:MCP Visit:has_mcp_done_onboarding_visit,mcp_onboarding_visit_date,mcp_onboarding_visit_note_id,reason_onboarding_visit_note_outside_system,is_mcp_onboarding_active,why_is_mcp_onboarding_not_active_category,why_is_mcp_onboarding_not_active_memo:Update source:circle=>/my_clients/view/$uid/ACTION_updateMcpOnboardingVisitInfo
+                !grp:Pharmacy:pharmacy,pharmacy_facility_id:Edit pharmancy:circle=>/clients/view/$uid/ACTION_editPharmacy
+                !grp:SSN:ssn:Edit SSN:circle=>/clients/view/$uid/ACTION_editSsn
+                !grp:MCN:mcn,was_medicare_validation_successful,is_mcn_valid_number,mcn_address_street_line1,mcn_address_street_line2,mcn_address_city,mcn_address_state,mcn_address_zip,is_partbprimary,is_hospice,mcn_response_detail,billing_address,reason_not_partb,reason_not_partbmemo,is_medicare_advantage,medicare_advantage_plan,mcn_reject_reason_code,mcn_reject_reason_description,mcn_follow_up_action_code,mcn_follow_up_action_description,mcn_error_details:Put MSN:circle=>/clients/view/$uid/ACTION_putMcn
+                !grp:Webcam:has_webcam_device,webcam_device:Update webcam info:circle=>/clients/view/$uid/ACTION_updateWebcamInfo
+                !grp:MCP:mcp_pro_id:Put MCP:circle=>/clients/view/$uid/ACTION_putMcp
+                !grp:MCP Visit:has_mcp_done_onboarding_visit,mcp_onboarding_visit_date,mcp_onboarding_visit_note_id,reason_onboarding_visit_note_outside_system,is_mcp_onboarding_active,why_is_mcp_onboarding_not_active_category,why_is_mcp_onboarding_not_active_memo:Update source:circle=>/clients/view/$uid/ACTION_updateMcpOnboardingVisitInfo
                 !grp:MCP Onboarding Pro:mcp_onboarding_pro_id,has_mcp_onboarding_pro_accepted_assignment,mcp_onboarding_pro_decision_to_accept_assignment_at,mcp_onboarding_pro_decision_memo
                 !grp:Onboarding Strategy:mcp_onboarding_strategy,next_mcp_onboarding_attempt_date_est,next_mcp_onboarding_attempt_time_est,number_of_mcp_onboarding_phone_calls,number_of_mcp_onboarding_in_person_visits
                 !grp:Other Key Pros:cm_pro_id,rme_pro_id,rmm_pro_id,rd_pro_id
-                !grp:MNT Eligibility:eligible_for_mnt,number_of_mnt_hours_left_this_year:Update MNT Eligibility:circle=>/my_clients/view/$uid/ACTION_updateMntEligibility
-                !grp:CM Enrollment:is_eligible_for_cm,why_not_eligible_for_cm_category,why_not_eligible_for_cm_memo,is_enrolled_in_cm,cm_reason1,cm_reason2,cm_enrollment_consent_method,cm_enrollment_consent_method_memo,why_not_enrolled_in_cm_category,why_not_enrolled_in_cm_memo:Update CM Eligibility:circle=>/my_clients/view/$uid/ACTION_updateCmEligibility
-                !grp:RM Enrollment:is_eligible_for_rm,why_not_eligible_for_rm_category,why_not_eligible_for_rm_memo,is_enrolled_in_rm,rm_reason1,rm_reason2,why_not_enrolled_in_rm_category,why_not_enrolled_in_rm_memo:Update why not enrolled in RM:circle=>/my_clients/view/$uid/ACTION_updateRmEligibility
-                !grp:Equipment:is_equipment_awaiting_setup,what_equipment_is_awaiting_setup,is_equipment_setup_completed,what_equipment_setup_is_completed,is_equipment_service_needed,what_equipment_service_is_needed:Update equipment info:circle=>/my_clients/view/$uid/ACTION_updateEquipmentInfo
-                !act:is_duplicate:Set as duplicate of:circle:if-not:is_duplicate=>/my_clients/view/$uid/ACTION_setIsDuplicateToTrue
-                !act:is_duplicate:Set as not duplicate:circle:if:is_duplicate=>/my_clients/view/$uid/ACTION_setIsDuplicateToFalse
-                !act:is_deceased:setIsDeseasedToTrue:circle=>/my_clients/view/$uid/ACTION_setIsDeceasedToTrue
-                !act:is_deceased:setIsDeseasedToFalse:circle=>/my_clients/view/$uid/ACTION_setIsDeceasedToFalse
-                !act:cell_number:sendCellNumberConfirmationMessage:circle=>/my_clients/view/$uid/ACTION_sendCellNumberConfirmationMessage
-                !act:is_cell_number_confirmation_pending:confirmCellNumberWithConfirmationToken:circle=>/my_clients/view/$uid/ACTION_confirmCellNumberWithConfirmationToken
-                !act:email_address:sendEmailAddressConfirmationMessage:circle=>/my_clients/view/$uid/ACTION_sendEmailAddressConfirmationMessage
-                !act:email_address:confirmEmailAddressWithConfirmationToken:circle=>/my_clients/view/$uid/ACTION_confirmEmailAddressWithConfirmationToken
-                !act:mcn:removeMcn:circle=>/my_clients/view/$uid/ACTION_removeMcn
-                !act:mcp_pro_id:putMcp:circle=>/my_clients/view/$uid/ACTION_putMcp
-                !act:mcp_pro_id:removeMcp:circle=>/my_clients/view/$uid/ACTION_removeMcp
-                !act:mcp_onboarding_pro_id:putMcpOnboardingPro:circle=>/my_clients/view/$uid/ACTION_putMcpOnboardingPro
-                !act:mcp_onboarding_pro_id:removeMcpOnboardingPro:circle=>/my_clients/view/$uid/ACTION_removeMcpOnboardingPro
-                !act:has_mcp_onboarding_pro_accepted_assignment:acceptAssignmentAsMcpOnboardingPro:circle=>/my_clients/view/$uid/ACTION_acceptAssignmentAsMcpOnboardingPro
-                !act:has_mcp_onboarding_pro_accepted_assignment:rejectAssignmentAsMcpOnboardingPro:circle=>/my_clients/view/$uid/ACTION_rejectAssignmentAsMcpOnboardingPro
-                !act:mcp_onboarding_pro_decision_memo:updateMcpOnboardingProDecisionMemo:circle=>/my_clients/view/$uid/ACTION_updateMcpOnboardingProDecisionMemo
-                !act:cm_pro_id:putCmPro:circle=>/my_clients/view/$uid/ACTION_putCmPro
-                !act:cm_pro_id:removeCmPro:circle=>/my_clients/view/$uid/ACTION_removeCmPro
-                !act:rme_pro_id:putRmePro:circle=>/my_clients/view/$uid/ACTION_putRmePro
-                !act:rme_pro_id:removeRmePro:circle=>/my_clients/view/$uid/ACTION_removeRmePro
-                !act:rmm_pro_id:putRmmPro:circle=>/my_clients/view/$uid/ACTION_putRmmPro
-                !act:rmm_pro_id:removeRmmPro:circle=>/my_clients/view/$uid/ACTION_removeRmmPro
-                !act:rd_pro_id:putRdPro:circle=>/my_clients/view/$uid/ACTION_putRdPro
-                !act:rd_pro_id:removeRdPro:circle=>/my_clients/view/$uid/ACTION_removeRdPro
-                !act:eligible_for_mnt:updateMntEligibility:circle=>/my_clients/view/$uid/ACTION_updateMntEligibility
-                !act:eligible_for_cm:updateCmEligibility:circle=>/my_clients/view/$uid/ACTION_updateCmEligibility
-                !act:is_enrolled_in_cm:setIsEnrolledInCmToFalse:circle=>/my_clients/view/$uid/ACTION_setIsEnrolledInCmToFalse
-                !act:is_enrolled_in_cm:setIsEnrolledInCmToTrue:circle=>/my_clients/view/$uid/ACTION_setIsEnrolledInCmToTrue
-                !act:cm_reason1:updateCmReasons:circle=>/my_clients/view/$uid/ACTION_updateCmReasons
-                !act:cm_enrollment_consent_method:updateCmEnrollmentConsentInfo:circle=>/my_clients/view/$uid/ACTION_updateCmEnrollmentConsentInfo
-                !act:cm_enrollment_consent_method:updateWhyNotEnrolledInCm:circle=>/my_clients/view/$uid/ACTION_updateWhyNotEnrolledInCm
-                !act:is_eligible_for_rm:updateRmEligibility:circle=>/my_clients/view/$uid/ACTION_updateRmEligibility
-                !act:is_enrolled_in_rm:setIsEnrolledInRmToFalse:circle=>/my_clients/view/$uid/ACTION_setIsEnrolledInRmToFalse
-                !act:is_enrolled_in_rm:setIsEnrolledInRmToTrue:circle=>/my_clients/view/$uid/ACTION_setIsEnrolledInRmToTrue
-                !act:rm_reason1:updateRmReasons:circle=>/my_clients/view/$uid/ACTION_updateRmReasons
-                !act:why_not_enrolled_in_rm_category:updateWhyNotEnrolledInRm:circle=>/my_clients/view/$uid/ACTION_updateWhyNotEnrolledInRm
-                !act:is_mcp_onboarding_active:updateMcpOnboardingActiveInfo:circle=>/my_clients/view/$uid/ACTION_updateMcpOnboardingActiveInfo
-                !act:is_mcp_onboarding_strategy:updateMcpOnboardingActiveInfo:circle=>/my_clients/view/$uid/ACTION_updateMcpOnboardingStrategy
-                !act:next_mcp_onboarding_attempt_date_est:updateNextMcpOnboardingAttempt:circle=>/my_clients/view/$uid/ACTION_updateNextMcpOnboardingAttempt
+                !grp:MNT Eligibility:eligible_for_mnt,number_of_mnt_hours_left_this_year:Update MNT Eligibility:circle=>/clients/view/$uid/ACTION_updateMntEligibility
+                !grp:CM Enrollment:is_eligible_for_cm,why_not_eligible_for_cm_category,why_not_eligible_for_cm_memo,is_enrolled_in_cm,cm_reason1,cm_reason2,cm_enrollment_consent_method,cm_enrollment_consent_method_memo,why_not_enrolled_in_cm_category,why_not_enrolled_in_cm_memo:Update CM Eligibility:circle=>/clients/view/$uid/ACTION_updateCmEligibility
+                !grp:RM Enrollment:is_eligible_for_rm,why_not_eligible_for_rm_category,why_not_eligible_for_rm_memo,is_enrolled_in_rm,rm_reason1,rm_reason2,why_not_enrolled_in_rm_category,why_not_enrolled_in_rm_memo:Update why not enrolled in RM:circle=>/clients/view/$uid/ACTION_updateRmEligibility
+                !grp:Equipment:is_equipment_awaiting_setup,what_equipment_is_awaiting_setup,is_equipment_setup_completed,what_equipment_setup_is_completed,is_equipment_service_needed,what_equipment_service_is_needed:Update equipment info:circle=>/clients/view/$uid/ACTION_updateEquipmentInfo
+                !act:is_duplicate:Set as duplicate of:circle:if-not:is_duplicate=>/clients/view/$uid/ACTION_setIsDuplicateToTrue
+                !act:is_duplicate:Set as not duplicate:circle:if:is_duplicate=>/clients/view/$uid/ACTION_setIsDuplicateToFalse
+                !act:is_deceased:setIsDeseasedToTrue:circle=>/clients/view/$uid/ACTION_setIsDeceasedToTrue
+                !act:is_deceased:setIsDeseasedToFalse:circle=>/clients/view/$uid/ACTION_setIsDeceasedToFalse
+                !act:cell_number:sendCellNumberConfirmationMessage:circle=>/clients/view/$uid/ACTION_sendCellNumberConfirmationMessage
+                !act:is_cell_number_confirmation_pending:confirmCellNumberWithConfirmationToken:circle=>/clients/view/$uid/ACTION_confirmCellNumberWithConfirmationToken
+                !act:email_address:sendEmailAddressConfirmationMessage:circle=>/clients/view/$uid/ACTION_sendEmailAddressConfirmationMessage
+                !act:email_address:confirmEmailAddressWithConfirmationToken:circle=>/clients/view/$uid/ACTION_confirmEmailAddressWithConfirmationToken
+                !act:mcn:removeMcn:circle=>/clients/view/$uid/ACTION_removeMcn
+                !act:mcp_pro_id:putMcp:circle=>/clients/view/$uid/ACTION_putMcp
+                !act:mcp_pro_id:removeMcp:circle=>/clients/view/$uid/ACTION_removeMcp
+                !act:mcp_onboarding_pro_id:putMcpOnboardingPro:circle=>/clients/view/$uid/ACTION_putMcpOnboardingPro
+                !act:mcp_onboarding_pro_id:removeMcpOnboardingPro:circle=>/clients/view/$uid/ACTION_removeMcpOnboardingPro
+                !act:has_mcp_onboarding_pro_accepted_assignment:acceptAssignmentAsMcpOnboardingPro:circle=>/clients/view/$uid/ACTION_acceptAssignmentAsMcpOnboardingPro
+                !act:has_mcp_onboarding_pro_accepted_assignment:rejectAssignmentAsMcpOnboardingPro:circle=>/clients/view/$uid/ACTION_rejectAssignmentAsMcpOnboardingPro
+                !act:mcp_onboarding_pro_decision_memo:updateMcpOnboardingProDecisionMemo:circle=>/clients/view/$uid/ACTION_updateMcpOnboardingProDecisionMemo
+                !act:cm_pro_id:putCmPro:circle=>/clients/view/$uid/ACTION_putCmPro
+                !act:cm_pro_id:removeCmPro:circle=>/clients/view/$uid/ACTION_removeCmPro
+                !act:rme_pro_id:putRmePro:circle=>/clients/view/$uid/ACTION_putRmePro
+                !act:rme_pro_id:removeRmePro:circle=>/clients/view/$uid/ACTION_removeRmePro
+                !act:rmm_pro_id:putRmmPro:circle=>/clients/view/$uid/ACTION_putRmmPro
+                !act:rmm_pro_id:removeRmmPro:circle=>/clients/view/$uid/ACTION_removeRmmPro
+                !act:rd_pro_id:putRdPro:circle=>/clients/view/$uid/ACTION_putRdPro
+                !act:rd_pro_id:removeRdPro:circle=>/clients/view/$uid/ACTION_removeRdPro
+                !act:eligible_for_mnt:updateMntEligibility:circle=>/clients/view/$uid/ACTION_updateMntEligibility
+                !act:eligible_for_cm:updateCmEligibility:circle=>/clients/view/$uid/ACTION_updateCmEligibility
+                !act:is_enrolled_in_cm:setIsEnrolledInCmToFalse:circle=>/clients/view/$uid/ACTION_setIsEnrolledInCmToFalse
+                !act:is_enrolled_in_cm:setIsEnrolledInCmToTrue:circle=>/clients/view/$uid/ACTION_setIsEnrolledInCmToTrue
+                !act:cm_reason1:updateCmReasons:circle=>/clients/view/$uid/ACTION_updateCmReasons
+                !act:cm_enrollment_consent_method:updateCmEnrollmentConsentInfo:circle=>/clients/view/$uid/ACTION_updateCmEnrollmentConsentInfo
+                !act:cm_enrollment_consent_method:updateWhyNotEnrolledInCm:circle=>/clients/view/$uid/ACTION_updateWhyNotEnrolledInCm
+                !act:is_eligible_for_rm:updateRmEligibility:circle=>/clients/view/$uid/ACTION_updateRmEligibility
+                !act:is_enrolled_in_rm:setIsEnrolledInRmToFalse:circle=>/clients/view/$uid/ACTION_setIsEnrolledInRmToFalse
+                !act:is_enrolled_in_rm:setIsEnrolledInRmToTrue:circle=>/clients/view/$uid/ACTION_setIsEnrolledInRmToTrue
+                !act:rm_reason1:updateRmReasons:circle=>/clients/view/$uid/ACTION_updateRmReasons
+                !act:why_not_enrolled_in_rm_category:updateWhyNotEnrolledInRm:circle=>/clients/view/$uid/ACTION_updateWhyNotEnrolledInRm
+                !act:is_mcp_onboarding_active:updateMcpOnboardingActiveInfo:circle=>/clients/view/$uid/ACTION_updateMcpOnboardingActiveInfo
+                !act:is_mcp_onboarding_strategy:updateMcpOnboardingActiveInfo:circle=>/clients/view/$uid/ACTION_updateMcpOnboardingStrategy
+                !act:next_mcp_onboarding_attempt_date_est:updateNextMcpOnboardingAttempt:circle=>/clients/view/$uid/ACTION_updateNextMcpOnboardingAttempt
                 !qry:clients:select id, concat(name_first, ' ', name_last) as name_display from client
                 !qry:pros:select id, name_display from pro
                 !qry:facilities:select id, name from facility
@@ -716,11 +716,15 @@ PRO
             remove
         SUB
             dashboard
+                !qry:clients:select id, concat(name_first, ' ', name_last) as name_display from client
+                !qry:pros:select id, name_display from pro
                 !grp:Info:cm_or_rm,client_id ,pro_id
                 !grp:Time:effective_date,time_in_seconds ,is_time_specific,starting_time,ending_time:Update timing:circle=>/care_month_entries/view/$uid/ACTION_updateTiming    
                 !grp:Achieved time(s):achieved_cm_pro_time_in_seconds,achieved_mcp_time_in_seconds,achieved_rme_pro_time_in_seconds,achieved_rmm_pro_time_in_seconds,achieved_total_time_in_seconds
                 !grp:Content:content_detail,content_text:Update content:circle=>/care_month_entries/view/$uid/ACTION_updateContent
                 !grp:Removed:is_removed,removal_memo,removed_at:Remove:circle=>/care_month_entries/view/$uid/ACTION_remove
+                !col:client_id:Client:~clients:name_display:id,=,$client_id:all
+                !col:pro_id:Pro:~pros:name_display:id,=,$pro_id:all
                 !nal:
     bills|bill|view|icon:file-invoice-dollar
     bills/view/{uid}

+ 2 - 2
resources/views/layouts/generated-links.blade.php

@@ -6,9 +6,9 @@
 </li>
 
 <li class='nav-item'>
-	<a href='/my_clients' class='nav-link {{ (isset(request()->route()->getController()->selfName) && strpos(request()->route()->getController()->selfName, 'my_clients') === 0 ? 'active' : '') }} '>
+	<a href='/clients' class='nav-link {{ (isset(request()->route()->getController()->selfName) && strpos(request()->route()->getController()->selfName, 'clients') === 0 ? 'active' : '') }} '>
 		<i class='nav-icon fa fa-user-injured'></i>
-		<p>My Clients</p>
+		<p>Clients</p>
 	</a>
 </li>
 

+ 1 - 1
resources/views/pro/care_month_entries_SINGLE/SUB_dashboard.blade.php

@@ -16,7 +16,7 @@
         <tbody>
             <tr><td class="w-25 px-2 text-secondary border-right">Cm Or Rm</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_or_rm ?></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">Pro Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->pro_id ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->pro_id], ], 'all'); ?></td></tr>
         </tbody>
     </table>
 </div>

+ 62 - 0
resources/views/pro/clients/actions.blade.php

@@ -0,0 +1,62 @@
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_sendCellNumberConfirmationMessage' class='d-block btn btn-sm btn-default mb-3'>Send Cell Number Confirmation Message</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_confirmCellNumberWithConfirmationToken' class='d-block btn btn-sm btn-default mb-3'>Confirm Cell Number With Confirmation Token</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putNewCellNumber' class='d-block btn btn-sm btn-default mb-3'>Put New Cell Number</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putNewEmailAddress' class='d-block btn btn-sm btn-default mb-3'>Put New Email Address</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_sendEmailAddressConfirmationMessage' class='d-block btn btn-sm btn-default mb-3'>Send Email Address Confirmation Message</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_confirmEmailAddressWithConfirmationToken' class='d-block btn btn-sm btn-default mb-3'>Confirm Email Address With Confirmation Token</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_deactivate' class='d-block btn btn-sm btn-default mb-3'>Deactivate</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateDeactivationMemo' class='d-block btn btn-sm btn-default mb-3'>Update Deactivation Memo</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_reactivate' class='d-block btn btn-sm btn-default mb-3'>Reactivate</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateReactivationMemo' class='d-block btn btn-sm btn-default mb-3'>Update Reactivation Memo</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editSource' class='d-block btn btn-sm btn-default mb-3'>Edit Source</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDuplicateToTrue' class='d-block btn btn-sm btn-default mb-3'>Set Is Duplicate To True</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDuplicateToFalse' class='d-block btn btn-sm btn-default mb-3'>Set Is Duplicate To False</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editName' class='d-block btn btn-sm btn-default mb-3'>Edit Name</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editDemographics' class='d-block btn btn-sm btn-default mb-3'>Edit Demographics</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editSpouse' class='d-block btn btn-sm btn-default mb-3'>Edit Spouse</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editIntakeDetails' class='d-block btn btn-sm btn-default mb-3'>Edit Intake Details</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editResponsibleParty' class='d-block btn btn-sm btn-default mb-3'>Edit Responsible Party</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editEmergencyRelationship' class='d-block btn btn-sm btn-default mb-3'>Edit Emergency Relationship</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editFamilyInfo' class='d-block btn btn-sm btn-default mb-3'>Edit Family Info</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editContactDetails' class='d-block btn btn-sm btn-default mb-3'>Edit Contact Details</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editAddress' class='d-block btn btn-sm btn-default mb-3'>Edit Address</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editMiscDemographics' class='d-block btn btn-sm btn-default mb-3'>Edit Misc Demographics</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDeceasedToTrue' class='d-block btn btn-sm btn-default mb-3'>Set Is Deceased To True</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDeceasedToFalse' class='d-block btn btn-sm btn-default mb-3'>Set Is Deceased To False</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editPharmacy' class='d-block btn btn-sm btn-default mb-3'>Edit Pharmacy</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editSsn' class='d-block btn btn-sm btn-default mb-3'>Edit Ssn</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putMcn' class='d-block btn btn-sm btn-default mb-3'>Put Mcn</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeMcn' class='d-block btn btn-sm btn-default mb-3'>Remove Mcn</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateWebcamInfo' class='d-block btn btn-sm btn-default mb-3'>Update Webcam Info</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putMcp' class='d-block btn btn-sm btn-default mb-3'>Put Mcp</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeMcp' class='d-block btn btn-sm btn-default mb-3'>Remove Mcp</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMcpOnboardingVisitInfo' class='d-block btn btn-sm btn-default mb-3'>Update Mcp Onboarding Visit Info</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMcpOnboardingActiveInfo' class='d-block btn btn-sm btn-default mb-3'>Update Mcp Onboarding Active Info</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putMcpOnboardingPro' class='d-block btn btn-sm btn-default mb-3'>Put Mcp Onboarding Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeMcpOnboardingPro' class='d-block btn btn-sm btn-default mb-3'>Remove Mcp Onboarding Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_acceptAssignmentAsMcpOnboardingPro' class='d-block btn btn-sm btn-default mb-3'>Accept Assignment As Mcp Onboarding Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_rejectAssignmentAsMcpOnboardingPro' class='d-block btn btn-sm btn-default mb-3'>Reject Assignment As Mcp Onboarding Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMcpOnboardingProDecisionMemo' class='d-block btn btn-sm btn-default mb-3'>Update Mcp Onboarding Pro Decision Memo</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMcpOnboardingStrategy' class='d-block btn btn-sm btn-default mb-3'>Update Mcp Onboarding Strategy</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateNextMcpOnboardingAttempt' class='d-block btn btn-sm btn-default mb-3'>Update Next Mcp Onboarding Attempt</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putCmPro' class='d-block btn btn-sm btn-default mb-3'>Put Cm Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeCmPro' class='d-block btn btn-sm btn-default mb-3'>Remove Cm Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putRmePro' class='d-block btn btn-sm btn-default mb-3'>Put Rme Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeRmePro' class='d-block btn btn-sm btn-default mb-3'>Remove Rme Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putRmmPro' class='d-block btn btn-sm btn-default mb-3'>Put Rmm Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeRmmPro' class='d-block btn btn-sm btn-default mb-3'>Remove Rmm Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putRdPro' class='d-block btn btn-sm btn-default mb-3'>Put Rd Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeRdPro' class='d-block btn btn-sm btn-default mb-3'>Remove Rd Pro</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMntEligibility' class='d-block btn btn-sm btn-default mb-3'>Update Mnt Eligibility</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateCmEligibility' class='d-block btn btn-sm btn-default mb-3'>Update Cm Eligibility</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInCmToFalse' class='d-block btn btn-sm btn-default mb-3'>Set Is Enrolled In Cm To False</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInCmToTrue' class='d-block btn btn-sm btn-default mb-3'>Set Is Enrolled In Cm To True</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateCmReasons' class='d-block btn btn-sm btn-default mb-3'>Update Cm Reasons</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateRmReasons' class='d-block btn btn-sm btn-default mb-3'>Update Rm Reasons</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateCmEnrollmentConsentInfo' class='d-block btn btn-sm btn-default mb-3'>Update Cm Enrollment Consent Info</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateWhyNotEnrolledInCm' class='d-block btn btn-sm btn-default mb-3'>Update Why Not Enrolled In Cm</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateRmEligibility' class='d-block btn btn-sm btn-default mb-3'>Update Rm Eligibility</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInRmToFalse' class='d-block btn btn-sm btn-default mb-3'>Set Is Enrolled In Rm To False</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInRmToTrue' class='d-block btn btn-sm btn-default mb-3'>Set Is Enrolled In Rm To True</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateWhyNotEnrolledInRm' class='d-block btn btn-sm btn-default mb-3'>Update Why Not Enrolled In Rm</a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateEquipmentInfo' class='d-block btn btn-sm btn-default mb-3'>Update Equipment Info</a>

+ 120 - 0
resources/views/pro/clients/add_new.blade.php

@@ -0,0 +1,120 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Clients: Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="{{route('clients-index')}}" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_api" value="/api/client/create">
+        <input type="hidden" name="_success" value="{{route('clients-index')}}">
+        <input type="hidden" name="_return" value="{{route('clients-add_new')}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcp Pro </label>
+<select class='form-control' name='mcpProUid' value='{{ old('mcpProUid') ? old('mcpProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php foreach($result_pros as $o): ?>
+<option <?= $o->uid === (old('mcpProUid') ? old('mcpProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cm Pro </label>
+<select class='form-control' name='cmProUid' value='{{ old('cmProUid') ? old('cmProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php foreach($result_pros as $o): ?>
+<option <?= $o->uid === (old('cmProUid') ? old('cmProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Rme Pro </label>
+<select class='form-control' name='rmeProUid' value='{{ old('rmeProUid') ? old('rmeProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php foreach($result_pros as $o): ?>
+<option <?= $o->uid === (old('rmeProUid') ? old('rmeProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Rmm Pro </label>
+<select class='form-control' name='rmmProUid' value='{{ old('rmmProUid') ? old('rmmProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php foreach($result_pros as $o): ?>
+<option <?= $o->uid === (old('rmmProUid') ? old('rmmProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Prefix </label>
+<input class='form-control' type='text' name='namePrefix' value='{{ old('namePrefix') ? old('namePrefix') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name First *</label>
+<input class='form-control' type='text' name='nameFirst' value='{{ old('nameFirst') ? old('nameFirst') : '' }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Middle </label>
+<input class='form-control' type='text' name='nameMiddle' value='{{ old('nameMiddle') ? old('nameMiddle') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Last *</label>
+<input class='form-control' type='text' name='nameLast' value='{{ old('nameLast') ? old('nameLast') : '' }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Suffix </label>
+<input class='form-control' type='text' name='nameSuffix' value='{{ old('nameSuffix') ? old('nameSuffix') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Credential </label>
+<input class='form-control' type='text' name='nameCredential' value='{{ old('nameCredential') ? old('nameCredential') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Gender Identity </label>
+<select class='form-control' name='genderIdentity' value='{{ old('genderIdentity') ? old('genderIdentity') : '' }}' >
+<option value=''>-- Select --</option>
+<option <?= 'M' === (old('genderIdentity') ? old('genderIdentity') : '') ? 'selected' : '' ?> value='M'>M</option>
+<option <?= 'F' === (old('genderIdentity') ? old('genderIdentity') : '') ? 'selected' : '' ?> value='F'>F</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Date Of Birth </label>
+<input class='form-control' type='date' name='dateOfBirth' value='{{ old('dateOfBirth') ? old('dateOfBirth') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cell Number </label>
+<input class='form-control' type='tel' name='cellNumber' value='{{ old('cellNumber') ? old('cellNumber') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Email Address </label>
+<input class='form-control' type='email' name='emailAddress' value='{{ old('emailAddress') ? old('emailAddress') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Medicare Number </label>
+<input class='form-control' type='text' name='medicareNumber' value='{{ old('medicareNumber') ? old('medicareNumber') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-index')}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 42 - 0
resources/views/pro/clients/index.blade.php

@@ -0,0 +1,42 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <h3 class="d-flex my-3 px-3 stag-heading stag-heading-index">
+        <div>Clients: List</div>
+        <div class="ml-auto">
+            <a class='btn btn-primary btn-sm ml-2' up-modal=".form-contents" up-width="800" up-history="false" href='/clients/add_new'><i class='fa fa-plus-circle' aria-hidden='true'></i> Add New</a>
+        </div>
+    </h3>
+
+    <div class="table-responsive p-0 bg-white border stag-table stag-table-index">
+        <table class="table table-hover text-nowrap table-striped">
+            <thead>
+            <tr>
+<th>&nbsp;</th>
+<th>Name First</th>
+<th>Gender</th>
+<th>MCP</th>
+<th>CM Pro</th>
+<th>RME Pro</th>
+<th>RMM Pro</th>
+<th>RD Pro</th>
+            </tr>
+            </thead>
+            <tbody>
+            @foreach($records as $record)
+                <tr>
+<td><a href="/clients/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
+<td><a href="/clients/view/<?= $record->uid ?>"><?= $record->name_first ?></a></td>
+<td><?= $record->gender_identity ?></td>
+<td><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->mcp_pro_id], ], 'all'); ?></td>
+<td><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->cm_pro_id], ], 'all'); ?></td>
+<td><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rme_pro_id], ], 'all'); ?></td>
+<td><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rmm_pro_id], ], 'all'); ?></td>
+<td><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rd_pro_id], ], 'all'); ?></td>
+                </tr>
+            @endforeach
+            </tbody>
+        </table>
+    </div>
+
+@endsection

+ 3 - 0
resources/views/pro/clients/info.blade.php

@@ -0,0 +1,3 @@
+<h4 class="d-flex my-3 px-3 stag-heading stag-heading-info">
+    <div>Clients: Single [<?= $record->uid ?>]</div>
+</h4>

+ 15 - 0
resources/views/pro/clients/subs.blade.php

@@ -0,0 +1,15 @@
+<a href='/clients/view/<?= $record->uid ?>/SUB_dashboard' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_dashboard' ? 'bg-secondary text-white font-weight-bold' : '' }}{{ strpos(request()->route()->getActionMethod(), 'ACTION_') === 0 ? 'bg-secondary text-white font-weight-bold' : '' }}'>Dashboard</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_med_profile' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_med_profile' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Med Profile</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_med_profile_log' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_med_profile_log' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Med Profile Log</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_pro_access' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_pro_access' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Pro Access</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_notes' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_notes' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Notes</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_relationships' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_relationships' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Relationships</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_care_months' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_care_months' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Care Months</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_care_month_entries' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_care_month_entries' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Care Month Entries</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_bills' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_bills' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Bills</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_related_transactions' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_related_transactions' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Related Transactions</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_action_items' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_action_items' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Action Items</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_erx' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_erx' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Erx</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_mcp_updates' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_mcp_updates' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Mcp Updates</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_ally_updates' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_ally_updates' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Ally Updates</a>
+<a href='/clients/view/<?= $record->uid ?>/SUB_audit_log' class='d-block px-3 py-2 border-bottom stag-sublink {{ request()->route()->getActionMethod() === 'SUB_audit_log' ? 'bg-secondary text-white font-weight-bold' : '' }}'>Audit Log</a>

+ 20 - 0
resources/views/pro/clients/view.blade.php

@@ -0,0 +1,20 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <div class="card rounded-0">
+        <div class="border-bottom bg-light">@include('pro/clients/info')</div>
+        <div class="d-flex align-items-stretch">
+            <div class="inner-side-nav">
+                <div class="border-right h-100">
+                    @include('pro/clients/subs')
+                </div>
+            </div>
+            <div class="flex-grow-1 px-3 pb-3 mb-3 inner-content">
+                <div>
+                    @yield('content-inner')
+                </div>
+            </div>
+        </div>
+    </div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_acceptAssignmentAsMcpOnboardingPro.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Accept Assignment As Mcp Onboarding Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/acceptAssignmentAsMcpOnboardingPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_acceptAssignmentAsMcpOnboardingPro', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcp Onboarding Pro Decision Memo </label>
+<input class='form-control' type='text' name='mcpOnboardingProDecisionMemo' value='{{ old('mcpOnboardingProDecisionMemo') ? old('mcpOnboardingProDecisionMemo') : $record->mcp_onboarding_pro_decision_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 66 - 0
resources/views/pro/clients_SINGLE/ACTION_action_itemsAddNew.blade.php

@@ -0,0 +1,66 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Action Items Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/actionItem/create">
+        <input type="hidden" name="_success" value="{{route('clients_SINGLE-SUB_action_items', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_action_itemsAddNew', ['uid' => $record->uid])}}">
+        <input class='form-control' type='hidden' name='clientUid' value='{{ old('clientUid') ? old('clientUid') : $record->uid }}' >
+<div class='form-group mb-3'>
+<label class='control-label'>Prescriber Pro </label>
+<select class='form-control' name='prescriberProUid' value='{{ old('prescriberProUid') ? old('prescriberProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('prescriberProUid') ? old('prescriberProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>To Facility </label>
+<select class='form-control' name='toFacilityUid' value='{{ old('toFacilityUid') ? old('toFacilityUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('facility')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('toFacilityUid') ? old('toFacilityUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Text </label>
+<input class='form-control' type='text' name='contentText' value='{{ old('contentText') ? old('contentText') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Detail </label>
+<input class='form-control' type='text' name='contentDetail' value='{{ old('contentDetail') ? old('contentDetail') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients_SINGLE-SUB_action_items', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 46 - 0
resources/views/pro/clients_SINGLE/ACTION_care_monthsAddNew.blade.php

@@ -0,0 +1,46 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Care Months Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/careMonth/create">
+        <input type="hidden" name="_success" value="{{route('clients_SINGLE-SUB_care_months', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_care_monthsAddNew', ['uid' => $record->uid])}}">
+        <input class='form-control' type='hidden' name='clientUid' value='{{ old('clientUid') ? old('clientUid') : $record->uid }}' >
+<div class='form-group mb-3'>
+<label class='control-label'>Start Month </label>
+<input class='form-control' type='number' name='startMonth' value='{{ old('startMonth') ? old('startMonth') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Start Year </label>
+<input class='form-control' type='number' name='startYear' value='{{ old('startYear') ? old('startYear') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients_SINGLE-SUB_care_months', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_confirmCellNumberWithConfirmationToken.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Confirm Cell Number With Confirmation Token</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/confirmCellNumberWithConfirmationToken">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_confirmCellNumberWithConfirmationToken', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Cell Number *</label>
+<input class='form-control' type='tel' name='cellNumber' value='{{ old('cellNumber') ? old('cellNumber') : $record->cell_number }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Token *</label>
+<input class='form-control' type='text' name='token' value='{{ old('token') ? old('token') : '' }}' required>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_confirmEmailAddressWithConfirmationToken.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Confirm Email Address With Confirmation Token</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/confirmEmailAddressWithConfirmationToken">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_confirmEmailAddressWithConfirmationToken', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Email Address *</label>
+<input class='form-control' type='email' name='emailAddress' value='{{ old('emailAddress') ? old('emailAddress') : $record->email_address }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Token *</label>
+<input class='form-control' type='text' name='token' value='{{ old('token') ? old('token') : '' }}' required>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_deactivate.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Deactivate</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/deactivate">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_deactivate', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Memo </label>
+<input class='form-control' type='text' name='memo' value='{{ old('memo') ? old('memo') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 184 - 0
resources/views/pro/clients_SINGLE/ACTION_editAddress.blade.php

@@ -0,0 +1,184 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Address</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editAddress">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editAddress', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Is Same Address For Home And Mailing *</label>
+<select class='form-control' name='isSameAddressForHomeAndMailing' value='{{ old('isSameAddressForHomeAndMailing') ? old('isSameAddressForHomeAndMailing') : $record->is_same_address_for_home_and_mailing }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isSameAddressForHomeAndMailing') ? old('isSameAddressForHomeAndMailing') : $record->is_same_address_for_home_and_mailing) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isSameAddressForHomeAndMailing') ? old('isSameAddressForHomeAndMailing') : $record->is_same_address_for_home_and_mailing) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isSameAddressForHomeAndMailing') ? old('isSameAddressForHomeAndMailing') : $record->is_same_address_for_home_and_mailing) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address Line 1 </label>
+<input class='form-control' type='text' name='homeAddressLine1' value='{{ old('homeAddressLine1') ? old('homeAddressLine1') : $record->home_address_line1 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address Line 2 </label>
+<input class='form-control' type='text' name='homeAddressLine2' value='{{ old('homeAddressLine2') ? old('homeAddressLine2') : $record->home_address_line2 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address City </label>
+<input class='form-control' type='text' name='homeAddressCity' value='{{ old('homeAddressCity') ? old('homeAddressCity') : $record->home_address_city }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address State </label>
+<input class='form-control' type='text' name='homeAddressState' value='{{ old('homeAddressState') ? old('homeAddressState') : $record->home_address_state }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address Zip </label>
+<input class='form-control' type='text' name='homeAddressZip' value='{{ old('homeAddressZip') ? old('homeAddressZip') : $record->home_address_zip }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address Geo Lat </label>
+<input class='form-control' type='number' name='homeAddressGeoLat' value='{{ old('homeAddressGeoLat') ? old('homeAddressGeoLat') : $record->home_address_geo_lat }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address Geo Long </label>
+<input class='form-control' type='number' name='homeAddressGeoLong' value='{{ old('homeAddressGeoLong') ? old('homeAddressGeoLong') : $record->home_address_geo_long }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address Line 1 </label>
+<input class='form-control' type='text' name='mailingAddressLine1' value='{{ old('mailingAddressLine1') ? old('mailingAddressLine1') : $record->mailing_address_line1 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address Line 2 </label>
+<input class='form-control' type='text' name='mailingAddressLine2' value='{{ old('mailingAddressLine2') ? old('mailingAddressLine2') : $record->mailing_address_line2 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address City </label>
+<input class='form-control' type='text' name='mailingAddressCity' value='{{ old('mailingAddressCity') ? old('mailingAddressCity') : $record->mailing_address_city }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address State </label>
+<input class='form-control' type='text' name='mailingAddressState' value='{{ old('mailingAddressState') ? old('mailingAddressState') : $record->mailing_address_state }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address Zip </label>
+<input class='form-control' type='text' name='mailingAddressZip' value='{{ old('mailingAddressZip') ? old('mailingAddressZip') : $record->mailing_address_zip }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address Geo Lat </label>
+<input class='form-control' type='number' name='mailingAddressGeoLat' value='{{ old('mailingAddressGeoLat') ? old('mailingAddressGeoLat') : $record->mailing_address_geo_lat }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address Geo Long </label>
+<input class='form-control' type='number' name='mailingAddressGeoLong' value='{{ old('mailingAddressGeoLong') ? old('mailingAddressGeoLong') : $record->mailing_address_geo_long }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Has Secondary Address </label>
+<select class='form-control' name='hasSecondaryAddress' value='{{ old('hasSecondaryAddress') ? old('hasSecondaryAddress') : '' }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('hasSecondaryAddress') ? old('hasSecondaryAddress') : '') ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('hasSecondaryAddress') ? old('hasSecondaryAddress') : '') ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN_has_secondary_address' === (old('hasSecondaryAddress') ? old('hasSecondaryAddress') : '') ? 'selected' : '' ?> value='UNKNOWN_has_secondary_address'>UNKNOWN_has_secondary_address</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason For Secondary Address </label>
+<input class='form-control' type='text' name='reasonForSecondaryAddress' value='{{ old('reasonForSecondaryAddress') ? old('reasonForSecondaryAddress') : $record->reason_for_secondary_address }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>When Is Client At Secondary Address </label>
+<input class='form-control' type='text' name='whenIsClientAtSecondaryAddress' value='{{ old('whenIsClientAtSecondaryAddress') ? old('whenIsClientAtSecondaryAddress') : $record->when_is_client_at_secondary_address }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Same Secondary Address For Home And Mailing *</label>
+<select class='form-control' name='isSameSecondaryAddressForHomeAndMailing' value='{{ old('isSameSecondaryAddressForHomeAndMailing') ? old('isSameSecondaryAddressForHomeAndMailing') : $record->is_same_secondary_address_for_home_and_mailing }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isSameSecondaryAddressForHomeAndMailing') ? old('isSameSecondaryAddressForHomeAndMailing') : $record->is_same_secondary_address_for_home_and_mailing) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isSameSecondaryAddressForHomeAndMailing') ? old('isSameSecondaryAddressForHomeAndMailing') : $record->is_same_secondary_address_for_home_and_mailing) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isSameSecondaryAddressForHomeAndMailing') ? old('isSameSecondaryAddressForHomeAndMailing') : $record->is_same_secondary_address_for_home_and_mailing) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Home Address Line 1 </label>
+<input class='form-control' type='text' name='secondaryHomeAddressLine1' value='{{ old('secondaryHomeAddressLine1') ? old('secondaryHomeAddressLine1') : $record->secondary_home_address_line1 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Home Address Line 2 </label>
+<input class='form-control' type='text' name='secondaryHomeAddressLine2' value='{{ old('secondaryHomeAddressLine2') ? old('secondaryHomeAddressLine2') : $record->secondary_home_address_line2 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Home Address City </label>
+<input class='form-control' type='text' name='secondaryHomeAddressCity' value='{{ old('secondaryHomeAddressCity') ? old('secondaryHomeAddressCity') : $record->secondary_home_address_city }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Home Address State </label>
+<input class='form-control' type='text' name='secondaryHomeAddressState' value='{{ old('secondaryHomeAddressState') ? old('secondaryHomeAddressState') : $record->secondary_home_address_state }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Home Address Zip </label>
+<input class='form-control' type='text' name='secondaryHomeAddressZip' value='{{ old('secondaryHomeAddressZip') ? old('secondaryHomeAddressZip') : $record->secondary_home_address_zip }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Home Address Geo Lat </label>
+<input class='form-control' type='number' name='secondaryHomeAddressGeoLat' value='{{ old('secondaryHomeAddressGeoLat') ? old('secondaryHomeAddressGeoLat') : $record->secondary_home_address_geo_lat }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Home Address Geo Long </label>
+<input class='form-control' type='number' name='secondaryHomeAddressGeoLong' value='{{ old('secondaryHomeAddressGeoLong') ? old('secondaryHomeAddressGeoLong') : $record->secondary_home_address_geo_long }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Mailing Address Line 1 </label>
+<input class='form-control' type='text' name='secondaryMailingAddressLine1' value='{{ old('secondaryMailingAddressLine1') ? old('secondaryMailingAddressLine1') : $record->secondary_mailing_address_line1 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Mailing Address Line 2 </label>
+<input class='form-control' type='text' name='secondaryMailingAddressLine2' value='{{ old('secondaryMailingAddressLine2') ? old('secondaryMailingAddressLine2') : $record->secondary_mailing_address_line2 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Mailing Address City </label>
+<input class='form-control' type='text' name='secondaryMailingAddressCity' value='{{ old('secondaryMailingAddressCity') ? old('secondaryMailingAddressCity') : $record->secondary_mailing_address_city }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Mailing Address State </label>
+<input class='form-control' type='text' name='secondaryMailingAddressState' value='{{ old('secondaryMailingAddressState') ? old('secondaryMailingAddressState') : $record->secondary_mailing_address_state }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Mailing Address Zip </label>
+<input class='form-control' type='text' name='secondaryMailingAddressZip' value='{{ old('secondaryMailingAddressZip') ? old('secondaryMailingAddressZip') : $record->secondary_mailing_address_zip }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Mailing Address Geo Lat </label>
+<input class='form-control' type='number' name='secondaryMailingAddressGeoLat' value='{{ old('secondaryMailingAddressGeoLat') ? old('secondaryMailingAddressGeoLat') : $record->secondary_mailing_address_geo_lat }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Secondary Mailing Address Geo Long </label>
+<input class='form-control' type='number' name='secondaryMailingAddressGeoLong' value='{{ old('secondaryMailingAddressGeoLong') ? old('secondaryMailingAddressGeoLong') : $record->secondary_mailing_address_geo_long }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 96 - 0
resources/views/pro/clients_SINGLE/ACTION_editContactDetails.blade.php

@@ -0,0 +1,96 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Contact Details</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editContactDetails">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editContactDetails', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Phone Home </label>
+<input class='form-control' type='text' name='phoneHome' value='{{ old('phoneHome') ? old('phoneHome') : $record->phone_home }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Phone Mobile </label>
+<input class='form-control' type='text' name='phoneMobile' value='{{ old('phoneMobile') ? old('phoneMobile') : $record->phone_mobile }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Phone Work </label>
+<input class='form-control' type='text' name='phoneWork' value='{{ old('phoneWork') ? old('phoneWork') : $record->phone_work }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Phone Memo </label>
+<input class='form-control' type='text' name='phoneMemo' value='{{ old('phoneMemo') ? old('phoneMemo') : $record->phone_memo }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Email Personal Primary </label>
+<input class='form-control' type='text' name='emailPersonalPrimary' value='{{ old('emailPersonalPrimary') ? old('emailPersonalPrimary') : $record->email_personal_primary }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Email Personal Secondary </label>
+<input class='form-control' type='text' name='emailPersonalSecondary' value='{{ old('emailPersonalSecondary') ? old('emailPersonalSecondary') : $record->email_personal_secondary }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Email Work Primary </label>
+<input class='form-control' type='text' name='emailWorkPrimary' value='{{ old('emailWorkPrimary') ? old('emailWorkPrimary') : $record->email_work_primary }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Email Work Secondary </label>
+<input class='form-control' type='text' name='emailWorkSecondary' value='{{ old('emailWorkSecondary') ? old('emailWorkSecondary') : $record->email_work_secondary }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Send Reminders By Email </label>
+<select class='form-control' name='sendRemindersByEmail' value='{{ old('sendRemindersByEmail') ? old('sendRemindersByEmail') : $record->send_reminders_by_email }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('sendRemindersByEmail') ? old('sendRemindersByEmail') : $record->send_reminders_by_email) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('sendRemindersByEmail') ? old('sendRemindersByEmail') : $record->send_reminders_by_email) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UKNOWN' === (old('sendRemindersByEmail') ? old('sendRemindersByEmail') : $record->send_reminders_by_email) ? 'selected' : '' ?> value='UKNOWN'>UKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Send Reminders By Text </label>
+<select class='form-control' name='sendRemindersByText' value='{{ old('sendRemindersByText') ? old('sendRemindersByText') : $record->send_reminders_by_text }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('sendRemindersByText') ? old('sendRemindersByText') : $record->send_reminders_by_text) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('sendRemindersByText') ? old('sendRemindersByText') : $record->send_reminders_by_text) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('sendRemindersByText') ? old('sendRemindersByText') : $record->send_reminders_by_text) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Send Reminders By Phone </label>
+<select class='form-control' name='sendRemindersByPhone' value='{{ old('sendRemindersByPhone') ? old('sendRemindersByPhone') : $record->send_reminders_by_phone }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('sendRemindersByPhone') ? old('sendRemindersByPhone') : $record->send_reminders_by_phone) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('sendRemindersByPhone') ? old('sendRemindersByPhone') : $record->send_reminders_by_phone) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('sendRemindersByPhone') ? old('sendRemindersByPhone') : $record->send_reminders_by_phone) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 78 - 0
resources/views/pro/clients_SINGLE/ACTION_editDemographics.blade.php

@@ -0,0 +1,78 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Demographics</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editDemographics">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editDemographics', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Dob </label>
+<input class='form-control' type='date' name='dob' value='{{ old('dob') ? old('dob') : $record->dob }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Age In Years </label>
+<input class='form-control' type='number' name='ageInYears' value='{{ old('ageInYears') ? old('ageInYears') : $record->age_in_years }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Sex </label>
+<select class='form-control' name='sex' value='{{ old('sex') ? old('sex') : $record->sex }}' >
+<option value=''>-- Select --</option>
+<option <?= 'M' === (old('sex') ? old('sex') : $record->sex) ? 'selected' : '' ?> value='M'>M</option>
+<option <?= 'F' === (old('sex') ? old('sex') : $record->sex) ? 'selected' : '' ?> value='F'>F</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Gender Identity </label>
+<input class='form-control' type='text' name='genderIdentity' value='{{ old('genderIdentity') ? old('genderIdentity') : $record->gender_identity }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Sexual Orientation </label>
+<input class='form-control' type='text' name='sexualOrientation' value='{{ old('sexualOrientation') ? old('sexualOrientation') : $record->sexual_orientation }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Sexually Active </label>
+<select class='form-control' name='isSexuallyActive' value='{{ old('isSexuallyActive') ? old('isSexuallyActive') : $record->is_sexually_active }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isSexuallyActive') ? old('isSexuallyActive') : $record->is_sexually_active) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isSexuallyActive') ? old('isSexuallyActive') : $record->is_sexually_active) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UKNOWN' === (old('isSexuallyActive') ? old('isSexuallyActive') : $record->is_sexually_active) ? 'selected' : '' ?> value='UKNOWN'>UKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Sexually Active Memo </label>
+<input class='form-control' type='text' name='sexuallyActiveMemo' value='{{ old('sexuallyActiveMemo') ? old('sexuallyActiveMemo') : $record->sexually_active_memo }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Marital Status </label>
+<input class='form-control' type='text' name='maritalStatus' value='{{ old('maritalStatus') ? old('maritalStatus') : $record->marital_status }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_editEmergencyRelationship.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Emergency Relationship</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editEmergencyRelationship">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editEmergencyRelationship', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Emergency Relationship </label>
+<select class='form-control' name='emergencyRelationshipUid' value='{{ old('emergencyRelationshipUid') ? old('emergencyRelationshipUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('relationship')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('emergencyRelationshipUid') ? old('emergencyRelationshipUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 78 - 0
resources/views/pro/clients_SINGLE/ACTION_editFamilyInfo.blade.php

@@ -0,0 +1,78 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Family Info</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editFamilyInfo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editFamilyInfo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mother Relationship </label>
+<select class='form-control' name='motherRelationshipUid' value='{{ old('motherRelationshipUid') ? old('motherRelationshipUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('relationship')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('motherRelationshipUid') ? old('motherRelationshipUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mother Maiden Name </label>
+<input class='form-control' type='text' name='motherMaidenName' value='{{ old('motherMaidenName') ? old('motherMaidenName') : $record->mother_maiden_name }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Father Relationship </label>
+<select class='form-control' name='fatherRelationshipUid' value='{{ old('fatherRelationshipUid') ? old('fatherRelationshipUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('relationship')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('fatherRelationshipUid') ? old('fatherRelationshipUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Number Of Siblings </label>
+<input class='form-control' type='number' name='numberOfSiblings' value='{{ old('numberOfSiblings') ? old('numberOfSiblings') : $record->number_of_siblings }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Birth Order </label>
+<input class='form-control' type='number' name='birthOrder' value='{{ old('birthOrder') ? old('birthOrder') : $record->birth_order }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Multiple Birth Member </label>
+<select class='form-control' name='isMultipleBirthMember' value='{{ old('isMultipleBirthMember') ? old('isMultipleBirthMember') : $record->is_multiple_birth_member }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isMultipleBirthMember') ? old('isMultipleBirthMember') : $record->is_multiple_birth_member) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isMultipleBirthMember') ? old('isMultipleBirthMember') : $record->is_multiple_birth_member) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isMultipleBirthMember') ? old('isMultipleBirthMember') : $record->is_multiple_birth_member) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_editIntakeDetails.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Intake Details</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editIntakeDetails">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editIntakeDetails', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Intake Text *</label>
+<input class='form-control' type='text' name='intakeText' value='{{ old('intakeText') ? old('intakeText') : $record->intake_text }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Intake Detail </label>
+<input class='form-control' type='text' name='intakeDetail' value='{{ old('intakeDetail') ? old('intakeDetail') : $record->intake_detail }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 142 - 0
resources/views/pro/clients_SINGLE/ACTION_editMiscDemographics.blade.php

@@ -0,0 +1,142 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Misc Demographics</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editMiscDemographics">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editMiscDemographics', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Citizenships </label>
+<input class='form-control' type='text' name='citizenships' value='{{ old('citizenships') ? old('citizenships') : $record->citizenships }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Education </label>
+<input class='form-control' type='text' name='education' value='{{ old('education') ? old('education') : $record->education }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Birth Country </label>
+<input class='form-control' type='text' name='birthCountry' value='{{ old('birthCountry') ? old('birthCountry') : $record->birth_country }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Birth State </label>
+<input class='form-control' type='text' name='birthState' value='{{ old('birthState') ? old('birthState') : $record->birth_state }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Birth City </label>
+<input class='form-control' type='text' name='birthCity' value='{{ old('birthCity') ? old('birthCity') : $record->birth_city }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Nationality </label>
+<input class='form-control' type='text' name='nationality' value='{{ old('nationality') ? old('nationality') : $record->nationality }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Religious Affiliation </label>
+<input class='form-control' type='text' name='religiousAffiliation' value='{{ old('religiousAffiliation') ? old('religiousAffiliation') : $record->religious_affiliation }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Religious Facility </label>
+<select class='form-control' name='religiousFacilityUid' value='{{ old('religiousFacilityUid') ? old('religiousFacilityUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('facility')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('religiousFacilityUid') ? old('religiousFacilityUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is On Special Diet *</label>
+<select class='form-control' name='isOnSpecialDiet' value='{{ old('isOnSpecialDiet') ? old('isOnSpecialDiet') : $record->is_on_special_diet }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isOnSpecialDiet') ? old('isOnSpecialDiet') : $record->is_on_special_diet) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isOnSpecialDiet') ? old('isOnSpecialDiet') : $record->is_on_special_diet) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isOnSpecialDiet') ? old('isOnSpecialDiet') : $record->is_on_special_diet) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Special Diet Category </label>
+<input class='form-control' type='text' name='specialDietCategory' value='{{ old('specialDietCategory') ? old('specialDietCategory') : $record->special_diet_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Special Diet Memo </label>
+<input class='form-control' type='text' name='specialDietMemo' value='{{ old('specialDietMemo') ? old('specialDietMemo') : $record->special_diet_memo }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Preferred Language </label>
+<input class='form-control' type='text' name='preferredLanguage' value='{{ old('preferredLanguage') ? old('preferredLanguage') : $record->preferred_language }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Other Languages </label>
+<input class='form-control' type='text' name='otherLanguages' value='{{ old('otherLanguages') ? old('otherLanguages') : $record->other_languages }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>English Level </label>
+<input class='form-control' type='text' name='englishLevel' value='{{ old('englishLevel') ? old('englishLevel') : $record->english_level }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Driver License State </label>
+<input class='form-control' type='text' name='driverLicenseState' value='{{ old('driverLicenseState') ? old('driverLicenseState') : $record->driver_license_state }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Driver License Number </label>
+<input class='form-control' type='text' name='driverLicenseNumber' value='{{ old('driverLicenseNumber') ? old('driverLicenseNumber') : $record->driver_license_number }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Hispanic *</label>
+<select class='form-control' name='isHispanic' value='{{ old('isHispanic') ? old('isHispanic') : $record->is_hispanic }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isHispanic') ? old('isHispanic') : $record->is_hispanic) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isHispanic') ? old('isHispanic') : $record->is_hispanic) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isHispanic') ? old('isHispanic') : $record->is_hispanic) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Black Or AA *</label>
+<select class='form-control' name='isBlackOrAA' value='{{ old('isBlackOrAA') ? old('isBlackOrAA') : $record->is_black_oraa }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isBlackOrAA') ? old('isBlackOrAA') : $record->is_black_oraa) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isBlackOrAA') ? old('isBlackOrAA') : $record->is_black_oraa) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isBlackOrAA') ? old('isBlackOrAA') : $record->is_black_oraa) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Ethnicities </label>
+<input class='form-control' type='text' name='ethnicities' value='{{ old('ethnicities') ? old('ethnicities') : $record->ethnicities }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Race </label>
+<input class='form-control' type='text' name='race' value='{{ old('race') ? old('race') : $record->race }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Specific Races </label>
+<input class='form-control' type='text' name='specificRaces' value='{{ old('specificRaces') ? old('specificRaces') : $record->specific_races }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 73 - 0
resources/views/pro/clients_SINGLE/ACTION_editName.blade.php

@@ -0,0 +1,73 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Name</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editName">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editName', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Name Prefix </label>
+<input class='form-control' type='text' name='namePrefix' value='{{ old('namePrefix') ? old('namePrefix') : $record->name_prefix }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name First *</label>
+<input class='form-control' type='text' name='nameFirst' value='{{ old('nameFirst') ? old('nameFirst') : $record->name_first }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Middle </label>
+<input class='form-control' type='text' name='nameMiddle' value='{{ old('nameMiddle') ? old('nameMiddle') : $record->name_middle }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Last *</label>
+<input class='form-control' type='text' name='nameLast' value='{{ old('nameLast') ? old('nameLast') : $record->name_last }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Suffix </label>
+<input class='form-control' type='text' name='nameSuffix' value='{{ old('nameSuffix') ? old('nameSuffix') : $record->name_suffix }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Credential </label>
+<input class='form-control' type='text' name='nameCredential' value='{{ old('nameCredential') ? old('nameCredential') : $record->name_credential }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Nickname </label>
+<input class='form-control' type='text' name='nameNickname' value='{{ old('nameNickname') ? old('nameNickname') : $record->name_nickname }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Maiden </label>
+<input class='form-control' type='text' name='nameMaiden' value='{{ old('nameMaiden') ? old('nameMaiden') : $record->name_maiden }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Previous </label>
+<input class='form-control' type='text' name='namePrevious' value='{{ old('namePrevious') ? old('namePrevious') : $record->name_previous }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 51 - 0
resources/views/pro/clients_SINGLE/ACTION_editPharmacy.blade.php

@@ -0,0 +1,51 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Pharmacy</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editPharmacy">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editPharmacy', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Pharmacy </label>
+<input class='form-control' type='text' name='pharmacy' value='{{ old('pharmacy') ? old('pharmacy') : $record->pharmacy }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Pharmacy Facility </label>
+<select class='form-control' name='pharmacyFacilityUid' value='{{ old('pharmacyFacilityUid') ? old('pharmacyFacilityUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('facility')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('pharmacyFacilityUid') ? old('pharmacyFacilityUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 56 - 0
resources/views/pro/clients_SINGLE/ACTION_editResponsibleParty.blade.php

@@ -0,0 +1,56 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Responsible Party</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editResponsibleParty">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editResponsibleParty', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Is Responsible Party Someone Else </label>
+<select class='form-control' name='isResponsiblePartySomeoneElse' value='{{ old('isResponsiblePartySomeoneElse') ? old('isResponsiblePartySomeoneElse') : $record->is_responsible_party_someone_else }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isResponsiblePartySomeoneElse') ? old('isResponsiblePartySomeoneElse') : $record->is_responsible_party_someone_else) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isResponsiblePartySomeoneElse') ? old('isResponsiblePartySomeoneElse') : $record->is_responsible_party_someone_else) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isResponsiblePartySomeoneElse') ? old('isResponsiblePartySomeoneElse') : $record->is_responsible_party_someone_else) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Responsible Party Relationship </label>
+<select class='form-control' name='responsiblePartyRelationshipUid' value='{{ old('responsiblePartyRelationshipUid') ? old('responsiblePartyRelationshipUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('relationship')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('responsiblePartyRelationshipUid') ? old('responsiblePartyRelationshipUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 83 - 0
resources/views/pro/clients_SINGLE/ACTION_editSource.blade.php

@@ -0,0 +1,83 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Source</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editSource">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editSource', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Source *</label>
+<input class='form-control' type='text' name='source' value='{{ old('source') ? old('source') : $record->source }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Source Memo </label>
+<input class='form-control' type='text' name='sourceMemo' value='{{ old('sourceMemo') ? old('sourceMemo') : $record->source_memo }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Source At </label>
+<input class='form-control' type='date' name='sourceAt' value='{{ old('sourceAt') ? old('sourceAt') : $record->source_at }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Source Detail </label>
+<input class='form-control' type='text' name='sourceDetail' value='{{ old('sourceDetail') ? old('sourceDetail') : $record->source_detail }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Source Client </label>
+<select class='form-control' name='sourceClientUid' value='{{ old('sourceClientUid') ? old('sourceClientUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('client')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('sourceClientUid') ? old('sourceClientUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Source Pro </label>
+<select class='form-control' name='sourceProUid' value='{{ old('sourceProUid') ? old('sourceProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('sourceProUid') ? old('sourceProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Source Facility </label>
+<select class='form-control' name='sourceFacilityUid' value='{{ old('sourceFacilityUid') ? old('sourceFacilityUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('facility')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('sourceFacilityUid') ? old('sourceFacilityUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_editSpouse.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Spouse</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editSpouse">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editSpouse', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Spouse Relationship </label>
+<select class='form-control' name='spouseRelationshipUid' value='{{ old('spouseRelationshipUid') ? old('spouseRelationshipUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('relationship')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('spouseRelationshipUid') ? old('spouseRelationshipUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_editSsn.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Edit Ssn</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/editSsn">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_editSsn', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Ssn </label>
+<input class='form-control' type='text' name='ssn' value='{{ old('ssn') ? old('ssn') : $record->ssn }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 66 - 0
resources/views/pro/clients_SINGLE/ACTION_erxAddNew.blade.php

@@ -0,0 +1,66 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Erx Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/actionItem/create">
+        <input type="hidden" name="_success" value="{{route('clients_SINGLE-SUB_erx', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_erxAddNew', ['uid' => $record->uid])}}">
+        <input class='form-control' type='hidden' name='clientUid' value='{{ old('clientUid') ? old('clientUid') : $record->uid }}' >
+<div class='form-group mb-3'>
+<label class='control-label'>Prescriber Pro </label>
+<select class='form-control' name='prescriberProUid' value='{{ old('prescriberProUid') ? old('prescriberProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('prescriberProUid') ? old('prescriberProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>To Facility </label>
+<select class='form-control' name='toFacilityUid' value='{{ old('toFacilityUid') ? old('toFacilityUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('facility')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('toFacilityUid') ? old('toFacilityUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Text </label>
+<input class='form-control' type='text' name='contentText' value='{{ old('contentText') ? old('contentText') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Detail </label>
+<input class='form-control' type='text' name='contentDetail' value='{{ old('contentDetail') ? old('contentDetail') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients_SINGLE-SUB_erx', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 50 - 0
resources/views/pro/clients_SINGLE/ACTION_med_profileAddNew.blade.php

@@ -0,0 +1,50 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Med Profile Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/clientInfoLine/create">
+        <input type="hidden" name="_success" value="{{route('clients_SINGLE-SUB_med_profile', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_med_profileAddNew', ['uid' => $record->uid])}}">
+        <input class='form-control' type='hidden' name='clientUid' value='{{ old('clientUid') ? old('clientUid') : $record->uid }}' >
+<div class='form-group mb-3'>
+<label class='control-label'>Category </label>
+<input class='form-control' type='text' name='category' value='{{ old('category') ? old('category') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Text </label>
+<input class='form-control' type='text' name='contentText' value='{{ old('contentText') ? old('contentText') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Detail </label>
+<input class='form-control' type='text' name='contentDetail' value='{{ old('contentDetail') ? old('contentDetail') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients_SINGLE-SUB_med_profile', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 102 - 0
resources/views/pro/clients_SINGLE/ACTION_notesAddNew.blade.php

@@ -0,0 +1,102 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Notes Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/note/create">
+        <input type="hidden" name="_success" value="{{route('clients_SINGLE-SUB_notes', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_notesAddNew', ['uid' => $record->uid])}}">
+        <input class='form-control' type='hidden' name='clientUid' value='{{ old('clientUid') ? old('clientUid') : $record->uid }}' >
+<div class='form-group mb-3'>
+<label class='control-label'>Hcp Pro </label>
+<select class='form-control' name='hcpProUid' value='{{ old('hcpProUid') ? old('hcpProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('hcpProUid') ? old('hcpProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Ally Pro </label>
+<select class='form-control' name='allyProUid' value='{{ old('allyProUid') ? old('allyProUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('allyProUid') ? old('allyProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Title </label>
+<input class='form-control' type='text' name='title' value='{{ old('title') ? old('title') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Effective Date EST </label>
+<input class='form-control' type='date' name='effectiveDateEST' value='{{ old('effectiveDateEST') ? old('effectiveDateEST') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Effective Time </label>
+<input class='form-control' type='time' name='effectiveTime' value='{{ old('effectiveTime') ? old('effectiveTime') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason 1 </label>
+<input class='form-control' type='text' name='reason1' value='{{ old('reason1') ? old('reason1') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason 2 </label>
+<input class='form-control' type='text' name='reason2' value='{{ old('reason2') ? old('reason2') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason 3 </label>
+<input class='form-control' type='text' name='reason3' value='{{ old('reason3') ? old('reason3') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason 3Plus </label>
+<input class='form-control' type='text' name='reason3Plus' value='{{ old('reason3Plus') ? old('reason3Plus') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Service Location </label>
+<input class='form-control' type='text' name='serviceLocation' value='{{ old('serviceLocation') ? old('serviceLocation') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Category </label>
+<input class='form-control' type='text' name='category' value='{{ old('category') ? old('category') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Text </label>
+<input class='form-control' type='text' name='contentText' value='{{ old('contentText') ? old('contentText') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Content Detail </label>
+<input class='form-control' type='text' name='contentDetail' value='{{ old('contentDetail') ? old('contentDetail') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients_SINGLE-SUB_notes', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 60 - 0
resources/views/pro/clients_SINGLE/ACTION_pro_accessAddNew.blade.php

@@ -0,0 +1,60 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Pro Access Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/clientProAccess/create">
+        <input type="hidden" name="_success" value="{{route('clients_SINGLE-SUB_pro_access', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_pro_accessAddNew', ['uid' => $record->uid])}}">
+        <input class='form-control' type='hidden' name='clientUid' value='{{ old('clientUid') ? old('clientUid') : $record->uid }}' >
+<div class='form-group mb-3'>
+<label class='control-label'>Pro </label>
+<select class='form-control' name='proUid' value='{{ old('proUid') ? old('proUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('proUid') ? old('proUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason Category </label>
+<input class='form-control' type='text' name='reasonCategory' value='{{ old('reasonCategory') ? old('reasonCategory') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason Memo </label>
+<input class='form-control' type='text' name='reasonMemo' value='{{ old('reasonMemo') ? old('reasonMemo') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason Detail </label>
+<input class='form-control' type='text' name='reasonDetail' value='{{ old('reasonDetail') ? old('reasonDetail') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients_SINGLE-SUB_pro_access', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_putCmPro.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put Cm Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putCmPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putCmPro', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Cm Pro *</label>
+<select class='form-control' name='cmProUid' value='{{ old('cmProUid') ? old('cmProUid') : '' }}' required>
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('cmProUid') ? old('cmProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_putMcn.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put Mcn</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putMcn">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putMcn', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcn *</label>
+<input class='form-control' type='text' name='mcn' value='{{ old('mcn') ? old('mcn') : $record->mcn }}' required>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_putMcp.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put Mcp</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putMcp">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putMcp', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcp Pro *</label>
+<select class='form-control' name='mcpProUid' value='{{ old('mcpProUid') ? old('mcpProUid') : '' }}' required>
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('mcpProUid') ? old('mcpProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_putMcpOnboardingPro.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put Mcp Onboarding Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putMcpOnboardingPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putMcpOnboardingPro', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcp Onboarding Pro *</label>
+<select class='form-control' name='mcpOnboardingProUid' value='{{ old('mcpOnboardingProUid') ? old('mcpOnboardingProUid') : '' }}' required>
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('mcpOnboardingProUid') ? old('mcpOnboardingProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_putNewCellNumber.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put New Cell Number</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putNewCellNumber">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putNewCellNumber', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>New Cell Number *</label>
+<input class='form-control' type='tel' name='newCellNumber' value='{{ old('newCellNumber') ? old('newCellNumber') : $record->cell_number }}' required>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_putNewEmailAddress.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put New Email Address</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putNewEmailAddress">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putNewEmailAddress', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>New Email Address *</label>
+<input class='form-control' type='email' name='newEmailAddress' value='{{ old('newEmailAddress') ? old('newEmailAddress') : $record->email_address }}' required>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_putRdPro.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put Rd Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putRdPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putRdPro', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Rd Pro *</label>
+<select class='form-control' name='rdProUid' value='{{ old('rdProUid') ? old('rdProUid') : '' }}' required>
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('rdProUid') ? old('rdProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_putRmePro.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put Rme Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putRmePro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putRmePro', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Rme Pro *</label>
+<select class='form-control' name='rmeProUid' value='{{ old('rmeProUid') ? old('rmeProUid') : '' }}' required>
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('rmeProUid') ? old('rmeProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_putRmmPro.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Put Rmm Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/putRmmPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_putRmmPro', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Rmm Pro *</label>
+<select class='form-control' name='rmmProUid' value='{{ old('rmmProUid') ? old('rmmProUid') : '' }}' required>
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('pro')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('rmmProUid') ? old('rmmProUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_display ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_reactivate.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Reactivate</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/reactivate">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_reactivate', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Memo </label>
+<input class='form-control' type='text' name='memo' value='{{ old('memo') ? old('memo') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_rejectAssignmentAsMcpOnboardingPro.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Reject Assignment As Mcp Onboarding Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/rejectAssignmentAsMcpOnboardingPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_rejectAssignmentAsMcpOnboardingPro', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcp Onboarding Pro Decision Memo </label>
+<input class='form-control' type='text' name='mcpOnboardingProDecisionMemo' value='{{ old('mcpOnboardingProDecisionMemo') ? old('mcpOnboardingProDecisionMemo') : $record->mcp_onboarding_pro_decision_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 158 - 0
resources/views/pro/clients_SINGLE/ACTION_relationshipsAddNew.blade.php

@@ -0,0 +1,158 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Relationships Add New</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/relationship/create">
+        <input type="hidden" name="_success" value="{{route('clients_SINGLE-SUB_relationships', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_relationshipsAddNew', ['uid' => $record->uid])}}">
+        <input class='form-control' type='hidden' name='clientUid' value='{{ old('clientUid') ? old('clientUid') : $record->uid }}' >
+<div class='form-group mb-3'>
+<label class='control-label'>Relationship To Client </label>
+<input class='form-control' type='text' name='relationshipToClient' value='{{ old('relationshipToClient') ? old('relationshipToClient') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Relationship Memo </label>
+<input class='form-control' type='text' name='relationshipMemo' value='{{ old('relationshipMemo') ? old('relationshipMemo') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Prefix </label>
+<input class='form-control' type='text' name='namePrefix' value='{{ old('namePrefix') ? old('namePrefix') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name First </label>
+<input class='form-control' type='text' name='nameFirst' value='{{ old('nameFirst') ? old('nameFirst') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Middle </label>
+<input class='form-control' type='text' name='nameMiddle' value='{{ old('nameMiddle') ? old('nameMiddle') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Last </label>
+<input class='form-control' type='text' name='nameLast' value='{{ old('nameLast') ? old('nameLast') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Suffix </label>
+<input class='form-control' type='text' name='nameSuffix' value='{{ old('nameSuffix') ? old('nameSuffix') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Maiden </label>
+<input class='form-control' type='text' name='nameMaiden' value='{{ old('nameMaiden') ? old('nameMaiden') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Name Previous </label>
+<input class='form-control' type='text' name='namePrevious' value='{{ old('namePrevious') ? old('namePrevious') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Organization Name </label>
+<input class='form-control' type='text' name='organizationName' value='{{ old('organizationName') ? old('organizationName') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Phone Home </label>
+<input class='form-control' type='text' name='phoneHome' value='{{ old('phoneHome') ? old('phoneHome') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Phone Mobile </label>
+<input class='form-control' type='text' name='phoneMobile' value='{{ old('phoneMobile') ? old('phoneMobile') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Phone Work </label>
+<input class='form-control' type='text' name='phoneWork' value='{{ old('phoneWork') ? old('phoneWork') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Phone Memo </label>
+<input class='form-control' type='text' name='phoneMemo' value='{{ old('phoneMemo') ? old('phoneMemo') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Home Address </label>
+<input class='form-control' type='text' name='homeAddress' value='{{ old('homeAddress') ? old('homeAddress') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mailing Address </label>
+<input class='form-control' type='text' name='mailingAddress' value='{{ old('mailingAddress') ? old('mailingAddress') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Email Address </label>
+<input class='form-control' type='text' name='emailAddress' value='{{ old('emailAddress') ? old('emailAddress') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Hispanic </label>
+<select class='form-control' name='isHispanic' value='{{ old('isHispanic') ? old('isHispanic') : '' }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isHispanic') ? old('isHispanic') : '') ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isHispanic') ? old('isHispanic') : '') ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isHispanic') ? old('isHispanic') : '') ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Black Or AA </label>
+<select class='form-control' name='isBlackOrAA' value='{{ old('isBlackOrAA') ? old('isBlackOrAA') : '' }}' >
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isBlackOrAA') ? old('isBlackOrAA') : '') ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isBlackOrAA') ? old('isBlackOrAA') : '') ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isBlackOrAA') ? old('isBlackOrAA') : '') ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Ethnicities </label>
+<input class='form-control' type='text' name='ethnicities' value='{{ old('ethnicities') ? old('ethnicities') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Race </label>
+<input class='form-control' type='text' name='race' value='{{ old('race') ? old('race') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Specific Races </label>
+<input class='form-control' type='text' name='specificRaces' value='{{ old('specificRaces') ? old('specificRaces') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Preferred Language </label>
+<input class='form-control' type='text' name='preferredLanguage' value='{{ old('preferredLanguage') ? old('preferredLanguage') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Other Languages </label>
+<input class='form-control' type='text' name='otherLanguages' value='{{ old('otherLanguages') ? old('otherLanguages') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>English Level </label>
+<input class='form-control' type='text' name='englishLevel' value='{{ old('englishLevel') ? old('englishLevel') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Contact Client </label>
+<select class='form-control' name='contactClientUid' value='{{ old('contactClientUid') ? old('contactClientUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('client')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('contactClientUid') ? old('contactClientUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients_SINGLE-SUB_relationships', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_removeCmPro.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Remove Cm Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/removeCmPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_removeCmPro', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_removeMcn.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Remove Mcn</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/removeMcn">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_removeMcn', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_removeMcp.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Remove Mcp</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/removeMcp">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_removeMcp', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_removeMcpOnboardingPro.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Remove Mcp Onboarding Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/removeMcpOnboardingPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_removeMcpOnboardingPro', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_removeRdPro.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Remove Rd Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/removeRdPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_removeRdPro', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_removeRmePro.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Remove Rme Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/removeRmePro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_removeRmePro', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_removeRmmPro.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Remove Rmm Pro</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/removeRmmPro">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_removeRmmPro', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_sendCellNumberConfirmationMessage.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Send Cell Number Confirmation Message</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/sendCellNumberConfirmationMessage">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_sendCellNumberConfirmationMessage', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_sendEmailAddressConfirmationMessage.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Send Email Address Confirmation Message</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/sendEmailAddressConfirmationMessage">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_sendEmailAddressConfirmationMessage', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsDeceasedToFalse.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Deceased To False</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsDeceasedToFalse">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsDeceasedToFalse', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 49 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsDeceasedToTrue.blade.php

@@ -0,0 +1,49 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Deceased To True</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsDeceasedToTrue">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsDeceasedToTrue', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Date Of Death </label>
+<input class='form-control' type='date' name='dateOfDeath' value='{{ old('dateOfDeath') ? old('dateOfDeath') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Time Of Death </label>
+<input class='form-control' type='time' name='timeOfDeath' value='{{ old('timeOfDeath') ? old('timeOfDeath') : '' }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cause Of Death </label>
+<input class='form-control' type='text' name='causeOfDeath' value='{{ old('causeOfDeath') ? old('causeOfDeath') : '' }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsDuplicateToFalse.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Duplicate To False</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsDuplicateToFalse">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsDuplicateToFalse', ['uid' => $record->uid])}}">
+        
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 47 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsDuplicateToTrue.blade.php

@@ -0,0 +1,47 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Duplicate To True</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsDuplicateToTrue">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsDuplicateToTrue', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Duplicate Of Client *</label>
+<select class='form-control' name='duplicateOfClientUid' value='{{ old('duplicateOfClientUid') ? old('duplicateOfClientUid') : '' }}' required>
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('client')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('duplicateOfClientUid') ? old('duplicateOfClientUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->name_first ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInCmToFalse.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Enrolled In Cm To False</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsEnrolledInCmToFalse">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsEnrolledInCmToFalse', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Cm Category </label>
+<input class='form-control' type='text' name='whyNotEnrolledInCmCategory' value='{{ old('whyNotEnrolledInCmCategory') ? old('whyNotEnrolledInCmCategory') : $record->why_not_enrolled_in_cm_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Cm Memo </label>
+<input class='form-control' type='text' name='whyNotEnrolledInCmMemo' value='{{ old('whyNotEnrolledInCmMemo') ? old('whyNotEnrolledInCmMemo') : $record->why_not_enrolled_in_cm_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 53 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInCmToTrue.blade.php

@@ -0,0 +1,53 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Enrolled In Cm To True</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsEnrolledInCmToTrue">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsEnrolledInCmToTrue', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Cm Enrollment Consent Method </label>
+<input class='form-control' type='text' name='cmEnrollmentConsentMethod' value='{{ old('cmEnrollmentConsentMethod') ? old('cmEnrollmentConsentMethod') : $record->cm_enrollment_consent_method }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cm Enrollment Consent Method Memo </label>
+<input class='form-control' type='text' name='cmEnrollmentConsentMethodMemo' value='{{ old('cmEnrollmentConsentMethodMemo') ? old('cmEnrollmentConsentMethodMemo') : $record->cm_enrollment_consent_method_memo }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cm Reason 1 *</label>
+<input class='form-control' type='text' name='cmReason1' value='{{ old('cmReason1') ? old('cmReason1') : $record->cm_reason1 }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cm Reason 2 </label>
+<input class='form-control' type='text' name='cmReason2' value='{{ old('cmReason2') ? old('cmReason2') : $record->cm_reason2 }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInRmToFalse.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Enrolled In Rm To False</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsEnrolledInRmToFalse">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsEnrolledInRmToFalse', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Rm Category </label>
+<input class='form-control' type='text' name='whyNotEnrolledInRmCategory' value='{{ old('whyNotEnrolledInRmCategory') ? old('whyNotEnrolledInRmCategory') : $record->why_not_enrolled_in_rm_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Rm Memo </label>
+<input class='form-control' type='text' name='whyNotEnrolledInRmMemo' value='{{ old('whyNotEnrolledInRmMemo') ? old('whyNotEnrolledInRmMemo') : $record->why_not_enrolled_in_rm_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_setIsEnrolledInRmToTrue.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Set Is Enrolled In Rm To True</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/setIsEnrolledInRmToTrue">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_setIsEnrolledInRmToTrue', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Rm Reason 1 *</label>
+<input class='form-control' type='text' name='rmReason1' value='{{ old('rmReason1') ? old('rmReason1') : $record->rm_reason1 }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Rm Reason 2 </label>
+<input class='form-control' type='text' name='rmReason2' value='{{ old('rmReason2') ? old('rmReason2') : $record->rm_reason2 }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 52 - 0
resources/views/pro/clients_SINGLE/ACTION_updateCmEligibility.blade.php

@@ -0,0 +1,52 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Cm Eligibility</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateCmEligibility">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateCmEligibility', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Is Eligible For Cm *</label>
+<select class='form-control' name='isEligibleForCm' value='{{ old('isEligibleForCm') ? old('isEligibleForCm') : $record->is_eligible_for_cm }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isEligibleForCm') ? old('isEligibleForCm') : $record->is_eligible_for_cm) ? 'selected' : '' ?> value='YES'>YES</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Eligible For Cm Category </label>
+<input class='form-control' type='text' name='whyNotEligibleForCmCategory' value='{{ old('whyNotEligibleForCmCategory') ? old('whyNotEligibleForCmCategory') : $record->why_not_eligible_for_cm_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Eligible For Cm Memo </label>
+<input class='form-control' type='text' name='whyNotEligibleForCmMemo' value='{{ old('whyNotEligibleForCmMemo') ? old('whyNotEligibleForCmMemo') : $record->why_not_eligible_for_cm_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_updateCmEnrollmentConsentInfo.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Cm Enrollment Consent Info</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateCmEnrollmentConsentInfo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateCmEnrollmentConsentInfo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Cm Enrollment Consent Method </label>
+<input class='form-control' type='text' name='cmEnrollmentConsentMethod' value='{{ old('cmEnrollmentConsentMethod') ? old('cmEnrollmentConsentMethod') : $record->cm_enrollment_consent_method }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cm Enrollment Consent Method Memo </label>
+<input class='form-control' type='text' name='cmEnrollmentConsentMethodMemo' value='{{ old('cmEnrollmentConsentMethodMemo') ? old('cmEnrollmentConsentMethodMemo') : $record->cm_enrollment_consent_method_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_updateCmReasons.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Cm Reasons</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateCmReasons">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateCmReasons', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Cm Reason 1 *</label>
+<input class='form-control' type='text' name='cmReason1' value='{{ old('cmReason1') ? old('cmReason1') : $record->cm_reason1 }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Cm Reason 2 </label>
+<input class='form-control' type='text' name='cmReason2' value='{{ old('cmReason2') ? old('cmReason2') : $record->cm_reason2 }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_updateDeactivationMemo.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Deactivation Memo</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateDeactivationMemo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateDeactivationMemo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Memo </label>
+<input class='form-control' type='text' name='memo' value='{{ old('memo') ? old('memo') : $record->deactivation_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 76 - 0
resources/views/pro/clients_SINGLE/ACTION_updateEquipmentInfo.blade.php

@@ -0,0 +1,76 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Equipment Info</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateEquipmentInfo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateEquipmentInfo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Is Equipment Awaiting Setup *</label>
+<select class='form-control' name='isEquipmentAwaitingSetup' value='{{ old('isEquipmentAwaitingSetup') ? old('isEquipmentAwaitingSetup') : $record->is_equipment_awaiting_setup }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isEquipmentAwaitingSetup') ? old('isEquipmentAwaitingSetup') : $record->is_equipment_awaiting_setup) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isEquipmentAwaitingSetup') ? old('isEquipmentAwaitingSetup') : $record->is_equipment_awaiting_setup) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isEquipmentAwaitingSetup') ? old('isEquipmentAwaitingSetup') : $record->is_equipment_awaiting_setup) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>What Equipment Is Awaiting Setup </label>
+<input class='form-control' type='text' name='whatEquipmentIsAwaitingSetup' value='{{ old('whatEquipmentIsAwaitingSetup') ? old('whatEquipmentIsAwaitingSetup') : $record->what_equipment_is_awaiting_setup }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Equipment Setup Completed *</label>
+<select class='form-control' name='isEquipmentSetupCompleted' value='{{ old('isEquipmentSetupCompleted') ? old('isEquipmentSetupCompleted') : $record->is_equipment_setup_completed }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isEquipmentSetupCompleted') ? old('isEquipmentSetupCompleted') : $record->is_equipment_setup_completed) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isEquipmentSetupCompleted') ? old('isEquipmentSetupCompleted') : $record->is_equipment_setup_completed) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isEquipmentSetupCompleted') ? old('isEquipmentSetupCompleted') : $record->is_equipment_setup_completed) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>What Equipment Setup Is Completed </label>
+<input class='form-control' type='text' name='whatEquipmentSetupIsCompleted' value='{{ old('whatEquipmentSetupIsCompleted') ? old('whatEquipmentSetupIsCompleted') : $record->what_equipment_setup_is_completed }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Is Equipment Service Needed *</label>
+<select class='form-control' name='isEquipmentServiceNeeded' value='{{ old('isEquipmentServiceNeeded') ? old('isEquipmentServiceNeeded') : $record->is_equipment_service_needed }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isEquipmentServiceNeeded') ? old('isEquipmentServiceNeeded') : $record->is_equipment_service_needed) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isEquipmentServiceNeeded') ? old('isEquipmentServiceNeeded') : $record->is_equipment_service_needed) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isEquipmentServiceNeeded') ? old('isEquipmentServiceNeeded') : $record->is_equipment_service_needed) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>What Equipment Service Is Needed </label>
+<input class='form-control' type='text' name='whatEquipmentServiceIsNeeded' value='{{ old('whatEquipmentServiceIsNeeded') ? old('whatEquipmentServiceIsNeeded') : $record->what_equipment_service_is_needed }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 54 - 0
resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingActiveInfo.blade.php

@@ -0,0 +1,54 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Mcp Onboarding Active Info</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateMcpOnboardingActiveInfo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateMcpOnboardingActiveInfo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Is Mcp Onboarding Active *</label>
+<select class='form-control' name='isMcpOnboardingActive' value='{{ old('isMcpOnboardingActive') ? old('isMcpOnboardingActive') : $record->is_mcp_onboarding_active }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isMcpOnboardingActive') ? old('isMcpOnboardingActive') : $record->is_mcp_onboarding_active) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isMcpOnboardingActive') ? old('isMcpOnboardingActive') : $record->is_mcp_onboarding_active) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isMcpOnboardingActive') ? old('isMcpOnboardingActive') : $record->is_mcp_onboarding_active) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Is Mcp Onboarding Not Active Category </label>
+<input class='form-control' type='text' name='whyIsMcpOnboardingNotActiveCategory' value='{{ old('whyIsMcpOnboardingNotActiveCategory') ? old('whyIsMcpOnboardingNotActiveCategory') : $record->why_is_mcp_onboarding_not_active_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Is Mcp Onboarding Not Active Memo </label>
+<input class='form-control' type='text' name='whyIsMcpOnboardingNotActiveMemo' value='{{ old('whyIsMcpOnboardingNotActiveMemo') ? old('whyIsMcpOnboardingNotActiveMemo') : $record->why_is_mcp_onboarding_not_active_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingProDecisionMemo.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Mcp Onboarding Pro Decision Memo</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateMcpOnboardingProDecisionMemo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateMcpOnboardingProDecisionMemo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcp Onboarding Pro Decision Memo </label>
+<input class='form-control' type='text' name='mcpOnboardingProDecisionMemo' value='{{ old('mcpOnboardingProDecisionMemo') ? old('mcpOnboardingProDecisionMemo') : $record->mcp_onboarding_pro_decision_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingStrategy.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Mcp Onboarding Strategy</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateMcpOnboardingStrategy">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateMcpOnboardingStrategy', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Mcp Onboarding Strategy </label>
+<select class='form-control' name='mcpOnboardingStrategy' value='{{ old('mcpOnboardingStrategy') ? old('mcpOnboardingStrategy') : $record->mcp_onboarding_strategy }}' >
+<option value=''>-- Select --</option>
+<option <?= 'PHONE' === (old('mcpOnboardingStrategy') ? old('mcpOnboardingStrategy') : $record->mcp_onboarding_strategy) ? 'selected' : '' ?> value='PHONE'>PHONE</option>
+<option <?= 'IN_PERSON' === (old('mcpOnboardingStrategy') ? old('mcpOnboardingStrategy') : $record->mcp_onboarding_strategy) ? 'selected' : '' ?> value='IN_PERSON'>IN_PERSON</option>
+</select>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 64 - 0
resources/views/pro/clients_SINGLE/ACTION_updateMcpOnboardingVisitInfo.blade.php

@@ -0,0 +1,64 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Mcp Onboarding Visit Info</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateMcpOnboardingVisitInfo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateMcpOnboardingVisitInfo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Has Mcp Done Onboarding Visit *</label>
+<select class='form-control' name='hasMcpDoneOnboardingVisit' value='{{ old('hasMcpDoneOnboardingVisit') ? old('hasMcpDoneOnboardingVisit') : $record->has_mcp_done_onboarding_visit }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('hasMcpDoneOnboardingVisit') ? old('hasMcpDoneOnboardingVisit') : $record->has_mcp_done_onboarding_visit) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('hasMcpDoneOnboardingVisit') ? old('hasMcpDoneOnboardingVisit') : $record->has_mcp_done_onboarding_visit) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('hasMcpDoneOnboardingVisit') ? old('hasMcpDoneOnboardingVisit') : $record->has_mcp_done_onboarding_visit) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mcp Onboarding Visit Date *</label>
+<input class='form-control' type='date' name='mcpOnboardingVisitDate' value='{{ old('mcpOnboardingVisitDate') ? old('mcpOnboardingVisitDate') : $record->mcp_onboarding_visit_date }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Mcp Onboarding Visit Note </label>
+<select class='form-control' name='mcpOnboardingVisitNoteUid' value='{{ old('mcpOnboardingVisitNoteUid') ? old('mcpOnboardingVisitNoteUid') : '' }}' >
+<option value=''>-- Select --</option>
+<?php $dbOptions = \Illuminate\Support\Facades\DB::table('note')->get(); ?>
+<?php foreach($dbOptions as $o): ?>
+<option <?= $o->uid === (old('mcpOnboardingVisitNoteUid') ? old('mcpOnboardingVisitNoteUid') : '') ? 'selected' : '' ?> value='<?= $o->uid ?>'><?= $o->title ?> (<?= $o->uid ?>)</option>
+<?php endforeach; ?>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Reason Onboarding Visit Note Outside System </label>
+<input class='form-control' type='text' name='reasonOnboardingVisitNoteOutsideSystem' value='{{ old('reasonOnboardingVisitNoteOutsideSystem') ? old('reasonOnboardingVisitNoteOutsideSystem') : $record->reason_onboarding_visit_note_outside_system }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 50 - 0
resources/views/pro/clients_SINGLE/ACTION_updateMntEligibility.blade.php

@@ -0,0 +1,50 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Mnt Eligibility</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateMntEligibility">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateMntEligibility', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Is Eligible For Mnt *</label>
+<select class='form-control' name='isEligibleForMnt' value='{{ old('isEligibleForMnt') ? old('isEligibleForMnt') : $record->eligible_for_mnt }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isEligibleForMnt') ? old('isEligibleForMnt') : $record->eligible_for_mnt) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('isEligibleForMnt') ? old('isEligibleForMnt') : $record->eligible_for_mnt) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('isEligibleForMnt') ? old('isEligibleForMnt') : $record->eligible_for_mnt) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Number Of Mnt Hours Left This Year </label>
+<input class='form-control' type='number' name='numberOfMntHoursLeftThisYear' value='{{ old('numberOfMntHoursLeftThisYear') ? old('numberOfMntHoursLeftThisYear') : $record->number_of_mnt_hours_left_this_year }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_updateNextMcpOnboardingAttempt.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Next Mcp Onboarding Attempt</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateNextMcpOnboardingAttempt">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateNextMcpOnboardingAttempt', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Next Mcp Onboarding Attempt Date Est *</label>
+<input class='form-control' type='date' name='nextMcpOnboardingAttemptDateEst' value='{{ old('nextMcpOnboardingAttemptDateEst') ? old('nextMcpOnboardingAttemptDateEst') : $record->next_mcp_onboarding_attempt_date_est }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Next Mcp Onboarding Attempt Time Est *</label>
+<input class='form-control' type='time' name='nextMcpOnboardingAttemptTimeEst' value='{{ old('nextMcpOnboardingAttemptTimeEst') ? old('nextMcpOnboardingAttemptTimeEst') : $record->next_mcp_onboarding_attempt_time_est }}' required>
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 41 - 0
resources/views/pro/clients_SINGLE/ACTION_updateReactivationMemo.blade.php

@@ -0,0 +1,41 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Reactivation Memo</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateReactivationMemo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateReactivationMemo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Memo </label>
+<input class='form-control' type='text' name='memo' value='{{ old('memo') ? old('memo') : $record->reactivation_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 52 - 0
resources/views/pro/clients_SINGLE/ACTION_updateRmEligibility.blade.php

@@ -0,0 +1,52 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Rm Eligibility</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateRmEligibility">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateRmEligibility', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Is Eligible For Rm *</label>
+<select class='form-control' name='isEligibleForRm' value='{{ old('isEligibleForRm') ? old('isEligibleForRm') : $record->is_eligible_for_rm }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('isEligibleForRm') ? old('isEligibleForRm') : $record->is_eligible_for_rm) ? 'selected' : '' ?> value='YES'>YES</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Eligible For Rm Category </label>
+<input class='form-control' type='text' name='whyNotEligibleForRmCategory' value='{{ old('whyNotEligibleForRmCategory') ? old('whyNotEligibleForRmCategory') : $record->why_not_eligible_for_rm_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Eligible For Rm Memo </label>
+<input class='form-control' type='text' name='whyNotEligibleForRmMemo' value='{{ old('whyNotEligibleForRmMemo') ? old('whyNotEligibleForRmMemo') : $record->why_not_eligible_for_rm_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_updateRmReasons.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Rm Reasons</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateRmReasons">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateRmReasons', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Rm Reason 1 *</label>
+<input class='form-control' type='text' name='rmReason1' value='{{ old('rmReason1') ? old('rmReason1') : $record->rm_reason1 }}' required>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Rm Reason 2 </label>
+<input class='form-control' type='text' name='rmReason2' value='{{ old('rmReason2') ? old('rmReason2') : $record->rm_reason2 }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 50 - 0
resources/views/pro/clients_SINGLE/ACTION_updateWebcamInfo.blade.php

@@ -0,0 +1,50 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Webcam Info</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateWebcamInfo">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateWebcamInfo', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Has Webcam Device *</label>
+<select class='form-control' name='hasWebcamDevice' value='{{ old('hasWebcamDevice') ? old('hasWebcamDevice') : $record->has_webcam_device }}' required>
+<option value=''>-- Select --</option>
+<option <?= 'YES' === (old('hasWebcamDevice') ? old('hasWebcamDevice') : $record->has_webcam_device) ? 'selected' : '' ?> value='YES'>YES</option>
+<option <?= 'NO' === (old('hasWebcamDevice') ? old('hasWebcamDevice') : $record->has_webcam_device) ? 'selected' : '' ?> value='NO'>NO</option>
+<option <?= 'UNKNOWN' === (old('hasWebcamDevice') ? old('hasWebcamDevice') : $record->has_webcam_device) ? 'selected' : '' ?> value='UNKNOWN'>UNKNOWN</option>
+</select>
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Webcam Device </label>
+<input class='form-control' type='text' name='webcamDevice' value='{{ old('webcamDevice') ? old('webcamDevice') : $record->webcam_device }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_updateWhyNotEnrolledInCm.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Why Not Enrolled In Cm</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateWhyNotEnrolledInCm">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateWhyNotEnrolledInCm', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Cm Category </label>
+<input class='form-control' type='text' name='whyNotEnrolledInCmCategory' value='{{ old('whyNotEnrolledInCmCategory') ? old('whyNotEnrolledInCmCategory') : $record->why_not_enrolled_in_cm_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Cm Memo </label>
+<input class='form-control' type='text' name='whyNotEnrolledInCmMemo' value='{{ old('whyNotEnrolledInCmMemo') ? old('whyNotEnrolledInCmMemo') : $record->why_not_enrolled_in_cm_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 45 - 0
resources/views/pro/clients_SINGLE/ACTION_updateWhyNotEnrolledInRm.blade.php

@@ -0,0 +1,45 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="form-contents"><div class="failed-form-contents">
+
+    <h4 class="d-flex m-0 p-3 stag-heading stag-heading-modal">
+        <div>Update Why Not Enrolled In Rm</div>
+        <div class="ml-auto">
+            <a class="text-secondary" href="#" up-close>
+                <i class="fa fa-times"></i>
+            </a>
+        </div>
+    </h4>
+
+    <form action="/post-to-api"
+          up-target="#main-content" up-history="false" up-fail-target=".failed-form-contents" up-reveal="false"
+          method="post" enctype="multipart/form-data"
+          class="border-top px-3 pt-3 pb-1 custom-submit">
+        @csrf
+
+        @if (session('message'))
+            <div class="alert alert-danger">{{ session('message') }}</div>
+        @endif
+
+        <input type="hidden" name="_uid" value="{{ $record->uid }}">
+        <input type="hidden" name="_api" value="/api/client/updateWhyNotEnrolledInRm">
+        <input type="hidden" name="_success" value="{{route('clients-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('clients_SINGLE-ACTION_updateWhyNotEnrolledInRm', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Rm Category </label>
+<input class='form-control' type='text' name='whyNotEnrolledInRmCategory' value='{{ old('whyNotEnrolledInRmCategory') ? old('whyNotEnrolledInRmCategory') : $record->why_not_enrolled_in_rm_category }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Why Not Enrolled In Rm Memo </label>
+<input class='form-control' type='text' name='whyNotEnrolledInRmMemo' value='{{ old('whyNotEnrolledInRmMemo') ? old('whyNotEnrolledInRmMemo') : $record->why_not_enrolled_in_rm_memo }}' >
+</div>
+        <div class="form-group mb-3 d-flex justify-content-center">
+            <button class="btn btn-sm btn-primary mr-3 px-5">Submit</button>
+            <a href="{{route('clients-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 72 - 0
resources/views/pro/clients_SINGLE/SUB_action_items.blade.php

@@ -0,0 +1,72 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Action Items</div>
+            <div class="ml-auto">
+                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('clients_SINGLE-ACTION_action_itemsAddNew', ['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 stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</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><a href="/action_items/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></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><?= friendly_date_time($subRecord->signed_by_ally_at) ?></td>
+<td><?= friendly_date_time($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

+ 42 - 0
resources/views/pro/clients_SINGLE/SUB_ally_updates.blade.php

@@ -0,0 +1,42 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Ally Updates</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h5>
+
+        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Created By Session Id</th>
+<th>Client Id</th>
+<th>Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href=""><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></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

+ 6 - 0
resources/views/pro/clients_SINGLE/SUB_audit_log.blade.php

@@ -0,0 +1,6 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <h5 class='py-3 border-bottom'>Audit Log</h5>Controller: <b>clients_SINGLE</b><br>Action: <b>SUB_audit_log()</b><br>View: <b>pro/clients_SINGLE/SUB_audit_log.blade.php</b><br><br>
+
+@endsection

+ 146 - 0
resources/views/pro/clients_SINGLE/SUB_bills.blade.php

@@ -0,0 +1,146 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Bills</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h5>
+
+        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Bill Service Type</th>
+<th>Cm Expected Payment Amount</th>
+<th>Cm Or Rm</th>
+<th>Cm Payment Amount</th>
+<th>Code</th>
+<th>Collected Amount</th>
+<th>Effective Date</th>
+<th>Has Cm Been Paid</th>
+<th>Has Hcp Been Paid</th>
+<th>Has Rme Been Paid</th>
+<th>Has Rmm Been Paid</th>
+<th>Hcp Expected Payment Amount</th>
+<th>Hcp Payment Amount</th>
+<th>Is Cancelled</th>
+<th>Is Signed By Cm</th>
+<th>Is Signed By Hcp</th>
+<th>Is Signed By Rme</th>
+<th>Is Signed By Rmm</th>
+<th>Is Submitted</th>
+<th>Marked Cancelled 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>Rme Expected Payment Amount</th>
+<th>Rme Payment Amount</th>
+<th>Rmm Expected Payment Amount</th>
+<th>Rmm Payment Amount</th>
+<th>Service Location</th>
+<th>Signed By Cm At</th>
+<th>Signed By Hcp At</th>
+<th>Signed By Rme At</th>
+<th>Signed By Rmm At</th>
+<th>Created By Session Id</th>
+<th>Care Month Id</th>
+<th>Client Id</th>
+<th>Cm Payment Pro Transaction Id</th>
+<th>Cm Pro Id</th>
+<th>Hcp Payment Pro Transaction Id</th>
+<th>Hcp Pro Id</th>
+<th>Marked Cancelled By Session Id</th>
+<th>Marked Submitted By Session Id</th>
+<th>Note Id</th>
+<th>Note Ally Id</th>
+<th>Rme Payment Pro Transaction Id</th>
+<th>Rme Pro Id</th>
+<th>Rmm Payment Pro Transaction Id</th>
+<th>Rmm Pro Id</th>
+<th>Signed By Cm Session Id</th>
+<th>Signed By Hcp Session Id</th>
+<th>Signed By Rme Session Id</th>
+<th>Signed By Rmm Session Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href="/bills/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->bill_service_type ?></td>
+<td><?= $subRecord->cm_expected_payment_amount ?></td>
+<td><?= $subRecord->cm_or_rm ?></td>
+<td><?= $subRecord->cm_payment_amount ?></td>
+<td><?= $subRecord->code ?></td>
+<td><?= $subRecord->collected_amount ?></td>
+<td><?= $subRecord->effective_date ?></td>
+<td><?= $subRecord->has_cm_been_paid ?></td>
+<td><?= $subRecord->has_hcp_been_paid ?></td>
+<td><?= $subRecord->has_rme_been_paid ?></td>
+<td><?= $subRecord->has_rmm_been_paid ?></td>
+<td><?= $subRecord->hcp_expected_payment_amount ?></td>
+<td><?= $subRecord->hcp_payment_amount ?></td>
+<td><?= $subRecord->is_cancelled ?></td>
+<td><?= $subRecord->is_signed_by_cm ?></td>
+<td><?= $subRecord->is_signed_by_hcp ?></td>
+<td><?= $subRecord->is_signed_by_rme ?></td>
+<td><?= $subRecord->is_signed_by_rmm ?></td>
+<td><?= $subRecord->is_submitted ?></td>
+<td><?= friendly_date_time($subRecord->marked_cancelled_at) ?></td>
+<td><?= friendly_date_time($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->rme_expected_payment_amount ?></td>
+<td><?= $subRecord->rme_payment_amount ?></td>
+<td><?= $subRecord->rmm_expected_payment_amount ?></td>
+<td><?= $subRecord->rmm_payment_amount ?></td>
+<td><?= $subRecord->service_location ?></td>
+<td><?= friendly_date_time($subRecord->signed_by_cm_at) ?></td>
+<td><?= friendly_date_time($subRecord->signed_by_hcp_at) ?></td>
+<td><?= friendly_date_time($subRecord->signed_by_rme_at) ?></td>
+<td><?= friendly_date_time($subRecord->signed_by_rmm_at) ?></td>
+<td><?= $subRecord->created_by_session_id ?></td>
+<td><?= $subRecord->care_month_id ?></td>
+<td><?= $subRecord->client_id ?></td>
+<td><?= $subRecord->cm_payment_pro_transaction_id ?></td>
+<td><?= $subRecord->cm_pro_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_submitted_by_session_id ?></td>
+<td><?= $subRecord->note_id ?></td>
+<td><?= $subRecord->note_ally_id ?></td>
+<td><?= $subRecord->rme_payment_pro_transaction_id ?></td>
+<td><?= $subRecord->rme_pro_id ?></td>
+<td><?= $subRecord->rmm_payment_pro_transaction_id ?></td>
+<td><?= $subRecord->rmm_pro_id ?></td>
+<td><?= $subRecord->signed_by_cm_session_id ?></td>
+<td><?= $subRecord->signed_by_hcp_session_id ?></td>
+<td><?= $subRecord->signed_by_rme_session_id ?></td>
+<td><?= $subRecord->signed_by_rmm_session_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+
+@endsection

+ 78 - 0
resources/views/pro/clients_SINGLE/SUB_care_month_entries.blade.php

@@ -0,0 +1,78 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Care Month Entries</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h5>
+
+        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Is Removed</th>
+<th>Removal Memo</th>
+<th>Removed At</th>
+<th>Achieved Cm Pro Time In Seconds</th>
+<th>Achieved Mcp Time In Seconds</th>
+<th>Achieved Rme Pro Time In Seconds</th>
+<th>Achieved Rmm Pro 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</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href="/care_month_entries/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= $subRecord->is_removed ?></td>
+<td><?= $subRecord->removal_memo ?></td>
+<td><?= friendly_date_time($subRecord->removed_at) ?></td>
+<td><?= $subRecord->achieved_cm_pro_time_in_seconds ?></td>
+<td><?= $subRecord->achieved_mcp_time_in_seconds ?></td>
+<td><?= $subRecord->achieved_rme_pro_time_in_seconds ?></td>
+<td><?= $subRecord->achieved_rmm_pro_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

+ 100 - 0
resources/views/pro/clients_SINGLE/SUB_care_months.blade.php

@@ -0,0 +1,100 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Care Months</div>
+            <div class="ml-auto">
+                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('clients_SINGLE-ACTION_care_monthsAddNew', ['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 stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Cm Reason1</th>
+<th>Cm Reason2</th>
+<th>Cm Total Time In Seconds</th>
+<th>Cm Total Time In Seconds By Cm Pro</th>
+<th>Cm Total Time In Seconds By Mcp</th>
+<th>Has Mcp Done Em Visit</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 Mcp</th>
+<th>Rm Total Time In Seconds By Rme Pro</th>
+<th>Rm Total Time In Seconds By Rmm Pro</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>Client Id</th>
+<th>Cm Bill Id</th>
+<th>Cm Pro Id</th>
+<th>Mcp Pro Id</th>
+<th>Rm Bill Id</th>
+<th>Rme Pro Id</th>
+<th>Rmm Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href="/care_months/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></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_cm_pro ?></td>
+<td><?= $subRecord->cm_total_time_in_seconds_by_mcp ?></td>
+<td><?= $subRecord->has_mcp_done_em_visit ?></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_mcp ?></td>
+<td><?= $subRecord->rm_total_time_in_seconds_by_rme_pro ?></td>
+<td><?= $subRecord->rm_total_time_in_seconds_by_rmm_pro ?></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->client_id ?></td>
+<td><?= $subRecord->cm_bill_id ?></td>
+<td><?= $subRecord->cm_pro_id ?></td>
+<td><?= $subRecord->mcp_pro_id ?></td>
+<td><?= $subRecord->rm_bill_id ?></td>
+<td><?= $subRecord->rme_pro_id ?></td>
+<td><?= $subRecord->rmm_pro_id ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+
+@endsection

+ 621 - 0
resources/views/pro/clients_SINGLE/SUB_dashboard.blade.php

@@ -0,0 +1,621 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="row mt-3">
+    <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">Source
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editSource' title='Update source'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Source</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Source</td><td class="w-75 px-2 font-weight-bold"><?= $record->source ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Source Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->source_memo ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Source At</td><td class="w-75 px-2 font-weight-bold"><?= friendly_date_time($record->source_at) ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Source Detail</td><td class="w-75 px-2 font-weight-bold"><?= $record->source_detail ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Source Client</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_clients, 'name_display', [['id', '=', $record->source_client_id], ], 'all'); ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Source Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->source_pro_id], ], 'all'); ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Source Facility</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_facilities, 'name', [['id', '=', $record->source_facility_id], ], 'all'); ?></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">Duplicate
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Duplicate</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_duplicate ?>@if(! $record->is_duplicate) <a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDuplicateToTrue' title='Set as duplicate of' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set As Duplicate Of</span></a> @endif
+@if( $record->is_duplicate) <a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDuplicateToFalse' title='Set as not duplicate' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set As Not Duplicate</span></a> @endif</td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Duplicate of Client</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_clients, 'name_display', [['id', '=', $record->duplicate_of_client_id], ], 'all'); ?></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">Name
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editName' title='Edit name'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Name</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Name Prefix</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_prefix ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name First</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_first ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name Middle</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_middle ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name Last</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_last ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name Suffix</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_suffix ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name Credential</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_credential ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name Nickname</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_nickname ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name Maiden</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_maiden ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Name Previous</td><td class="w-75 px-2 font-weight-bold"><?= $record->name_previous ?></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">Demographics
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editDemographics' title='Edit demographics'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Demographics</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Date of Birth</td><td class="w-75 px-2 font-weight-bold"><?= $record->dob ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Age In Years</td><td class="w-75 px-2 font-weight-bold"><?= $record->age_in_years ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Sex</td><td class="w-75 px-2 font-weight-bold"><?= $record->sex ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Gender Identity</td><td class="w-75 px-2 font-weight-bold"><?= $record->gender_identity ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Sexual Orientation</td><td class="w-75 px-2 font-weight-bold"><?= $record->sexual_orientation ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Sexually Active</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_sexually_active ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Sexually Active Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->sexually_active_memo ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Marital Status</td><td class="w-75 px-2 font-weight-bold"><?= $record->marital_status ?></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">Spouse
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editSpouse' title='Edit spouse'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Spouse</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Spouse Relationship</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_relationships, 'name_display', [['id', '=', $record->spouse_relationship_id], ], 'all'); ?></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">Intake
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editIntakeDetails' title='Edit intake details'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Intake Details</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Intake Text</td><td class="w-75 px-2 font-weight-bold"><?= $record->intake_text ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Intake Detail</td><td class="w-75 px-2 font-weight-bold"><?= $record->intake_detail ?></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">Responsible party
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editResponsibleParty' title='Edit responsible party'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Responsible Party</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Responsible Party Someone Else</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_responsible_party_someone_else ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Responsible Party Relationship</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_relationships, 'name_display', [['id', '=', $record->responsible_party_relationship_id], ], 'all'); ?></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">Emergency relationship
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editEmergencyRelationship' title='Edit emergency relationship'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Emergency Relationship</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Emergency Relationship</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_relationships, 'name_display', [['id', '=', $record->emergency_relationship_id], ], 'all'); ?></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">Family
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editFamilyInfo' title='Edit family info'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Family Info</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Mother Relationship</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_relationships, 'name_display', [['id', '=', $record->mother_relationship_id], ], 'all'); ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mother Maiden Name</td><td class="w-75 px-2 font-weight-bold"><?= $record->mother_maiden_name ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Father Relationship</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_relationships, 'name_display', [['id', '=', $record->father_relationship_id], ], 'all'); ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Number Of Siblings</td><td class="w-75 px-2 font-weight-bold"><?= $record->number_of_siblings ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Birth Order</td><td class="w-75 px-2 font-weight-bold"><?= $record->birth_order ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Multiple Birth Member</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_multiple_birth_member ?></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">Contact details
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editContactDetails' title='Edit contact details'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Contact Details</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Phone Home</td><td class="w-75 px-2 font-weight-bold"><?= $record->phone_home ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Phone Mobile</td><td class="w-75 px-2 font-weight-bold"><?= $record->phone_mobile ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Phone Work</td><td class="w-75 px-2 font-weight-bold"><?= $record->phone_work ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Phone Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->phone_memo ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Email Personal Primary</td><td class="w-75 px-2 font-weight-bold"><?= $record->email_personal_primary ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Email Personal Secondary</td><td class="w-75 px-2 font-weight-bold"><?= $record->email_personal_secondary ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Email Work Primary</td><td class="w-75 px-2 font-weight-bold"><?= $record->email_work_primary ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Email Work Secondary</td><td class="w-75 px-2 font-weight-bold"><?= $record->email_work_secondary ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Send Reminders By Email</td><td class="w-75 px-2 font-weight-bold"><?= $record->send_reminders_by_email ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Send Reminders By Text</td><td class="w-75 px-2 font-weight-bold"><?= $record->send_reminders_by_text ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Send Reminders By Phone</td><td class="w-75 px-2 font-weight-bold"><?= $record->send_reminders_by_phone ?></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">Cell number
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putNewCellNumber' title='Put new cell number'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put New Cell Number</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Cell Number</td><td class="w-75 px-2 font-weight-bold"><?= $record->cell_number ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_sendCellNumberConfirmationMessage' title='sendCellNumberConfirmationMessage' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Send Cell Number Confirmation Message</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Cell Number Confirmation Pending </td><td class="w-75 px-2 font-weight-bold"><?= $record->is_cell_number_confirmation_pending  ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Cell Number Confirmation Token</td><td class="w-75 px-2 font-weight-bold"><?= $record->cell_number_confirmation_token ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Cell Number Confirmed </td><td class="w-75 px-2 font-weight-bold"><?= $record->is_cell_number_confirmed  ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Cell Number Confirmed At</td><td class="w-75 px-2 font-weight-bold"><?= friendly_date_time($record->cell_number_confirmed_at) ?></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">Email Address
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putNewEmailAddress' title='Put new email address'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put New Email Address</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Email Address</td><td class="w-75 px-2 font-weight-bold"><?= $record->email_address ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_sendEmailAddressConfirmationMessage' title='sendEmailAddressConfirmationMessage' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Send Email Address Confirmation Message</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_confirmEmailAddressWithConfirmationToken' title='confirmEmailAddressWithConfirmationToken' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Confirm Email Address With Confirmation Token</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Email Address Confirmation Pending</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_email_address_confirmation_pending ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Email Address Confirmation Token</td><td class="w-75 px-2 font-weight-bold"><?= $record->email_address_confirmation_token ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Email Address Confirmed</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_email_address_confirmed ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Email Address Confirmed At</td><td class="w-75 px-2 font-weight-bold"><?= friendly_date_time($record->email_address_confirmed_at) ?></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">Credentials
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Username</td><td class="w-75 px-2 font-weight-bold"><?= $record->username ?></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">Address
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editAddress' title='Edit address'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Address</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Same Address For Home And Mailing</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_same_address_for_home_and_mailing ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Home Address Line1</td><td class="w-75 px-2 font-weight-bold"><?= $record->home_address_line1 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Home Address Line2</td><td class="w-75 px-2 font-weight-bold"><?= $record->home_address_line2 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Home Address City</td><td class="w-75 px-2 font-weight-bold"><?= $record->home_address_city ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Home Address State</td><td class="w-75 px-2 font-weight-bold"><?= $record->home_address_state ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Home Address Zip</td><td class="w-75 px-2 font-weight-bold"><?= $record->home_address_zip ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Home Address Geo Lat</td><td class="w-75 px-2 font-weight-bold"><?= $record->home_address_geo_lat ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Home Address Geo Long</td><td class="w-75 px-2 font-weight-bold"><?= $record->home_address_geo_long ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mailing Address Line1</td><td class="w-75 px-2 font-weight-bold"><?= $record->mailing_address_line1 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mailing Address Line2</td><td class="w-75 px-2 font-weight-bold"><?= $record->mailing_address_line2 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mailing Address City</td><td class="w-75 px-2 font-weight-bold"><?= $record->mailing_address_city ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mailing Address State</td><td class="w-75 px-2 font-weight-bold"><?= $record->mailing_address_state ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mailing Address Zip</td><td class="w-75 px-2 font-weight-bold"><?= $record->mailing_address_zip ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mailing Address Geo Lat</td><td class="w-75 px-2 font-weight-bold"><?= $record->mailing_address_geo_lat ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mailing Address Geo Long</td><td class="w-75 px-2 font-weight-bold"><?= $record->mailing_address_geo_long ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Has Secondary Address</td><td class="w-75 px-2 font-weight-bold"><?= $record->has_secondary_address ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Reason For Secondary Address</td><td class="w-75 px-2 font-weight-bold"><?= $record->reason_for_secondary_address ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">When Is Client At Secondary Address</td><td class="w-75 px-2 font-weight-bold"><?= $record->when_is_client_at_secondary_address ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Same Secondary Address For Home And Mailing</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_same_secondary_address_for_home_and_mailing ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Home Address Line1</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_home_address_line1 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Home Address Line2</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_home_address_line2 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Home Address City</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_home_address_city ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Home Address State</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_home_address_state ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Home Address Zip</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_home_address_zip ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Home Address Geo Lat</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_home_address_geo_lat ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Home Address Geo Long</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_home_address_geo_long ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Mailing Address Line1</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_mailing_address_line1 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Mailing Address Line2</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_mailing_address_line2 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Mailing Address City</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_mailing_address_city ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Mailing Address State</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_mailing_address_state ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Mailing Address Zip</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_mailing_address_zip ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Mailing Address Geo Lat</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_mailing_address_geo_lat ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Secondary Mailing Address Geo Long</td><td class="w-75 px-2 font-weight-bold"><?= $record->secondary_mailing_address_geo_long ?></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">Misc. Demographics
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editMiscDemographics' title='Update misc. demographics'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Misc. Demographics</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Citizenships</td><td class="w-75 px-2 font-weight-bold"><?= $record->citizenships ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Education</td><td class="w-75 px-2 font-weight-bold"><?= $record->education ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Birth Country</td><td class="w-75 px-2 font-weight-bold"><?= $record->birth_country ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Birth State</td><td class="w-75 px-2 font-weight-bold"><?= $record->birth_state ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Birth City</td><td class="w-75 px-2 font-weight-bold"><?= $record->birth_city ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Nationality</td><td class="w-75 px-2 font-weight-bold"><?= $record->nationality ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Religious Affiliation</td><td class="w-75 px-2 font-weight-bold"><?= $record->religious_affiliation ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Religious Facility Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->religious_facility_id ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is On Special Diet</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_on_special_diet ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Special Diet Category</td><td class="w-75 px-2 font-weight-bold"><?= $record->special_diet_category ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Special Diet Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->special_diet_memo ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Preferred Language</td><td class="w-75 px-2 font-weight-bold"><?= $record->preferred_language ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Other Languages</td><td class="w-75 px-2 font-weight-bold"><?= $record->other_languages ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">English Level</td><td class="w-75 px-2 font-weight-bold"><?= $record->english_level ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Driver License State</td><td class="w-75 px-2 font-weight-bold"><?= $record->driver_license_state ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Driver License Number</td><td class="w-75 px-2 font-weight-bold"><?= $record->driver_license_number ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Hispanic</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_hispanic ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Black Oraa</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_black_oraa ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Ethnicities</td><td class="w-75 px-2 font-weight-bold"><?= $record->ethnicities ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Race</td><td class="w-75 px-2 font-weight-bold"><?= $record->race ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Specific Races</td><td class="w-75 px-2 font-weight-bold"><?= $record->specific_races ?></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">Deceased
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Deceased</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_deceased ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDeceasedToTrue' title='setIsDeseasedToTrue' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Deseased To True</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsDeceasedToFalse' title='setIsDeseasedToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Deseased To False</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Date And Time Of Death</td><td class="w-75 px-2 font-weight-bold"><?= $record->date_and_time_of_death ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Cause Of Death</td><td class="w-75 px-2 font-weight-bold"><?= $record->cause_of_death ?></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">Pharmacy
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editPharmacy' title='Edit pharmancy'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit Pharmancy</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Pharmacy</td><td class="w-75 px-2 font-weight-bold"><?= $record->pharmacy ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Pharmacy Facility</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_facilities, 'name', [['id', '=', $record->pharmacy_facility_id], ], 'all'); ?></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">SSN
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_editSsn' title='Edit SSN'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Edit SSN</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Ssn</td><td class="w-75 px-2 font-weight-bold"><?= $record->ssn ?></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">MCN
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putMcn' title='Put MSN'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put MSN</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Mcn</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeMcn' title='removeMcn' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Mcn</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Was Medicare Validation Successful</td><td class="w-75 px-2 font-weight-bold"><?= $record->was_medicare_validation_successful ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Mcn Valid Number</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_mcn_valid_number ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Address Street Line1</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_address_street_line1 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Address Street Line2</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_address_street_line2 ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Address City</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_address_city ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Address State</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_address_state ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Address Zip</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_address_zip ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Partbprimary</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_partbprimary ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Hospice</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_hospice ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Response Detail</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_response_detail ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Billing Address</td><td class="w-75 px-2 font-weight-bold"><?= $record->billing_address ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Reason Not Partb</td><td class="w-75 px-2 font-weight-bold"><?= $record->reason_not_partb ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Reason Not Partbmemo</td><td class="w-75 px-2 font-weight-bold"><?= $record->reason_not_partbmemo ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Medicare Advantage</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_medicare_advantage ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Medicare Advantage Plan</td><td class="w-75 px-2 font-weight-bold"><?= $record->medicare_advantage_plan ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Reject Reason Code</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_reject_reason_code ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Reject Reason Description</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_reject_reason_description ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Follow Up Action Code</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_follow_up_action_code ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Follow Up Action Description</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_follow_up_action_description ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcn Error Details</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcn_error_details ?></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">Webcam
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateWebcamInfo' title='Update webcam info'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Webcam Info</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Has Webcam Device</td><td class="w-75 px-2 font-weight-bold"><?= $record->has_webcam_device ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Webcam Device</td><td class="w-75 px-2 font-weight-bold"><?= $record->webcam_device ?></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">MCP
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putMcp' title='Put MCP'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put MCP</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">MCP Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->mcp_pro_id], ], 'all'); ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putMcp' title='putMcp' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put Mcp</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeMcp' title='removeMcp' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Mcp</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">MCP Visit
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMcpOnboardingVisitInfo' title='Update source'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Source</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Has Mcp Done Onboarding Visit</td><td class="w-75 px-2 font-weight-bold"><?= $record->has_mcp_done_onboarding_visit ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcp Onboarding Visit Date</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcp_onboarding_visit_date ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcp Onboarding Visit Note Id</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcp_onboarding_visit_note_id ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Reason Onboarding Visit Note Outside System</td><td class="w-75 px-2 font-weight-bold"><?= $record->reason_onboarding_visit_note_outside_system ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Mcp Onboarding Active</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_mcp_onboarding_active ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMcpOnboardingActiveInfo' title='updateMcpOnboardingActiveInfo' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Mcp Onboarding Active Info</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Is Mcp Onboarding Not Active Category</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_is_mcp_onboarding_not_active_category ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Is Mcp Onboarding Not Active Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_is_mcp_onboarding_not_active_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">MCP Onboarding Pro
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">MCP Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->mcp_onboarding_pro_id], ], 'all'); ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putMcpOnboardingPro' title='putMcpOnboardingPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put Mcp Onboarding Pro</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeMcpOnboardingPro' title='removeMcpOnboardingPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Mcp Onboarding Pro</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Has Mcp Onboarding Pro Accepted Assignment</td><td class="w-75 px-2 font-weight-bold"><?= $record->has_mcp_onboarding_pro_accepted_assignment ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_acceptAssignmentAsMcpOnboardingPro' title='acceptAssignmentAsMcpOnboardingPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Accept Assignment As Mcp Onboarding Pro</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_rejectAssignmentAsMcpOnboardingPro' title='rejectAssignmentAsMcpOnboardingPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Reject Assignment As Mcp Onboarding Pro</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcp Onboarding Pro Decision To Accept Assignment At</td><td class="w-75 px-2 font-weight-bold"><?= friendly_date_time($record->mcp_onboarding_pro_decision_to_accept_assignment_at) ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Mcp Onboarding Pro Decision Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcp_onboarding_pro_decision_memo ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMcpOnboardingProDecisionMemo' title='updateMcpOnboardingProDecisionMemo' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Mcp Onboarding Pro Decision Memo</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">Onboarding Strategy
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Mcp Onboarding Strategy</td><td class="w-75 px-2 font-weight-bold"><?= $record->mcp_onboarding_strategy ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Next Mcp Onboarding Attempt Date Est</td><td class="w-75 px-2 font-weight-bold"><?= $record->next_mcp_onboarding_attempt_date_est ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateNextMcpOnboardingAttempt' title='updateNextMcpOnboardingAttempt' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Next Mcp Onboarding Attempt</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Next Mcp Onboarding Attempt Time Est</td><td class="w-75 px-2 font-weight-bold"><?= $record->next_mcp_onboarding_attempt_time_est ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Number Of Mcp Onboarding Phone Calls</td><td class="w-75 px-2 font-weight-bold"><?= $record->number_of_mcp_onboarding_phone_calls ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Number Of Mcp Onboarding In Person Visits</td><td class="w-75 px-2 font-weight-bold"><?= $record->number_of_mcp_onboarding_in_person_visits ?></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">Other Key Pros
+                <span class="ml-auto"><!-- __GROUP_ACTION__ --></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">CM Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->cm_pro_id], ], 'all'); ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putCmPro' title='putCmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put Cm Pro</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/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></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">RME Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rme_pro_id], ], 'all'); ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putRmePro' title='putRmePro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put Rme Pro</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/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></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">RMM Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rmm_pro_id], ], 'all'); ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putRmmPro' title='putRmmPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put Rmm Pro</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/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></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">RD Pro</td><td class="w-75 px-2 font-weight-bold"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->rd_pro_id], ], 'all'); ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_putRdPro' title='putRdPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Put Rd Pro</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_removeRdPro' title='removeRdPro' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Remove Rd Pro</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">MNT Eligibility
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMntEligibility' title='Update MNT Eligibility'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update MNT Eligibility</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Eligible For Mnt</td><td class="w-75 px-2 font-weight-bold"><?= $record->eligible_for_mnt ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateMntEligibility' title='updateMntEligibility' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Mnt Eligibility</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Number Of Mnt Hours Left This Year</td><td class="w-75 px-2 font-weight-bold"><?= $record->number_of_mnt_hours_left_this_year ?></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='/clients/view/<?= $record->uid ?>/ACTION_updateCmEligibility' title='Update CM Eligibility'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update CM Eligibility</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Eligible For Cm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_eligible_for_cm ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Not Eligible For Cm Category</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_eligible_for_cm_category ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Not Eligible For Cm Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_eligible_for_cm_memo ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Enrolled In Cm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_enrolled_in_cm ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInCmToFalse' title='setIsEnrolledInCmToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Enrolled In Cm To False</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInCmToTrue' title='setIsEnrolledInCmToTrue' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Enrolled In Cm To True</span></a></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 ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateCmReasons' title='updateCmReasons' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Cm Reasons</span></a></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 Enrollment Consent Method</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_enrollment_consent_method ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateCmEnrollmentConsentInfo' title='updateCmEnrollmentConsentInfo' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Cm Enrollment Consent Info</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateWhyNotEnrolledInCm' title='updateWhyNotEnrolledInCm' 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></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Cm Enrollment Consent Method Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->cm_enrollment_consent_method_memo ?></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='/clients/view/<?= $record->uid ?>/ACTION_updateRmEligibility' 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 Eligible For Rm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_eligible_for_rm ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateRmEligibility' title='updateRmEligibility' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Rm Eligibility</span></a></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Not Eligible For Rm Category</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_eligible_for_rm_category ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Why Not Eligible For Rm Memo</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_eligible_for_rm_memo ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Enrolled In Rm</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_enrolled_in_rm ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInRmToFalse' title='setIsEnrolledInRmToFalse' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Enrolled In Rm To False</span></a>
+<a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_setIsEnrolledInRmToTrue' title='setIsEnrolledInRmToTrue' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Set Is Enrolled In Rm To True</span></a></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 ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateRmReasons' title='updateRmReasons' class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Rm Reasons</span></a></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">Why Not Enrolled In Rm Category</td><td class="w-75 px-2 font-weight-bold"><?= $record->why_not_enrolled_in_rm_category ?><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateWhyNotEnrolledInRm' title='updateWhyNotEnrolledInRm' 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></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>
+        </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">Equipment
+                <span class="ml-auto"><a up-modal=".form-contents" up-width="800" up-history="false" href='/clients/view/<?= $record->uid ?>/ACTION_updateEquipmentInfo' title='Update equipment info'class='mx-2 font-weight-normal text-primary text-xs'><i class='fa fa-circle'></i>&nbsp;<span>Update Equipment Info</span></a></span>
+            </th>
+        </tr>
+        </thead>
+        <tbody>
+            <tr><td class="w-25 px-2 text-secondary border-right">Is Equipment Awaiting Setup</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_equipment_awaiting_setup ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">What Equipment Is Awaiting Setup</td><td class="w-75 px-2 font-weight-bold"><?= $record->what_equipment_is_awaiting_setup ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Equipment Setup Completed</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_equipment_setup_completed ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">What Equipment Setup Is Completed</td><td class="w-75 px-2 font-weight-bold"><?= $record->what_equipment_setup_is_completed ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">Is Equipment Service Needed</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_equipment_service_needed ?></td></tr>
+<tr><td class="w-25 px-2 text-secondary border-right">What Equipment Service Is Needed</td><td class="w-75 px-2 font-weight-bold"><?= $record->what_equipment_service_is_needed ?></td></tr>
+        </tbody>
+    </table>
+</div>
+
+
+    </div>
+</div>
+
+
+@endsection

+ 72 - 0
resources/views/pro/clients_SINGLE/SUB_erx.blade.php

@@ -0,0 +1,72 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Erx</div>
+            <div class="ml-auto">
+                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('clients_SINGLE-ACTION_erxAddNew', ['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 stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</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><a href="/action_items/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></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><?= friendly_date_time($subRecord->signed_by_ally_at) ?></td>
+<td><?= friendly_date_time($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

+ 42 - 0
resources/views/pro/clients_SINGLE/SUB_mcp_updates.blade.php

@@ -0,0 +1,42 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Mcp Updates</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h5>
+
+        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</th>
+<th>Created By Session Id</th>
+<th>Client Id</th>
+<th>Pro Id</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href=""><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></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

+ 38 - 0
resources/views/pro/clients_SINGLE/SUB_med_profile.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Med Profile</div>
+            <div class="ml-auto">
+                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('clients_SINGLE-ACTION_med_profileAddNew', ['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 stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Category</th>
+<th>Content Text</th>
+<th>Content Detail</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href="/med_profile_lines/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= $subRecord->category ?></td>
+<td><?= $subRecord->content_text ?></td>
+<td><?= $subRecord->content_detail ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+
+@endsection

+ 38 - 0
resources/views/pro/clients_SINGLE/SUB_med_profile_log.blade.php

@@ -0,0 +1,38 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Med Profile Log</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h5>
+
+        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Category</th>
+<th>Content Text</th>
+<th>Content Detail</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href="/med_profiles/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= $subRecord->category ?></td>
+<td><?= $subRecord->content_text ?></td>
+<td><?= $subRecord->content_detail ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+
+@endsection

+ 34 - 0
resources/views/pro/clients_SINGLE/SUB_notes.blade.php

@@ -0,0 +1,34 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Notes</div>
+            <div class="ml-auto">
+                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('clients_SINGLE-ACTION_notesAddNew', ['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 stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Title</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href="/notes/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= $subRecord->title ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+
+@endsection

+ 60 - 0
resources/views/pro/clients_SINGLE/SUB_pro_access.blade.php

@@ -0,0 +1,60 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Pro Access</div>
+            <div class="ml-auto">
+                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('clients_SINGLE-ACTION_pro_accessAddNew', ['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 stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<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>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><a href="/pro_access/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></td>
+<td><?= friendly_date_time($subRecord->deactivated_at) ?></td>
+<td><?= $subRecord->deactivation_memo ?></td>
+<td><?= $subRecord->is_active ?></td>
+<td><?= friendly_date_time($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

+ 56 - 0
resources/views/pro/clients_SINGLE/SUB_related_transactions.blade.php

@@ -0,0 +1,56 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Related Transactions</div>
+            <div class="ml-auto">
+                <!-- _ADD_NEW_LINK_ -->
+            </div>
+        </h5>
+
+        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Created At</th>
+<th>Type</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><a href="/transactions/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= friendly_date_time($subRecord->created_at) ?></td>
+<td><?= $subRecord->type ?></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

+ 40 - 0
resources/views/pro/clients_SINGLE/SUB_relationships.blade.php

@@ -0,0 +1,40 @@
+@extends('pro.clients.view')
+@section('content-inner')
+
+    <div class="pb-3">
+
+        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
+            <div>Relationships</div>
+            <div class="ml-auto">
+                <a class="btn btn-primary btn-sm" up-modal=".form-contents" up-width="800" up-history="false" href="{{route('clients_SINGLE-ACTION_relationshipsAddNew', ['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 stag-table stag-table-sub">
+            <table class="table table-hover text-nowrap">
+                <thead>
+                <tr>
+                    <th>&nbsp;</th>
+<th>Name First</th>
+<th>Name Middle</th>
+<th>Name Last</th>
+<th>Email Address</th>
+                </tr>
+                </thead>
+                <tbody>
+                @foreach($subRecords as $subRecord)
+                    <tr>
+                        <td><a href="/relationships/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
+<td><?= $subRecord->name_first ?></td>
+<td><?= $subRecord->name_middle ?></td>
+<td><?= $subRecord->name_last ?></td>
+<td><?= $subRecord->email_address ?></td>
+                    </tr>
+                @endforeach
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+
+@endsection

+ 93 - 93
routes/generated.php

@@ -7,99 +7,99 @@ Route::prefix('/my_payment_schedule')->group(function () {
 	Route::get('', 'my_payment_schedule_Controller@index')->name('my_payment_schedule-index');
 });
 
-// --- pro: my_clients --- //
-Route::prefix('/my_clients')->group(function () {
-	Route::get('', 'my_clients_Controller@index')->name('my_clients-index');
-	Route::get('add_new', 'my_clients_Controller@add_new')->name('my_clients-add_new');
-	Route::get('view/{uid}', 'my_clients_Controller@view')->name('my_clients-view');
-});
-
-// --- pro: my_clients_SINGLE --- //
-Route::prefix('/my_clients/view/{uid}')->group(function () {
-	Route::get('ACTION_sendCellNumberConfirmationMessage', 'my_clients_SINGLE_Controller@ACTION_sendCellNumberConfirmationMessage')->name('my_clients_SINGLE-ACTION_sendCellNumberConfirmationMessage');
-	Route::get('ACTION_confirmCellNumberWithConfirmationToken', 'my_clients_SINGLE_Controller@ACTION_confirmCellNumberWithConfirmationToken')->name('my_clients_SINGLE-ACTION_confirmCellNumberWithConfirmationToken');
-	Route::get('ACTION_putNewCellNumber', 'my_clients_SINGLE_Controller@ACTION_putNewCellNumber')->name('my_clients_SINGLE-ACTION_putNewCellNumber');
-	Route::get('ACTION_putNewEmailAddress', 'my_clients_SINGLE_Controller@ACTION_putNewEmailAddress')->name('my_clients_SINGLE-ACTION_putNewEmailAddress');
-	Route::get('ACTION_sendEmailAddressConfirmationMessage', 'my_clients_SINGLE_Controller@ACTION_sendEmailAddressConfirmationMessage')->name('my_clients_SINGLE-ACTION_sendEmailAddressConfirmationMessage');
-	Route::get('ACTION_confirmEmailAddressWithConfirmationToken', 'my_clients_SINGLE_Controller@ACTION_confirmEmailAddressWithConfirmationToken')->name('my_clients_SINGLE-ACTION_confirmEmailAddressWithConfirmationToken');
-	Route::get('ACTION_deactivate', 'my_clients_SINGLE_Controller@ACTION_deactivate')->name('my_clients_SINGLE-ACTION_deactivate');
-	Route::get('ACTION_updateDeactivationMemo', 'my_clients_SINGLE_Controller@ACTION_updateDeactivationMemo')->name('my_clients_SINGLE-ACTION_updateDeactivationMemo');
-	Route::get('ACTION_reactivate', 'my_clients_SINGLE_Controller@ACTION_reactivate')->name('my_clients_SINGLE-ACTION_reactivate');
-	Route::get('ACTION_updateReactivationMemo', 'my_clients_SINGLE_Controller@ACTION_updateReactivationMemo')->name('my_clients_SINGLE-ACTION_updateReactivationMemo');
-	Route::get('ACTION_editSource', 'my_clients_SINGLE_Controller@ACTION_editSource')->name('my_clients_SINGLE-ACTION_editSource');
-	Route::get('ACTION_setIsDuplicateToTrue', 'my_clients_SINGLE_Controller@ACTION_setIsDuplicateToTrue')->name('my_clients_SINGLE-ACTION_setIsDuplicateToTrue');
-	Route::get('ACTION_setIsDuplicateToFalse', 'my_clients_SINGLE_Controller@ACTION_setIsDuplicateToFalse')->name('my_clients_SINGLE-ACTION_setIsDuplicateToFalse');
-	Route::get('ACTION_editName', 'my_clients_SINGLE_Controller@ACTION_editName')->name('my_clients_SINGLE-ACTION_editName');
-	Route::get('ACTION_editDemographics', 'my_clients_SINGLE_Controller@ACTION_editDemographics')->name('my_clients_SINGLE-ACTION_editDemographics');
-	Route::get('ACTION_editSpouse', 'my_clients_SINGLE_Controller@ACTION_editSpouse')->name('my_clients_SINGLE-ACTION_editSpouse');
-	Route::get('ACTION_editIntakeDetails', 'my_clients_SINGLE_Controller@ACTION_editIntakeDetails')->name('my_clients_SINGLE-ACTION_editIntakeDetails');
-	Route::get('ACTION_editResponsibleParty', 'my_clients_SINGLE_Controller@ACTION_editResponsibleParty')->name('my_clients_SINGLE-ACTION_editResponsibleParty');
-	Route::get('ACTION_editEmergencyRelationship', 'my_clients_SINGLE_Controller@ACTION_editEmergencyRelationship')->name('my_clients_SINGLE-ACTION_editEmergencyRelationship');
-	Route::get('ACTION_editFamilyInfo', 'my_clients_SINGLE_Controller@ACTION_editFamilyInfo')->name('my_clients_SINGLE-ACTION_editFamilyInfo');
-	Route::get('ACTION_editContactDetails', 'my_clients_SINGLE_Controller@ACTION_editContactDetails')->name('my_clients_SINGLE-ACTION_editContactDetails');
-	Route::get('ACTION_editAddress', 'my_clients_SINGLE_Controller@ACTION_editAddress')->name('my_clients_SINGLE-ACTION_editAddress');
-	Route::get('ACTION_editMiscDemographics', 'my_clients_SINGLE_Controller@ACTION_editMiscDemographics')->name('my_clients_SINGLE-ACTION_editMiscDemographics');
-	Route::get('ACTION_setIsDeceasedToTrue', 'my_clients_SINGLE_Controller@ACTION_setIsDeceasedToTrue')->name('my_clients_SINGLE-ACTION_setIsDeceasedToTrue');
-	Route::get('ACTION_setIsDeceasedToFalse', 'my_clients_SINGLE_Controller@ACTION_setIsDeceasedToFalse')->name('my_clients_SINGLE-ACTION_setIsDeceasedToFalse');
-	Route::get('ACTION_editPharmacy', 'my_clients_SINGLE_Controller@ACTION_editPharmacy')->name('my_clients_SINGLE-ACTION_editPharmacy');
-	Route::get('ACTION_editSsn', 'my_clients_SINGLE_Controller@ACTION_editSsn')->name('my_clients_SINGLE-ACTION_editSsn');
-	Route::get('ACTION_putMcn', 'my_clients_SINGLE_Controller@ACTION_putMcn')->name('my_clients_SINGLE-ACTION_putMcn');
-	Route::get('ACTION_removeMcn', 'my_clients_SINGLE_Controller@ACTION_removeMcn')->name('my_clients_SINGLE-ACTION_removeMcn');
-	Route::get('ACTION_updateWebcamInfo', 'my_clients_SINGLE_Controller@ACTION_updateWebcamInfo')->name('my_clients_SINGLE-ACTION_updateWebcamInfo');
-	Route::get('ACTION_putMcp', 'my_clients_SINGLE_Controller@ACTION_putMcp')->name('my_clients_SINGLE-ACTION_putMcp');
-	Route::get('ACTION_removeMcp', 'my_clients_SINGLE_Controller@ACTION_removeMcp')->name('my_clients_SINGLE-ACTION_removeMcp');
-	Route::get('ACTION_updateMcpOnboardingVisitInfo', 'my_clients_SINGLE_Controller@ACTION_updateMcpOnboardingVisitInfo')->name('my_clients_SINGLE-ACTION_updateMcpOnboardingVisitInfo');
-	Route::get('ACTION_updateMcpOnboardingActiveInfo', 'my_clients_SINGLE_Controller@ACTION_updateMcpOnboardingActiveInfo')->name('my_clients_SINGLE-ACTION_updateMcpOnboardingActiveInfo');
-	Route::get('ACTION_putMcpOnboardingPro', 'my_clients_SINGLE_Controller@ACTION_putMcpOnboardingPro')->name('my_clients_SINGLE-ACTION_putMcpOnboardingPro');
-	Route::get('ACTION_removeMcpOnboardingPro', 'my_clients_SINGLE_Controller@ACTION_removeMcpOnboardingPro')->name('my_clients_SINGLE-ACTION_removeMcpOnboardingPro');
-	Route::get('ACTION_acceptAssignmentAsMcpOnboardingPro', 'my_clients_SINGLE_Controller@ACTION_acceptAssignmentAsMcpOnboardingPro')->name('my_clients_SINGLE-ACTION_acceptAssignmentAsMcpOnboardingPro');
-	Route::get('ACTION_rejectAssignmentAsMcpOnboardingPro', 'my_clients_SINGLE_Controller@ACTION_rejectAssignmentAsMcpOnboardingPro')->name('my_clients_SINGLE-ACTION_rejectAssignmentAsMcpOnboardingPro');
-	Route::get('ACTION_updateMcpOnboardingProDecisionMemo', 'my_clients_SINGLE_Controller@ACTION_updateMcpOnboardingProDecisionMemo')->name('my_clients_SINGLE-ACTION_updateMcpOnboardingProDecisionMemo');
-	Route::get('ACTION_updateMcpOnboardingStrategy', 'my_clients_SINGLE_Controller@ACTION_updateMcpOnboardingStrategy')->name('my_clients_SINGLE-ACTION_updateMcpOnboardingStrategy');
-	Route::get('ACTION_updateNextMcpOnboardingAttempt', 'my_clients_SINGLE_Controller@ACTION_updateNextMcpOnboardingAttempt')->name('my_clients_SINGLE-ACTION_updateNextMcpOnboardingAttempt');
-	Route::get('ACTION_putCmPro', 'my_clients_SINGLE_Controller@ACTION_putCmPro')->name('my_clients_SINGLE-ACTION_putCmPro');
-	Route::get('ACTION_removeCmPro', 'my_clients_SINGLE_Controller@ACTION_removeCmPro')->name('my_clients_SINGLE-ACTION_removeCmPro');
-	Route::get('ACTION_putRmePro', 'my_clients_SINGLE_Controller@ACTION_putRmePro')->name('my_clients_SINGLE-ACTION_putRmePro');
-	Route::get('ACTION_removeRmePro', 'my_clients_SINGLE_Controller@ACTION_removeRmePro')->name('my_clients_SINGLE-ACTION_removeRmePro');
-	Route::get('ACTION_putRmmPro', 'my_clients_SINGLE_Controller@ACTION_putRmmPro')->name('my_clients_SINGLE-ACTION_putRmmPro');
-	Route::get('ACTION_removeRmmPro', 'my_clients_SINGLE_Controller@ACTION_removeRmmPro')->name('my_clients_SINGLE-ACTION_removeRmmPro');
-	Route::get('ACTION_putRdPro', 'my_clients_SINGLE_Controller@ACTION_putRdPro')->name('my_clients_SINGLE-ACTION_putRdPro');
-	Route::get('ACTION_removeRdPro', 'my_clients_SINGLE_Controller@ACTION_removeRdPro')->name('my_clients_SINGLE-ACTION_removeRdPro');
-	Route::get('ACTION_updateMntEligibility', 'my_clients_SINGLE_Controller@ACTION_updateMntEligibility')->name('my_clients_SINGLE-ACTION_updateMntEligibility');
-	Route::get('ACTION_updateCmEligibility', 'my_clients_SINGLE_Controller@ACTION_updateCmEligibility')->name('my_clients_SINGLE-ACTION_updateCmEligibility');
-	Route::get('ACTION_setIsEnrolledInCmToFalse', 'my_clients_SINGLE_Controller@ACTION_setIsEnrolledInCmToFalse')->name('my_clients_SINGLE-ACTION_setIsEnrolledInCmToFalse');
-	Route::get('ACTION_setIsEnrolledInCmToTrue', 'my_clients_SINGLE_Controller@ACTION_setIsEnrolledInCmToTrue')->name('my_clients_SINGLE-ACTION_setIsEnrolledInCmToTrue');
-	Route::get('ACTION_updateCmReasons', 'my_clients_SINGLE_Controller@ACTION_updateCmReasons')->name('my_clients_SINGLE-ACTION_updateCmReasons');
-	Route::get('ACTION_updateRmReasons', 'my_clients_SINGLE_Controller@ACTION_updateRmReasons')->name('my_clients_SINGLE-ACTION_updateRmReasons');
-	Route::get('ACTION_updateCmEnrollmentConsentInfo', 'my_clients_SINGLE_Controller@ACTION_updateCmEnrollmentConsentInfo')->name('my_clients_SINGLE-ACTION_updateCmEnrollmentConsentInfo');
-	Route::get('ACTION_updateWhyNotEnrolledInCm', 'my_clients_SINGLE_Controller@ACTION_updateWhyNotEnrolledInCm')->name('my_clients_SINGLE-ACTION_updateWhyNotEnrolledInCm');
-	Route::get('ACTION_updateRmEligibility', 'my_clients_SINGLE_Controller@ACTION_updateRmEligibility')->name('my_clients_SINGLE-ACTION_updateRmEligibility');
-	Route::get('ACTION_setIsEnrolledInRmToFalse', 'my_clients_SINGLE_Controller@ACTION_setIsEnrolledInRmToFalse')->name('my_clients_SINGLE-ACTION_setIsEnrolledInRmToFalse');
-	Route::get('ACTION_setIsEnrolledInRmToTrue', 'my_clients_SINGLE_Controller@ACTION_setIsEnrolledInRmToTrue')->name('my_clients_SINGLE-ACTION_setIsEnrolledInRmToTrue');
-	Route::get('ACTION_updateWhyNotEnrolledInRm', 'my_clients_SINGLE_Controller@ACTION_updateWhyNotEnrolledInRm')->name('my_clients_SINGLE-ACTION_updateWhyNotEnrolledInRm');
-	Route::get('ACTION_updateEquipmentInfo', 'my_clients_SINGLE_Controller@ACTION_updateEquipmentInfo')->name('my_clients_SINGLE-ACTION_updateEquipmentInfo');
-	Route::get('SUB_dashboard', 'my_clients_SINGLE_Controller@SUB_dashboard')->name('my_clients_SINGLE-SUB_dashboard');
-	Route::get('SUB_med_profile', 'my_clients_SINGLE_Controller@SUB_med_profile')->name('my_clients_SINGLE-SUB_med_profile');
-	Route::get('SUB_med_profile_log', 'my_clients_SINGLE_Controller@SUB_med_profile_log')->name('my_clients_SINGLE-SUB_med_profile_log');
-	Route::get('SUB_pro_access', 'my_clients_SINGLE_Controller@SUB_pro_access')->name('my_clients_SINGLE-SUB_pro_access');
-	Route::get('SUB_notes', 'my_clients_SINGLE_Controller@SUB_notes')->name('my_clients_SINGLE-SUB_notes');
-	Route::get('SUB_relationships', 'my_clients_SINGLE_Controller@SUB_relationships')->name('my_clients_SINGLE-SUB_relationships');
-	Route::get('SUB_care_months', 'my_clients_SINGLE_Controller@SUB_care_months')->name('my_clients_SINGLE-SUB_care_months');
-	Route::get('SUB_care_month_entries', 'my_clients_SINGLE_Controller@SUB_care_month_entries')->name('my_clients_SINGLE-SUB_care_month_entries');
-	Route::get('SUB_bills', 'my_clients_SINGLE_Controller@SUB_bills')->name('my_clients_SINGLE-SUB_bills');
-	Route::get('SUB_related_transactions', 'my_clients_SINGLE_Controller@SUB_related_transactions')->name('my_clients_SINGLE-SUB_related_transactions');
-	Route::get('SUB_action_items', 'my_clients_SINGLE_Controller@SUB_action_items')->name('my_clients_SINGLE-SUB_action_items');
-	Route::get('SUB_erx', 'my_clients_SINGLE_Controller@SUB_erx')->name('my_clients_SINGLE-SUB_erx');
-	Route::get('SUB_mcp_updates', 'my_clients_SINGLE_Controller@SUB_mcp_updates')->name('my_clients_SINGLE-SUB_mcp_updates');
-	Route::get('SUB_ally_updates', 'my_clients_SINGLE_Controller@SUB_ally_updates')->name('my_clients_SINGLE-SUB_ally_updates');
-	Route::get('SUB_audit_log', 'my_clients_SINGLE_Controller@SUB_audit_log')->name('my_clients_SINGLE-SUB_audit_log');
-	Route::get('ACTION_med_profileAddNew', 'my_clients_SINGLE_Controller@ACTION_med_profileAddNew')->name('my_clients_SINGLE-ACTION_med_profileAddNew');
-	Route::get('ACTION_pro_accessAddNew', 'my_clients_SINGLE_Controller@ACTION_pro_accessAddNew')->name('my_clients_SINGLE-ACTION_pro_accessAddNew');
-	Route::get('ACTION_notesAddNew', 'my_clients_SINGLE_Controller@ACTION_notesAddNew')->name('my_clients_SINGLE-ACTION_notesAddNew');
-	Route::get('ACTION_relationshipsAddNew', 'my_clients_SINGLE_Controller@ACTION_relationshipsAddNew')->name('my_clients_SINGLE-ACTION_relationshipsAddNew');
-	Route::get('ACTION_care_monthsAddNew', 'my_clients_SINGLE_Controller@ACTION_care_monthsAddNew')->name('my_clients_SINGLE-ACTION_care_monthsAddNew');
-	Route::get('ACTION_action_itemsAddNew', 'my_clients_SINGLE_Controller@ACTION_action_itemsAddNew')->name('my_clients_SINGLE-ACTION_action_itemsAddNew');
-	Route::get('ACTION_erxAddNew', 'my_clients_SINGLE_Controller@ACTION_erxAddNew')->name('my_clients_SINGLE-ACTION_erxAddNew');
+// --- pro: clients --- //
+Route::prefix('/clients')->group(function () {
+	Route::get('', 'clients_Controller@index')->name('clients-index');
+	Route::get('add_new', 'clients_Controller@add_new')->name('clients-add_new');
+	Route::get('view/{uid}', 'clients_Controller@view')->name('clients-view');
+});
+
+// --- pro: clients_SINGLE --- //
+Route::prefix('/clients/view/{uid}')->group(function () {
+	Route::get('ACTION_sendCellNumberConfirmationMessage', 'clients_SINGLE_Controller@ACTION_sendCellNumberConfirmationMessage')->name('clients_SINGLE-ACTION_sendCellNumberConfirmationMessage');
+	Route::get('ACTION_confirmCellNumberWithConfirmationToken', 'clients_SINGLE_Controller@ACTION_confirmCellNumberWithConfirmationToken')->name('clients_SINGLE-ACTION_confirmCellNumberWithConfirmationToken');
+	Route::get('ACTION_putNewCellNumber', 'clients_SINGLE_Controller@ACTION_putNewCellNumber')->name('clients_SINGLE-ACTION_putNewCellNumber');
+	Route::get('ACTION_putNewEmailAddress', 'clients_SINGLE_Controller@ACTION_putNewEmailAddress')->name('clients_SINGLE-ACTION_putNewEmailAddress');
+	Route::get('ACTION_sendEmailAddressConfirmationMessage', 'clients_SINGLE_Controller@ACTION_sendEmailAddressConfirmationMessage')->name('clients_SINGLE-ACTION_sendEmailAddressConfirmationMessage');
+	Route::get('ACTION_confirmEmailAddressWithConfirmationToken', 'clients_SINGLE_Controller@ACTION_confirmEmailAddressWithConfirmationToken')->name('clients_SINGLE-ACTION_confirmEmailAddressWithConfirmationToken');
+	Route::get('ACTION_deactivate', 'clients_SINGLE_Controller@ACTION_deactivate')->name('clients_SINGLE-ACTION_deactivate');
+	Route::get('ACTION_updateDeactivationMemo', 'clients_SINGLE_Controller@ACTION_updateDeactivationMemo')->name('clients_SINGLE-ACTION_updateDeactivationMemo');
+	Route::get('ACTION_reactivate', 'clients_SINGLE_Controller@ACTION_reactivate')->name('clients_SINGLE-ACTION_reactivate');
+	Route::get('ACTION_updateReactivationMemo', 'clients_SINGLE_Controller@ACTION_updateReactivationMemo')->name('clients_SINGLE-ACTION_updateReactivationMemo');
+	Route::get('ACTION_editSource', 'clients_SINGLE_Controller@ACTION_editSource')->name('clients_SINGLE-ACTION_editSource');
+	Route::get('ACTION_setIsDuplicateToTrue', 'clients_SINGLE_Controller@ACTION_setIsDuplicateToTrue')->name('clients_SINGLE-ACTION_setIsDuplicateToTrue');
+	Route::get('ACTION_setIsDuplicateToFalse', 'clients_SINGLE_Controller@ACTION_setIsDuplicateToFalse')->name('clients_SINGLE-ACTION_setIsDuplicateToFalse');
+	Route::get('ACTION_editName', 'clients_SINGLE_Controller@ACTION_editName')->name('clients_SINGLE-ACTION_editName');
+	Route::get('ACTION_editDemographics', 'clients_SINGLE_Controller@ACTION_editDemographics')->name('clients_SINGLE-ACTION_editDemographics');
+	Route::get('ACTION_editSpouse', 'clients_SINGLE_Controller@ACTION_editSpouse')->name('clients_SINGLE-ACTION_editSpouse');
+	Route::get('ACTION_editIntakeDetails', 'clients_SINGLE_Controller@ACTION_editIntakeDetails')->name('clients_SINGLE-ACTION_editIntakeDetails');
+	Route::get('ACTION_editResponsibleParty', 'clients_SINGLE_Controller@ACTION_editResponsibleParty')->name('clients_SINGLE-ACTION_editResponsibleParty');
+	Route::get('ACTION_editEmergencyRelationship', 'clients_SINGLE_Controller@ACTION_editEmergencyRelationship')->name('clients_SINGLE-ACTION_editEmergencyRelationship');
+	Route::get('ACTION_editFamilyInfo', 'clients_SINGLE_Controller@ACTION_editFamilyInfo')->name('clients_SINGLE-ACTION_editFamilyInfo');
+	Route::get('ACTION_editContactDetails', 'clients_SINGLE_Controller@ACTION_editContactDetails')->name('clients_SINGLE-ACTION_editContactDetails');
+	Route::get('ACTION_editAddress', 'clients_SINGLE_Controller@ACTION_editAddress')->name('clients_SINGLE-ACTION_editAddress');
+	Route::get('ACTION_editMiscDemographics', 'clients_SINGLE_Controller@ACTION_editMiscDemographics')->name('clients_SINGLE-ACTION_editMiscDemographics');
+	Route::get('ACTION_setIsDeceasedToTrue', 'clients_SINGLE_Controller@ACTION_setIsDeceasedToTrue')->name('clients_SINGLE-ACTION_setIsDeceasedToTrue');
+	Route::get('ACTION_setIsDeceasedToFalse', 'clients_SINGLE_Controller@ACTION_setIsDeceasedToFalse')->name('clients_SINGLE-ACTION_setIsDeceasedToFalse');
+	Route::get('ACTION_editPharmacy', 'clients_SINGLE_Controller@ACTION_editPharmacy')->name('clients_SINGLE-ACTION_editPharmacy');
+	Route::get('ACTION_editSsn', 'clients_SINGLE_Controller@ACTION_editSsn')->name('clients_SINGLE-ACTION_editSsn');
+	Route::get('ACTION_putMcn', 'clients_SINGLE_Controller@ACTION_putMcn')->name('clients_SINGLE-ACTION_putMcn');
+	Route::get('ACTION_removeMcn', 'clients_SINGLE_Controller@ACTION_removeMcn')->name('clients_SINGLE-ACTION_removeMcn');
+	Route::get('ACTION_updateWebcamInfo', 'clients_SINGLE_Controller@ACTION_updateWebcamInfo')->name('clients_SINGLE-ACTION_updateWebcamInfo');
+	Route::get('ACTION_putMcp', 'clients_SINGLE_Controller@ACTION_putMcp')->name('clients_SINGLE-ACTION_putMcp');
+	Route::get('ACTION_removeMcp', 'clients_SINGLE_Controller@ACTION_removeMcp')->name('clients_SINGLE-ACTION_removeMcp');
+	Route::get('ACTION_updateMcpOnboardingVisitInfo', 'clients_SINGLE_Controller@ACTION_updateMcpOnboardingVisitInfo')->name('clients_SINGLE-ACTION_updateMcpOnboardingVisitInfo');
+	Route::get('ACTION_updateMcpOnboardingActiveInfo', 'clients_SINGLE_Controller@ACTION_updateMcpOnboardingActiveInfo')->name('clients_SINGLE-ACTION_updateMcpOnboardingActiveInfo');
+	Route::get('ACTION_putMcpOnboardingPro', 'clients_SINGLE_Controller@ACTION_putMcpOnboardingPro')->name('clients_SINGLE-ACTION_putMcpOnboardingPro');
+	Route::get('ACTION_removeMcpOnboardingPro', 'clients_SINGLE_Controller@ACTION_removeMcpOnboardingPro')->name('clients_SINGLE-ACTION_removeMcpOnboardingPro');
+	Route::get('ACTION_acceptAssignmentAsMcpOnboardingPro', 'clients_SINGLE_Controller@ACTION_acceptAssignmentAsMcpOnboardingPro')->name('clients_SINGLE-ACTION_acceptAssignmentAsMcpOnboardingPro');
+	Route::get('ACTION_rejectAssignmentAsMcpOnboardingPro', 'clients_SINGLE_Controller@ACTION_rejectAssignmentAsMcpOnboardingPro')->name('clients_SINGLE-ACTION_rejectAssignmentAsMcpOnboardingPro');
+	Route::get('ACTION_updateMcpOnboardingProDecisionMemo', 'clients_SINGLE_Controller@ACTION_updateMcpOnboardingProDecisionMemo')->name('clients_SINGLE-ACTION_updateMcpOnboardingProDecisionMemo');
+	Route::get('ACTION_updateMcpOnboardingStrategy', 'clients_SINGLE_Controller@ACTION_updateMcpOnboardingStrategy')->name('clients_SINGLE-ACTION_updateMcpOnboardingStrategy');
+	Route::get('ACTION_updateNextMcpOnboardingAttempt', 'clients_SINGLE_Controller@ACTION_updateNextMcpOnboardingAttempt')->name('clients_SINGLE-ACTION_updateNextMcpOnboardingAttempt');
+	Route::get('ACTION_putCmPro', 'clients_SINGLE_Controller@ACTION_putCmPro')->name('clients_SINGLE-ACTION_putCmPro');
+	Route::get('ACTION_removeCmPro', 'clients_SINGLE_Controller@ACTION_removeCmPro')->name('clients_SINGLE-ACTION_removeCmPro');
+	Route::get('ACTION_putRmePro', 'clients_SINGLE_Controller@ACTION_putRmePro')->name('clients_SINGLE-ACTION_putRmePro');
+	Route::get('ACTION_removeRmePro', 'clients_SINGLE_Controller@ACTION_removeRmePro')->name('clients_SINGLE-ACTION_removeRmePro');
+	Route::get('ACTION_putRmmPro', 'clients_SINGLE_Controller@ACTION_putRmmPro')->name('clients_SINGLE-ACTION_putRmmPro');
+	Route::get('ACTION_removeRmmPro', 'clients_SINGLE_Controller@ACTION_removeRmmPro')->name('clients_SINGLE-ACTION_removeRmmPro');
+	Route::get('ACTION_putRdPro', 'clients_SINGLE_Controller@ACTION_putRdPro')->name('clients_SINGLE-ACTION_putRdPro');
+	Route::get('ACTION_removeRdPro', 'clients_SINGLE_Controller@ACTION_removeRdPro')->name('clients_SINGLE-ACTION_removeRdPro');
+	Route::get('ACTION_updateMntEligibility', 'clients_SINGLE_Controller@ACTION_updateMntEligibility')->name('clients_SINGLE-ACTION_updateMntEligibility');
+	Route::get('ACTION_updateCmEligibility', 'clients_SINGLE_Controller@ACTION_updateCmEligibility')->name('clients_SINGLE-ACTION_updateCmEligibility');
+	Route::get('ACTION_setIsEnrolledInCmToFalse', 'clients_SINGLE_Controller@ACTION_setIsEnrolledInCmToFalse')->name('clients_SINGLE-ACTION_setIsEnrolledInCmToFalse');
+	Route::get('ACTION_setIsEnrolledInCmToTrue', 'clients_SINGLE_Controller@ACTION_setIsEnrolledInCmToTrue')->name('clients_SINGLE-ACTION_setIsEnrolledInCmToTrue');
+	Route::get('ACTION_updateCmReasons', 'clients_SINGLE_Controller@ACTION_updateCmReasons')->name('clients_SINGLE-ACTION_updateCmReasons');
+	Route::get('ACTION_updateRmReasons', 'clients_SINGLE_Controller@ACTION_updateRmReasons')->name('clients_SINGLE-ACTION_updateRmReasons');
+	Route::get('ACTION_updateCmEnrollmentConsentInfo', 'clients_SINGLE_Controller@ACTION_updateCmEnrollmentConsentInfo')->name('clients_SINGLE-ACTION_updateCmEnrollmentConsentInfo');
+	Route::get('ACTION_updateWhyNotEnrolledInCm', 'clients_SINGLE_Controller@ACTION_updateWhyNotEnrolledInCm')->name('clients_SINGLE-ACTION_updateWhyNotEnrolledInCm');
+	Route::get('ACTION_updateRmEligibility', 'clients_SINGLE_Controller@ACTION_updateRmEligibility')->name('clients_SINGLE-ACTION_updateRmEligibility');
+	Route::get('ACTION_setIsEnrolledInRmToFalse', 'clients_SINGLE_Controller@ACTION_setIsEnrolledInRmToFalse')->name('clients_SINGLE-ACTION_setIsEnrolledInRmToFalse');
+	Route::get('ACTION_setIsEnrolledInRmToTrue', 'clients_SINGLE_Controller@ACTION_setIsEnrolledInRmToTrue')->name('clients_SINGLE-ACTION_setIsEnrolledInRmToTrue');
+	Route::get('ACTION_updateWhyNotEnrolledInRm', 'clients_SINGLE_Controller@ACTION_updateWhyNotEnrolledInRm')->name('clients_SINGLE-ACTION_updateWhyNotEnrolledInRm');
+	Route::get('ACTION_updateEquipmentInfo', 'clients_SINGLE_Controller@ACTION_updateEquipmentInfo')->name('clients_SINGLE-ACTION_updateEquipmentInfo');
+	Route::get('SUB_dashboard', 'clients_SINGLE_Controller@SUB_dashboard')->name('clients_SINGLE-SUB_dashboard');
+	Route::get('SUB_med_profile', 'clients_SINGLE_Controller@SUB_med_profile')->name('clients_SINGLE-SUB_med_profile');
+	Route::get('SUB_med_profile_log', 'clients_SINGLE_Controller@SUB_med_profile_log')->name('clients_SINGLE-SUB_med_profile_log');
+	Route::get('SUB_pro_access', 'clients_SINGLE_Controller@SUB_pro_access')->name('clients_SINGLE-SUB_pro_access');
+	Route::get('SUB_notes', 'clients_SINGLE_Controller@SUB_notes')->name('clients_SINGLE-SUB_notes');
+	Route::get('SUB_relationships', 'clients_SINGLE_Controller@SUB_relationships')->name('clients_SINGLE-SUB_relationships');
+	Route::get('SUB_care_months', 'clients_SINGLE_Controller@SUB_care_months')->name('clients_SINGLE-SUB_care_months');
+	Route::get('SUB_care_month_entries', 'clients_SINGLE_Controller@SUB_care_month_entries')->name('clients_SINGLE-SUB_care_month_entries');
+	Route::get('SUB_bills', 'clients_SINGLE_Controller@SUB_bills')->name('clients_SINGLE-SUB_bills');
+	Route::get('SUB_related_transactions', 'clients_SINGLE_Controller@SUB_related_transactions')->name('clients_SINGLE-SUB_related_transactions');
+	Route::get('SUB_action_items', 'clients_SINGLE_Controller@SUB_action_items')->name('clients_SINGLE-SUB_action_items');
+	Route::get('SUB_erx', 'clients_SINGLE_Controller@SUB_erx')->name('clients_SINGLE-SUB_erx');
+	Route::get('SUB_mcp_updates', 'clients_SINGLE_Controller@SUB_mcp_updates')->name('clients_SINGLE-SUB_mcp_updates');
+	Route::get('SUB_ally_updates', 'clients_SINGLE_Controller@SUB_ally_updates')->name('clients_SINGLE-SUB_ally_updates');
+	Route::get('SUB_audit_log', 'clients_SINGLE_Controller@SUB_audit_log')->name('clients_SINGLE-SUB_audit_log');
+	Route::get('ACTION_med_profileAddNew', 'clients_SINGLE_Controller@ACTION_med_profileAddNew')->name('clients_SINGLE-ACTION_med_profileAddNew');
+	Route::get('ACTION_pro_accessAddNew', 'clients_SINGLE_Controller@ACTION_pro_accessAddNew')->name('clients_SINGLE-ACTION_pro_accessAddNew');
+	Route::get('ACTION_notesAddNew', 'clients_SINGLE_Controller@ACTION_notesAddNew')->name('clients_SINGLE-ACTION_notesAddNew');
+	Route::get('ACTION_relationshipsAddNew', 'clients_SINGLE_Controller@ACTION_relationshipsAddNew')->name('clients_SINGLE-ACTION_relationshipsAddNew');
+	Route::get('ACTION_care_monthsAddNew', 'clients_SINGLE_Controller@ACTION_care_monthsAddNew')->name('clients_SINGLE-ACTION_care_monthsAddNew');
+	Route::get('ACTION_action_itemsAddNew', 'clients_SINGLE_Controller@ACTION_action_itemsAddNew')->name('clients_SINGLE-ACTION_action_itemsAddNew');
+	Route::get('ACTION_erxAddNew', 'clients_SINGLE_Controller@ACTION_erxAddNew')->name('clients_SINGLE-ACTION_erxAddNew');
 });
 
 // --- pro: notes --- //