|
@@ -884,7 +884,7 @@ class PracticeManagementController extends Controller
|
|
|
DB::raw("(SELECT COUNT(*) FROM note where note.client_id = client.id) as notes_total"),
|
|
|
DB::raw("(SELECT COUNT(*) FROM note where note.client_id = client.id AND is_bill_closed IS NOT true) as notes_without_billing_closed"),
|
|
|
DB::raw("(SELECT COUNT(*) FROM note where note.client_id = client.id AND is_claim_closed IS NOT true) as notes_without_claiming_closed")
|
|
|
- )->orderBy('is_part_b_primary', 'desc')->orderBy('notes_without_claiming_closed', 'desc');
|
|
|
+ )->orderBy('is_part_b_primary', 'asc')->orderBy('notes_without_claiming_closed', 'desc');
|
|
|
|
|
|
if($proUid){
|
|
|
$mcpPro = Pro::where('uid', $proUid)->first();
|