Explorar el Código

added mb_tables to the tree

Josh hace 4 años
padre
commit
9fa9b5bc49
Se han modificado 36 ficheros con 1152 adiciones y 7 borrados
  1. 24 0
      app/Http/Controllers/mb_claim_Controller.php
  2. 14 0
      app/Http/Controllers/mb_claim_SINGLE_Controller.php
  3. 24 0
      app/Http/Controllers/mb_client_Controller.php
  4. 14 0
      app/Http/Controllers/mb_client_SINGLE_Controller.php
  5. 24 0
      app/Http/Controllers/mb_payer_Controller.php
  6. 14 0
      app/Http/Controllers/mb_payer_SINGLE_Controller.php
  7. 24 0
      app/Http/Controllers/mb_practice_Controller.php
  8. 53 0
      app/Http/Controllers/mb_practice_SINGLE_Controller.php
  9. 24 0
      app/Http/Controllers/mb_pro_Controller.php
  10. 14 0
      app/Http/Controllers/mb_pro_SINGLE_Controller.php
  11. 33 1
      generatecv/tree.txt
  12. 144 0
      resources/views/admin/mb_claim/index.blade.php
  13. 3 0
      resources/views/admin/mb_claim/info.blade.php
  14. 20 0
      resources/views/admin/mb_claim/view.blade.php
  15. 64 0
      resources/views/admin/mb_client/index.blade.php
  16. 3 0
      resources/views/admin/mb_client/info.blade.php
  17. 20 0
      resources/views/admin/mb_client/view.blade.php
  18. 64 0
      resources/views/admin/mb_payer/index.blade.php
  19. 3 0
      resources/views/admin/mb_payer/info.blade.php
  20. 20 0
      resources/views/admin/mb_payer/view.blade.php
  21. 3 0
      resources/views/admin/mb_practice/actions.blade.php
  22. 76 0
      resources/views/admin/mb_practice/index.blade.php
  23. 3 0
      resources/views/admin/mb_practice/info.blade.php
  24. 1 0
      resources/views/admin/mb_practice/subs.blade.php
  25. 20 0
      resources/views/admin/mb_practice/view.blade.php
  26. 41 0
      resources/views/admin/mb_practice_SINGLE/ACTION_deactivate.blade.php
  27. 41 0
      resources/views/admin/mb_practice_SINGLE/ACTION_reactivate.blade.php
  28. 93 0
      resources/views/admin/mb_practice_SINGLE/ACTION_update.blade.php
  29. 41 0
      resources/views/admin/mb_practice_SINGLE/ACTION_updateMemo.blade.php
  30. 41 0
      resources/views/admin/mb_practice_SINGLE/SUB_dashboard.blade.php
  31. 88 0
      resources/views/admin/mb_pro/index.blade.php
  32. 3 0
      resources/views/admin/mb_pro/info.blade.php
  33. 20 0
      resources/views/admin/mb_pro/view.blade.php
  34. 35 0
      resources/views/layouts/generated-links.blade.php
  35. 1 2
      resources/views/pro/clients_SINGLE/SUB_detail.blade.php
  36. 42 4
      routes/generated.php

+ 24 - 0
app/Http/Controllers/mb_claim_Controller.php

