|
@@ -6,6 +6,7 @@ use App\Lib\Backend;
|
|
|
use App\Models\Appointment;
|
|
|
use App\Models\AppointmentConfirmationDecision;
|
|
|
use App\Models\AppSession;
|
|
|
+use App\Models\CareMonth;
|
|
|
use App\Models\ClientMemo;
|
|
|
use App\Models\ClientProChange;
|
|
|
use App\Models\ClientSMS;
|
|
@@ -540,11 +541,18 @@ WHERE cl.shadow_pro_id IS NULL
|
|
|
ORDER BY created_at DESC
|
|
|
", ['mcp_pro_id' => $performer->pro->id]);
|
|
|
|
|
|
+ $measurementsPendingStamping = CareMonth::where('mcp_pro_id', $this->performer->pro->id)
|
|
|
+ ->where('rm_num_measurements_not_stamped_by_mcp', '>', 0)
|
|
|
+ ->whereNotNull('rm_num_measurements_not_stamped_by_mcp')
|
|
|
+ ->orderBy('created_at', 'DESC')
|
|
|
+ ->paginate(15);
|
|
|
+
|
|
|
return view('app/dashboard-mcp', compact('keyNumbers', 'reimbursement', 'milliseconds',
|
|
|
'businessNumbers',
|
|
|
'incomingReports', 'tickets', 'supplyOrders',
|
|
|
'numERx', 'numLabs', 'numImaging', 'numSupplyOrders',
|
|
|
'newMCPAssociations', 'newNAAssociations',
|
|
|
+ 'measurementsPendingStamping',
|
|
|
'mcpClientMemos', 'mcpClientMemosCount', 'naClientMemos', 'incomingSmsMessagesPendingReply'));
|
|
|
}
|
|
|
|