@@ -0,0 +1,24 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_claim_Controller extends Controller
+{
+    public $selfName = 'mb_claim_Controller';
+    public $dashboardName = 'dashboard';
+
+	// GET /mb_claim
+	public function index(Request $request) {
+		$records = DB::table('mb_claim')->get();
+		return response()->view('admin/mb_claim/index', compact('records'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_claim/view/{uid}
+	public function view(Request $request, $uid) {
+		return redirect("/mb_claim/view/$uid/SUB_dashboard");
+	}
+}

+ 14 - 0
app/Http/Controllers/mb_claim_SINGLE_Controller.php

@@ -0,0 +1,14 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_claim_SINGLE_Controller extends Controller
+{
+    public $selfName = 'mb_claim_SINGLE_Controller';
+    public $dashboardName = 'dashboard';
+
+}

+ 24 - 0
app/Http/Controllers/mb_client_Controller.php

@@ -0,0 +1,24 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_client_Controller extends Controller
+{
+    public $selfName = 'mb_client_Controller';
+    public $dashboardName = 'dashboard';
+
+	// GET /mb_client
+	public function index(Request $request) {
+		$records = DB::table('mb_client')->get();
+		return response()->view('admin/mb_client/index', compact('records'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_client/view/{uid}
+	public function view(Request $request, $uid) {
+		return redirect("/mb_client/view/$uid/SUB_dashboard");
+	}
+}

+ 14 - 0
app/Http/Controllers/mb_client_SINGLE_Controller.php

@@ -0,0 +1,14 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_client_SINGLE_Controller extends Controller
+{
+    public $selfName = 'mb_client_SINGLE_Controller';
+    public $dashboardName = 'dashboard';
+
+}

+ 24 - 0
app/Http/Controllers/mb_payer_Controller.php

@@ -0,0 +1,24 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_payer_Controller extends Controller
+{
+    public $selfName = 'mb_payer_Controller';
+    public $dashboardName = 'dashboard';
+
+	// GET /mb_payer
+	public function index(Request $request) {
+		$records = DB::table('mb_client')->get();
+		return response()->view('admin/mb_payer/index', compact('records'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_payer/view/{uid}
+	public function view(Request $request, $uid) {
+		return redirect("/mb_payer/view/$uid/SUB_dashboard");
+	}
+}

+ 14 - 0
app/Http/Controllers/mb_payer_SINGLE_Controller.php

@@ -0,0 +1,14 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_payer_SINGLE_Controller extends Controller
+{
+    public $selfName = 'mb_payer_SINGLE_Controller';
+    public $dashboardName = 'dashboard';
+
+}

+ 24 - 0
app/Http/Controllers/mb_practice_Controller.php

@@ -0,0 +1,24 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_practice_Controller extends Controller
+{
+    public $selfName = 'mb_practice_Controller';
+    public $dashboardName = 'dashboard';
+
+	// GET /mb_practice
+	public function index(Request $request) {
+		$records = DB::table('mb_practice')->get();
+		return response()->view('admin/mb_practice/index', compact('records'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_practice/view/{uid}
+	public function view(Request $request, $uid) {
+		return redirect("/mb_practice/view/$uid/SUB_dashboard");
+	}
+}

+ 53 - 0
app/Http/Controllers/mb_practice_SINGLE_Controller.php

@@ -0,0 +1,53 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_practice_SINGLE_Controller extends Controller
+{
+    public $selfName = 'mb_practice_SINGLE_Controller';
+    public $dashboardName = 'dashboard';
+
+	// GET /mb_practice/view/{uid}/ACTION_update
+	public function ACTION_update(Request $request, $uid) {
+		$record = DB::table('mb_practice')->where('uid', $uid)->first();
+		if(!$record) {
+			$record = DB::table('mb_practice')->where('id', $uid)->first();
+			if($record) return redirect('/mb_practice/view/' . $record->uid . '/ACTION_update');
+		}
+		return response()->view('admin/mb_practice_SINGLE/ACTION_update', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_practice/view/{uid}/ACTION_deactivate
+	public function ACTION_deactivate(Request $request, $uid) {
+		$record = DB::table('mb_practice')->where('uid', $uid)->first();
+		if(!$record) {
+			$record = DB::table('mb_practice')->where('id', $uid)->first();
+			if($record) return redirect('/mb_practice/view/' . $record->uid . '/ACTION_deactivate');
+		}
+		return response()->view('admin/mb_practice_SINGLE/ACTION_deactivate', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_practice/view/{uid}/ACTION_reactivate
+	public function ACTION_reactivate(Request $request, $uid) {
+		$record = DB::table('mb_practice')->where('uid', $uid)->first();
+		if(!$record) {
+			$record = DB::table('mb_practice')->where('id', $uid)->first();
+			if($record) return redirect('/mb_practice/view/' . $record->uid . '/ACTION_reactivate');
+		}
+		return response()->view('admin/mb_practice_SINGLE/ACTION_reactivate', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_practice/view/{uid}/SUB_dashboard
+	public function SUB_dashboard(Request $request, $uid) {
+		$record = DB::table('mb_practice')->where('uid', $uid)->first();
+		if(!$record) {
+			$record = DB::table('mb_practice')->where('id', $uid)->first();
+			if($record) return redirect('/mb_practice/view/' . $record->uid . '/SUB_dashboard');
+		}
+		return response()->view('admin/mb_practice_SINGLE/SUB_dashboard', compact('record'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+}

+ 24 - 0
app/Http/Controllers/mb_pro_Controller.php

@@ -0,0 +1,24 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_pro_Controller extends Controller
+{
+    public $selfName = 'mb_pro_Controller';
+    public $dashboardName = 'dashboard';
+
+	// GET /mb_pro
+	public function index(Request $request) {
+		$records = DB::table('mb_pro')->get();
+		return response()->view('admin/mb_pro/index', compact('records'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
+	}
+
+	// GET /mb_pro/view/{uid}
+	public function view(Request $request, $uid) {
+		return redirect("/mb_pro/view/$uid/SUB_dashboard");
+	}
+}

+ 14 - 0
app/Http/Controllers/mb_pro_SINGLE_Controller.php

@@ -0,0 +1,14 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Auth;
+
+class mb_pro_SINGLE_Controller extends Controller
+{
+    public $selfName = 'mb_pro_SINGLE_Controller';
+    public $dashboardName = 'dashboard';
+
+}

+ 33 - 1
generatecv/tree.txt

@@ -304,7 +304,7 @@ PRO
                 !grp:Deceased:is_deceased,date_and_time_of_death,cause_of_death
                 !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_part_b_primary,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_putMedicareInfo
+                !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_part_b_primary,is_hospice,mcn_response_detail,billing_addressreason_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_putMedicareInfo
                 !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:Physician:physician_pro_id:Put Physician:circle=>/clients/view/$uid/ACTION_putPhysicianPro
@@ -1369,3 +1369,35 @@ ADMIN
                 memo=memo
         SUB
             dashboard
+    mb_practice|mb_practice|view|icon:tablet-alt
+    mb_practice/view/{uid}
+        ACTIONS
+            update
+                billingProviderTaxId=billing_provider_tax_id
+                billingProviderTaxIdType=billing_provider_tax_id_type
+                billingProviderEntity=billing_provider_entity
+                billingProviderPhoneNumber=billing_provider_phone_number
+                billingProviderOrganizationName=billing_provider_organization_name
+                billingProviderAddressStreetLine1=billing_provider_address_street_line1
+                billingProviderAddressStreetLine2=billing_provider_address_street_line2
+                billingProviderAddressCity=billing_provider_address_city
+                billingProviderAddressState=billing_provider_address_state
+                billingProviderAddressZip=billing_provider_address_zip
+                billingProviderNpi=billing_provider_npi
+                billingProviderTaxonomyCode=billing_provider_taxonomy_code
+                vendorApiKey=vendor_api_key
+                vendorApiBaseUrl=vendor_api_base_url
+            deactivate
+                memo
+            reactivate
+                memo
+        SUB
+            dashboard
+    mb_payer|mb_client|view|icon:tablet-alt
+    mb_payer/view/{uid}
+    mb_client|mb_client|view|icon:tablet-alt
+    mb_client/view/{uid}
+    mb_pro|mb_pro|view|icon:tablet-alt
+    mb_pro/view/{uid}
+    mb_claim|mb_claim|view|icon:tablet-alt
+    mb_claim/view/{uid}

+ 144 - 0
resources/views/admin/mb_claim/index.blade.php

@@ -0,0 +1,144 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <h3 class="d-flex my-3 px-3 stag-heading stag-heading-index">
+        <div>Mb Claim: List</div>
+        <div class="ml-auto">
+            <!-- _ADD_NEW_LINK_ -->
+        </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>Vendor Identifier</th>
+<th>Mb Practice Id</th>
+<th>Billing Provider Tax Id</th>
+<th>Billing Provider Tax Id Type</th>
+<th>Billing Provider Entity</th>
+<th>Billing Provider Phone Number</th>
+<th>Billing Provider Organization Name</th>
+<th>Billing Provider Last Name</th>
+<th>Billing Provider First Name</th>
+<th>Billing Provider Middle Name</th>
+<th>Billing Provider Address Street Line1</th>
+<th>Billing Provider Address Street Line2</th>
+<th>Billing Provider Address City</th>
+<th>Billing Provider Address State</th>
+<th>Billing Provider Address Zip</th>
+<th>Billing Provider Npi</th>
+<th>Billing Provider Taxonomy Code</th>
+<th>Mb Payer Id</th>
+<th>Payer Identifier Id</th>
+<th>Payer Name</th>
+<th>Payer Address Street Line1</th>
+<th>Payer Address Street Line2</th>
+<th>Payer Address City</th>
+<th>Payer Address State</th>
+<th>Payer Address Zip</th>
+<th>Mb Client Id</th>
+<th>Subscriber Identifier</th>
+<th>Subscriber First Name</th>
+<th>Subscriber Last Name</th>
+<th>Subscriber Middle Name</th>
+<th>Subscriber Address Street Line1</th>
+<th>Subscriber Address Street Line2</th>
+<th>Subscriber Address City</th>
+<th>Subscriber Address State</th>
+<th>Subscriber Address Zip</th>
+<th>Subscriber Phone Number</th>
+<th>Subscriber Group Id</th>
+<th>Subscriber Dob</th>
+<th>Subscriber Gender</th>
+<th>Subscriber Group Name</th>
+<th>Claim Patient Signature On File</th>
+<th>Claim Direct Payment Authorized</th>
+<th>Claim Frequency</th>
+<th>Claim Prior Authorization Number</th>
+<th>Claim Accept Assignment Code</th>
+<th>Claim Total Charge</th>
+<th>Claim Patient Amount Paid</th>
+<th>Claim Provider Signature On File</th>
+<th>Claim Diagnosis Codes</th>
+<th>Current Mb Claim Status Update Id</th>
+<th>Is Submitted</th>
+<th>Created At</th>
+<th>Created By Session Id</th>
+<th>Type</th>
+<th>Is Cancelled</th>
+<th>Cancelled At</th>
+<th>Cancelled By Session Id</th>
+<th>Cancellation Memo</th>
+            </tr>
+            </thead>
+            <tbody>
+            @foreach($records as $record)
+                <tr>
+<td><a href="/mb_claim/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
+<td><?= $record->vendor_identifier ?></td>
+<td><?= $record->mb_practice_id ?></td>
+<td><?= $record->billing_provider_tax_id ?></td>
+<td><?= $record->billing_provider_tax_id_type ?></td>
+<td><?= $record->billing_provider_entity ?></td>
+<td><?= $record->billing_provider_phone_number ?></td>
+<td><?= $record->billing_provider_organization_name ?></td>
+<td><?= $record->billing_provider_last_name ?></td>
+<td><?= $record->billing_provider_first_name ?></td>
+<td><?= $record->billing_provider_middle_name ?></td>
+<td><?= $record->billing_provider_address_street_line1 ?></td>
+<td><?= $record->billing_provider_address_street_line2 ?></td>
+<td><?= $record->billing_provider_address_city ?></td>
+<td><?= $record->billing_provider_address_state ?></td>
+<td><?= $record->billing_provider_address_zip ?></td>
+<td><?= $record->billing_provider_npi ?></td>
+<td><?= $record->billing_provider_taxonomy_code ?></td>
+<td><?= $record->mb_payer_id ?></td>
+<td><?= $record->payer_identifier_id ?></td>
+<td><?= $record->payer_name ?></td>
+<td><?= $record->payer_address_street_line1 ?></td>
+<td><?= $record->payer_address_street_line2 ?></td>
+<td><?= $record->payer_address_city ?></td>
+<td><?= $record->payer_address_state ?></td>
+<td><?= $record->payer_address_zip ?></td>
+<td><?= $record->mb_client_id ?></td>
+<td><?= $record->subscriber_identifier ?></td>
+<td><?= $record->subscriber_first_name ?></td>
+<td><?= $record->subscriber_last_name ?></td>
+<td><?= $record->subscriber_middle_name ?></td>
+<td><?= $record->subscriber_address_street_line1 ?></td>
+<td><?= $record->subscriber_address_street_line2 ?></td>
+<td><?= $record->subscriber_address_city ?></td>
+<td><?= $record->subscriber_address_state ?></td>
+<td><?= $record->subscriber_address_zip ?></td>
+<td><?= $record->subscriber_phone_number ?></td>
+<td><?= $record->subscriber_group_id ?></td>
+<td><?= $record->subscriber_dob ?></td>
+<td><?= $record->subscriber_gender ?></td>
+<td><?= $record->subscriber_group_name ?></td>
+<td><?= $record->claim_patient_signature_on_file ?></td>
+<td><?= $record->claim_direct_payment_authorized ?></td>
+<td><?= $record->claim_frequency ?></td>
+<td><?= $record->claim_prior_authorization_number ?></td>
+<td><?= $record->claim_accept_assignment_code ?></td>
+<td><?= $record->claim_total_charge ?></td>
+<td><?= $record->claim_patient_amount_paid ?></td>
+<td><?= $record->claim_provider_signature_on_file ?></td>
+<td><?= $record->claim_diagnosis_codes ?></td>
+<td><?= $record->current_mb_claim_status_update_id ?></td>
+<td><?= $record->is_submitted ?></td>
+<td><?= friendly_date_time($record->created_at) ?></td>
+<td><?= $record->created_by_session_id ?></td>
+<td><?= $record->type ?></td>
+<td><?= $record->is_cancelled ?></td>
+<td><?= friendly_date_time($record->cancelled_at) ?></td>
+<td><?= $record->cancelled_by_session_id ?></td>
+<td><?= $record->cancellation_memo ?></td>
+                </tr>
+            @endforeach
+            </tbody>
+        </table>
+    </div>
+
+@endsection

+ 3 - 0
resources/views/admin/mb_claim/info.blade.php

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

+ 20 - 0
resources/views/admin/mb_claim/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('admin/mb_claim/info')</div>
+        <div class="d-flex align-items-stretch">
+            <div class="inner-side-nav">
+                <div class="border-right h-100">
+                    @include('admin/mb_claim/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

+ 64 - 0
resources/views/admin/mb_client/index.blade.php

@@ -0,0 +1,64 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <h3 class="d-flex my-3 px-3 stag-heading stag-heading-index">
+        <div>Mb Client: List</div>
+        <div class="ml-auto">
+            <!-- _ADD_NEW_LINK_ -->
+        </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>Mb Practice Id</th>
+<th>Mcn</th>
+<th>First Name</th>
+<th>Last Name</th>
+<th>Middle Name</th>
+<th>Address Street Line1</th>
+<th>Address Street Line2</th>
+<th>Address City</th>
+<th>Address State</th>
+<th>Address Zip</th>
+<th>Phone Number</th>
+<th>Group Id</th>
+<th>Dob</th>
+<th>Gender</th>
+<th>Group Name</th>
+<th>Created At</th>
+<th>Created By Session Id</th>
+<th>Type</th>
+            </tr>
+            </thead>
+            <tbody>
+            @foreach($records as $record)
+                <tr>
+<td><a href="/mb_client/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
+<td><?= $record->mb_practice_id ?></td>
+<td><?= $record->mcn ?></td>
+<td><?= $record->first_name ?></td>
+<td><?= $record->last_name ?></td>
+<td><?= $record->middle_name ?></td>
+<td><?= $record->address_street_line1 ?></td>
+<td><?= $record->address_street_line2 ?></td>
+<td><?= $record->address_city ?></td>
+<td><?= $record->address_state ?></td>
+<td><?= $record->address_zip ?></td>
+<td><?= $record->phone_number ?></td>
+<td><?= $record->group_id ?></td>
+<td><?= $record->dob ?></td>
+<td><?= $record->gender ?></td>
+<td><?= $record->group_name ?></td>
+<td><?= friendly_date_time($record->created_at) ?></td>
+<td><?= $record->created_by_session_id ?></td>
+<td><?= $record->type ?></td>
+                </tr>
+            @endforeach
+            </tbody>
+        </table>
+    </div>
+
+@endsection

+ 3 - 0
resources/views/admin/mb_client/info.blade.php

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

+ 20 - 0
resources/views/admin/mb_client/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('admin/mb_client/info')</div>
+        <div class="d-flex align-items-stretch">
+            <div class="inner-side-nav">
+                <div class="border-right h-100">
+                    @include('admin/mb_client/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

+ 64 - 0
resources/views/admin/mb_payer/index.blade.php

@@ -0,0 +1,64 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <h3 class="d-flex my-3 px-3 stag-heading stag-heading-index">
+        <div>Mb Payer: List</div>
+        <div class="ml-auto">
+            <!-- _ADD_NEW_LINK_ -->
+        </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>Mb Practice Id</th>
+<th>Mcn</th>
+<th>First Name</th>
+<th>Last Name</th>
+<th>Middle Name</th>
+<th>Address Street Line1</th>
+<th>Address Street Line2</th>
+<th>Address City</th>
+<th>Address State</th>
+<th>Address Zip</th>
+<th>Phone Number</th>
+<th>Group Id</th>
+<th>Dob</th>
+<th>Gender</th>
+<th>Group Name</th>
+<th>Created At</th>
+<th>Created By Session Id</th>
+<th>Type</th>
+            </tr>
+            </thead>
+            <tbody>
+            @foreach($records as $record)
+                <tr>
+<td><a href="/mb_payer/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
+<td><?= $record->mb_practice_id ?></td>
+<td><?= $record->mcn ?></td>
+<td><?= $record->first_name ?></td>
+<td><?= $record->last_name ?></td>
+<td><?= $record->middle_name ?></td>
+<td><?= $record->address_street_line1 ?></td>
+<td><?= $record->address_street_line2 ?></td>
+<td><?= $record->address_city ?></td>
+<td><?= $record->address_state ?></td>
+<td><?= $record->address_zip ?></td>
+<td><?= $record->phone_number ?></td>
+<td><?= $record->group_id ?></td>
+<td><?= $record->dob ?></td>
+<td><?= $record->gender ?></td>
+<td><?= $record->group_name ?></td>
+<td><?= friendly_date_time($record->created_at) ?></td>
+<td><?= $record->created_by_session_id ?></td>
+<td><?= $record->type ?></td>
+                </tr>
+            @endforeach
+            </tbody>
+        </table>
+    </div>
+
+@endsection

+ 3 - 0
resources/views/admin/mb_payer/info.blade.php

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

+ 20 - 0
resources/views/admin/mb_payer/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('admin/mb_payer/info')</div>
+        <div class="d-flex align-items-stretch">
+            <div class="inner-side-nav">
+                <div class="border-right h-100">
+                    @include('admin/mb_payer/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

+ 3 - 0
resources/views/admin/mb_practice/actions.blade.php

@@ -0,0 +1,3 @@
+<a up-modal=".form-contents" up-preload up-delay="25" up-width="800" up-history="false" href='/mb_practice/view/<?= $record->uid ?>/ACTION_update?optimised=1' class='d-block btn btn-sm btn-default mb-3'>Update</a>
+<a up-modal=".form-contents" up-preload up-delay="25" up-width="800" up-history="false" href='/mb_practice/view/<?= $record->uid ?>/ACTION_deactivate?optimised=1' class='d-block btn btn-sm btn-default mb-3'>Deactivate</a>
+<a up-modal=".form-contents" up-preload up-delay="25" up-width="800" up-history="false" href='/mb_practice/view/<?= $record->uid ?>/ACTION_reactivate?optimised=1' class='d-block btn btn-sm btn-default mb-3'>Reactivate</a>

+ 76 - 0
resources/views/admin/mb_practice/index.blade.php

@@ -0,0 +1,76 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <h3 class="d-flex my-3 px-3 stag-heading stag-heading-index">
+        <div>Mb Practice: List</div>
+        <div class="ml-auto">
+            <!-- _ADD_NEW_LINK_ -->
+        </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>Billing Provider Tax Id</th>
+<th>Billing Provider Tax Id Type</th>
+<th>Billing Provider Entity</th>
+<th>Billing Provider Phone Number</th>
+<th>Billing Provider Organization Name</th>
+<th>Billing Provider Address Street Line1</th>
+<th>Billing Provider Address Street Line2</th>
+<th>Billing Provider Address City</th>
+<th>Billing Provider Address State</th>
+<th>Billing Provider Address Zip</th>
+<th>Billing Provider Npi</th>
+<th>Billing Provider Taxonomy Code</th>
+<th>Vendor Api Key</th>
+<th>Vendor Api Base Url</th>
+<th>Created At</th>
+<th>Created By Session Id</th>
+<th>Type</th>
+<th>Is Active</th>
+<th>Deactivated At</th>
+<th>Deactivated By Session Id</th>
+<th>Deactivation Memo</th>
+<th>Reactivated At</th>
+<th>Reactivated By Session Id</th>
+<th>Reactivation Memo</th>
+            </tr>
+            </thead>
+            <tbody>
+            @foreach($records as $record)
+                <tr>
+<td><a href="/mb_practice/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
+<td><?= $record->billing_provider_tax_id ?></td>
+<td><?= $record->billing_provider_tax_id_type ?></td>
+<td><?= $record->billing_provider_entity ?></td>
+<td><?= $record->billing_provider_phone_number ?></td>
+<td><?= $record->billing_provider_organization_name ?></td>
+<td><?= $record->billing_provider_address_street_line1 ?></td>
+<td><?= $record->billing_provider_address_street_line2 ?></td>
+<td><?= $record->billing_provider_address_city ?></td>
+<td><?= $record->billing_provider_address_state ?></td>
+<td><?= $record->billing_provider_address_zip ?></td>
+<td><?= $record->billing_provider_npi ?></td>
+<td><?= $record->billing_provider_taxonomy_code ?></td>
+<td><?= $record->vendor_api_key ?></td>
+<td><?= $record->vendor_api_base_url ?></td>
+<td><?= friendly_date_time($record->created_at) ?></td>
+<td><?= $record->created_by_session_id ?></td>
+<td><?= $record->type ?></td>
+<td><?= $record->is_active ?></td>
+<td><?= friendly_date_time($record->deactivated_at) ?></td>
+<td><?= $record->deactivated_by_session_id ?></td>
+<td><?= $record->deactivation_memo ?></td>
+<td><?= friendly_date_time($record->reactivated_at) ?></td>
+<td><?= $record->reactivated_by_session_id ?></td>
+<td><?= $record->reactivation_memo ?></td>
+                </tr>
+            @endforeach
+            </tbody>
+        </table>
+    </div>
+
+@endsection

+ 3 - 0
resources/views/admin/mb_practice/info.blade.php

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

+ 1 - 0
resources/views/admin/mb_practice/subs.blade.php

@@ -0,0 +1 @@
+<a href='/mb_practice/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>

+ 20 - 0
resources/views/admin/mb_practice/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('admin/mb_practice/info')</div>
+        <div class="d-flex align-items-stretch">
+            <div class="inner-side-nav">
+                <div class="border-right h-100">
+                    @include('admin/mb_practice/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/admin/mb_practice_SINGLE/ACTION_deactivate.blade.php

@@ -0,0 +1,41 @@
+@extends('admin.mb_practice.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/mbPractice/deactivate">
+        <input type="hidden" name="_success" value="{{route('mb_practice-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('mb_practice_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('mb_practice-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/admin/mb_practice_SINGLE/ACTION_reactivate.blade.php

@@ -0,0 +1,41 @@
+@extends('admin.mb_practice.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/mbPractice/reactivate">
+        <input type="hidden" name="_success" value="{{route('mb_practice-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('mb_practice_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('mb_practice-view', ['uid' => $record->uid])}}" class="btn btn-sm btn-default px-5" up-close>Cancel</a>
+        </div>
+    </form>
+
+    </div></div>
+
+@endsection

+ 93 - 0
resources/views/admin/mb_practice_SINGLE/ACTION_update.blade.php

@@ -0,0 +1,93 @@
+@extends('admin.mb_practice.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</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/mbPractice/update">
+        <input type="hidden" name="_success" value="{{route('mb_practice-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('mb_practice_SINGLE-ACTION_update', ['uid' => $record->uid])}}">
+        <div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Tax Id </label>
+<input class='form-control' type='text' name='billingProviderTaxId' value='{{ old('billingProviderTaxId') ? old('billingProviderTaxId') : $record->billing_provider_tax_id }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Tax Id Type </label>
+<input class='form-control' type='text' name='billingProviderTaxIdType' value='{{ old('billingProviderTaxIdType') ? old('billingProviderTaxIdType') : $record->billing_provider_tax_id_type }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Entity </label>
+<input class='form-control' type='text' name='billingProviderEntity' value='{{ old('billingProviderEntity') ? old('billingProviderEntity') : $record->billing_provider_entity }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Phone Number </label>
+<input class='form-control' type='text' name='billingProviderPhoneNumber' value='{{ old('billingProviderPhoneNumber') ? old('billingProviderPhoneNumber') : $record->billing_provider_phone_number }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Organization Name </label>
+<input class='form-control' type='text' name='billingProviderOrganizationName' value='{{ old('billingProviderOrganizationName') ? old('billingProviderOrganizationName') : $record->billing_provider_organization_name }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Address Street Line 1 </label>
+<input class='form-control' type='text' name='billingProviderAddressStreetLine1' value='{{ old('billingProviderAddressStreetLine1') ? old('billingProviderAddressStreetLine1') : $record->billing_provider_address_street_line1 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Address Street Line 2 </label>
+<input class='form-control' type='text' name='billingProviderAddressStreetLine2' value='{{ old('billingProviderAddressStreetLine2') ? old('billingProviderAddressStreetLine2') : $record->billing_provider_address_street_line2 }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Address City </label>
+<input class='form-control' type='text' name='billingProviderAddressCity' value='{{ old('billingProviderAddressCity') ? old('billingProviderAddressCity') : $record->billing_provider_address_city }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Address State </label>
+<input class='form-control' type='text' name='billingProviderAddressState' value='{{ old('billingProviderAddressState') ? old('billingProviderAddressState') : $record->billing_provider_address_state }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Address Zip </label>
+<input class='form-control' type='text' name='billingProviderAddressZip' value='{{ old('billingProviderAddressZip') ? old('billingProviderAddressZip') : $record->billing_provider_address_zip }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Npi </label>
+<input class='form-control' type='text' name='billingProviderNpi' value='{{ old('billingProviderNpi') ? old('billingProviderNpi') : $record->billing_provider_npi }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Billing Provider Taxonomy Code </label>
+<input class='form-control' type='text' name='billingProviderTaxonomyCode' value='{{ old('billingProviderTaxonomyCode') ? old('billingProviderTaxonomyCode') : $record->billing_provider_taxonomy_code }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Vendor Api Key </label>
+<input class='form-control' type='text' name='vendorApiKey' value='{{ old('vendorApiKey') ? old('vendorApiKey') : $record->vendor_api_key }}' >
+</div>
+<div class='form-group mb-3'>
+<label class='control-label'>Vendor Api Base Url </label>
+<input class='form-control' type='text' name='vendorApiBaseUrl' value='{{ old('vendorApiBaseUrl') ? old('vendorApiBaseUrl') : $record->vendor_api_base_url }}' >
+</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('mb_practice-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/admin/mb_practice_SINGLE/ACTION_updateMemo.blade.php

@@ -0,0 +1,41 @@
+@extends('admin.mb_practice.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 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/mbPractice/updateMemo">
+        <input type="hidden" name="_success" value="{{route('mb_practice-view', ['uid' => $record->uid])}}">
+        <input type="hidden" name="_return" value="{{route('mb_practice_SINGLE-ACTION_updateMemo', ['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->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('mb_practice-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/admin/mb_practice_SINGLE/SUB_dashboard.blade.php

@@ -0,0 +1,41 @@
+@extends('admin.mb_practice.view')
+@section('content-inner')
+
+    <div class="row mt-3">
+    <div class="col-8">
+
+        <div class="table-responsive p-0 bg-white table-sm stag-table border-top">
+            <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
+                <thead>
+                <tr>
+                    <th colspan="2" class="px-2">Record Details</th>
+                </tr>
+                </thead>
+                <tbody>
+                <?php foreach($record as $k => $v): ?>
+                    <?php
+                    if($k === 'id' || $k === 'uid') continue;
+                    $displayValue = $record->$k;
+                    if(substr($k, -3) === '_at') {
+                        $displayValue = friendly_date_time($record->$k);
+                    }
+                    ?>
+                    <tr>
+                        <td class="px-2 text-secondary border-right w-50">{{ ucwords(str_replace("_", " ", $k)) }}</td>
+                        <td class="px-2 font-weight-bold w-50">{{ $displayValue }}</td>
+                    </tr>
+                <?php endforeach; ?>
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+    <div class="col-4">
+        <div class="border-left h-100 pl-3">
+            @include('admin/mb_practice/actions')
+        </div>
+    </div>
+</div>
+
+
+@endsection

+ 88 - 0
resources/views/admin/mb_pro/index.blade.php

@@ -0,0 +1,88 @@
+@extends('layouts.pro-logged-in')
+@section('content')
+
+    <h3 class="d-flex my-3 px-3 stag-heading stag-heading-index">
+        <div>Mb Pro: List</div>
+        <div class="ml-auto">
+            <!-- _ADD_NEW_LINK_ -->
+        </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>Mb Practice Id</th>
+<th>Npi</th>
+<th>First Name</th>
+<th>Last Name</th>
+<th>Effective Date</th>
+<th>Facility Name</th>
+<th>Provider Name</th>
+<th>Tax Id</th>
+<th>Address</th>
+<th>City</th>
+<th>State</th>
+<th>Zip</th>
+<th>Ptan</th>
+<th>Medicaid Id</th>
+<th>Authorized Signer Title</th>
+<th>Authorized Signer First Name</th>
+<th>Authorized Signer Last Name</th>
+<th>Authorized Signer Contact Number</th>
+<th>Authorized Signer Email</th>
+<th>Signature Json</th>
+<th>Created At</th>
+<th>Created By Session Id</th>
+<th>Type</th>
+<th>Is Active</th>
+<th>Deactivated At</th>
+<th>Deactivated By Session Id</th>
+<th>Deactivation Memo</th>
+<th>Reactivated At</th>
+<th>Reactivated By Session Id</th>
+<th>Reactivation Memo</th>
+            </tr>
+            </thead>
+            <tbody>
+            @foreach($records as $record)
+                <tr>
+<td><a href="/mb_pro/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
+<td><?= $record->mb_practice_id ?></td>
+<td><?= $record->npi ?></td>
+<td><?= $record->first_name ?></td>
+<td><?= $record->last_name ?></td>
+<td><?= $record->effective_date ?></td>
+<td><?= $record->facility_name ?></td>
+<td><?= $record->provider_name ?></td>
+<td><?= $record->tax_id ?></td>
+<td><?= $record->address ?></td>
+<td><?= $record->city ?></td>
+<td><?= $record->state ?></td>
+<td><?= $record->zip ?></td>
+<td><?= $record->ptan ?></td>
+<td><?= $record->medicaid_id ?></td>
+<td><?= $record->authorized_signer_title ?></td>
+<td><?= $record->authorized_signer_first_name ?></td>
+<td><?= $record->authorized_signer_last_name ?></td>
+<td><?= $record->authorized_signer_contact_number ?></td>
+<td><?= $record->authorized_signer_email ?></td>
+<td><?= $record->signature_json ?></td>
+<td><?= friendly_date_time($record->created_at) ?></td>
+<td><?= $record->created_by_session_id ?></td>
+<td><?= $record->type ?></td>
+<td><?= $record->is_active ?></td>
+<td><?= friendly_date_time($record->deactivated_at) ?></td>
+<td><?= $record->deactivated_by_session_id ?></td>
+<td><?= $record->deactivation_memo ?></td>
+<td><?= friendly_date_time($record->reactivated_at) ?></td>
+<td><?= $record->reactivated_by_session_id ?></td>
+<td><?= $record->reactivation_memo ?></td>
+                </tr>
+            @endforeach
+            </tbody>
+        </table>
+    </div>
+
+@endsection

+ 3 - 0
resources/views/admin/mb_pro/info.blade.php

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

+ 20 - 0
resources/views/admin/mb_pro/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('admin/mb_pro/info')</div>
+        <div class="d-flex align-items-stretch">
+            <div class="inner-side-nav">
+                <div class="border-right h-100">
+                    @include('admin/mb_pro/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

+ 35 - 0
resources/views/layouts/generated-links.blade.php

@@ -200,3 +200,38 @@
 		<p>Stag App Pro Access</p>
 	</a>
 </li>
+
+<li class='nav-item'>
+	<a href='/mb_practice' class='nav-link {{ (isset(request()->route()->getController()->selfName) && strpos(request()->route()->getController()->selfName, 'mb_practice') === 0 ? 'active' : '') }} '>
+		<i class='nav-icon fa fa-tablet-alt'></i>
+		<p>Mb Practice</p>
+	</a>
+</li>
+
+<li class='nav-item'>
+	<a href='/mb_payer' class='nav-link {{ (isset(request()->route()->getController()->selfName) && strpos(request()->route()->getController()->selfName, 'mb_payer') === 0 ? 'active' : '') }} '>
+		<i class='nav-icon fa fa-tablet-alt'></i>
+		<p>Mb Payer</p>
+	</a>
+</li>
+
+<li class='nav-item'>
+	<a href='/mb_client' class='nav-link {{ (isset(request()->route()->getController()->selfName) && strpos(request()->route()->getController()->selfName, 'mb_client') === 0 ? 'active' : '') }} '>
+		<i class='nav-icon fa fa-tablet-alt'></i>
+		<p>Mb Client</p>
+	</a>
+</li>
+
+<li class='nav-item'>
+	<a href='/mb_pro' class='nav-link {{ (isset(request()->route()->getController()->selfName) && strpos(request()->route()->getController()->selfName, 'mb_pro') === 0 ? 'active' : '') }} '>
+		<i class='nav-icon fa fa-tablet-alt'></i>
+		<p>Mb Pro</p>
+	</a>
+</li>
+
+<li class='nav-item'>
+	<a href='/mb_claim' class='nav-link {{ (isset(request()->route()->getController()->selfName) && strpos(request()->route()->getController()->selfName, 'mb_claim') === 0 ? 'active' : '') }} '>
+		<i class='nav-icon fa fa-tablet-alt'></i>
+		<p>Mb Claim</p>
+	</a>
+</li>

+ 1 - 2
resources/views/pro/clients_SINGLE/SUB_detail.blade.php

@@ -413,8 +413,7 @@
 <tr><td class="w-25 px-2 text-secondary border-right">Is Part B Primary</td><td class="w-75 px-2 font-weight-bold"><?= $record->is_part_b_primary ?></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">Billing Addressreason Not Partb</td><td class="w-75 px-2 font-weight-bold"><?= $record->billing_addressreason_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>

+ 42 - 4
routes/generated.php

@@ -573,6 +573,12 @@ Route::prefix('/stag_apps/view/{uid}')->group(function () {
 	Route::get('SUB_dashboard', 'stag_apps_SINGLE_Controller@SUB_dashboard')->name('stag_apps_SINGLE-SUB_dashboard');
 });
 
+// --- admin: stag_app_pro_access --- //
+Route::prefix('/stag_app_pro_access')->group(function () {
+	Route::get('', 'stag_app_pro_access_Controller@index')->name('stag_app_pro_access-index');
+	Route::get('view/{uid}', 'stag_app_pro_access_Controller@view')->name('stag_app_pro_access-view');
+});
+
 // --- admin: stag_app_pro_access_SINGLE --- //
 Route::prefix('/stag_app_pro_access/view/{uid}')->group(function () {
 	Route::get('ACTION_deactivate', 'stag_app_pro_access_SINGLE_Controller@ACTION_deactivate')->name('stag_app_pro_access_SINGLE-ACTION_deactivate');
@@ -581,8 +587,40 @@ Route::prefix('/stag_app_pro_access/view/{uid}')->group(function () {
 	Route::get('SUB_dashboard', 'stag_app_pro_access_SINGLE_Controller@SUB_dashboard')->name('stag_app_pro_access_SINGLE-SUB_dashboard');
 });
 
-// --- admin: stag_app_pro_access --- //
-Route::prefix('/stag_app_pro_access')->group(function () {
-	Route::get('', 'stag_app_pro_access_Controller@index')->name('stag_app_pro_access-index');
-	Route::get('view/{uid}', 'stag_app_pro_access_Controller@view')->name('stag_app_pro_access-view');
+// --- admin: mb_practice --- //
+Route::prefix('/mb_practice')->group(function () {
+	Route::get('', 'mb_practice_Controller@index')->name('mb_practice-index');
+	Route::get('view/{uid}', 'mb_practice_Controller@view')->name('mb_practice-view');
+});
+
+// --- admin: mb_practice_SINGLE --- //
+Route::prefix('/mb_practice/view/{uid}')->group(function () {
+	Route::get('ACTION_update', 'mb_practice_SINGLE_Controller@ACTION_update')->name('mb_practice_SINGLE-ACTION_update');
+	Route::get('ACTION_deactivate', 'mb_practice_SINGLE_Controller@ACTION_deactivate')->name('mb_practice_SINGLE-ACTION_deactivate');
+	Route::get('ACTION_reactivate', 'mb_practice_SINGLE_Controller@ACTION_reactivate')->name('mb_practice_SINGLE-ACTION_reactivate');
+	Route::get('SUB_dashboard', 'mb_practice_SINGLE_Controller@SUB_dashboard')->name('mb_practice_SINGLE-SUB_dashboard');
+});
+
+// --- admin: mb_payer --- //
+Route::prefix('/mb_payer')->group(function () {
+	Route::get('', 'mb_payer_Controller@index')->name('mb_payer-index');
+	Route::get('view/{uid}', 'mb_payer_Controller@view')->name('mb_payer-view');
+});
+
+// --- admin: mb_client --- //
+Route::prefix('/mb_client')->group(function () {
+	Route::get('', 'mb_client_Controller@index')->name('mb_client-index');
+	Route::get('view/{uid}', 'mb_client_Controller@view')->name('mb_client-view');
+});
+
+// --- admin: mb_pro --- //
+Route::prefix('/mb_pro')->group(function () {
+	Route::get('', 'mb_pro_Controller@index')->name('mb_pro-index');
+	Route::get('view/{uid}', 'mb_pro_Controller@view')->name('mb_pro-view');
+});
+
+// --- admin: mb_claim --- //
+Route::prefix('/mb_claim')->group(function () {
+	Route::get('', 'mb_claim_Controller@index')->name('mb_claim-index');
+	Route::get('view/{uid}', 'mb_claim_Controller@view')->name('mb_claim-view');
 });