|
@@ -74,14 +74,14 @@ class PracticeManagementController extends Controller
|
|
|
->where('days_between_most_recent_mcp_note_date_and_end_of_care_month', '<=', 90);
|
|
|
if(!$isAdmin) $query->where('mcp_pro_id', '=', $proID);
|
|
|
|
|
|
- // if($request->get('show_billing_not_closed_only')){
|
|
|
- // $query->where(function($q){
|
|
|
- // return $q->where('is_bill_closed', false)->orWhereNull('is_bill_closed');
|
|
|
- // });
|
|
|
- // }
|
|
|
+ if($request->get('show_billing_not_closed_only')){
|
|
|
+ $query->where(function($q){
|
|
|
+ return $q->where('is_bill_closed', false)->orWhereNull('is_bill_closed');
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
|
|
|
- $rows = $query->orderByRaw(DB::raw('start_date DESC'))->paginate(10000) ;
|
|
|
+ $rows = $query->orderByRaw(DB::raw('start_date DESC'))->paginate(100) ;
|
|
|
return view ('app.practice-management.remote-monitoring-report', compact('rows', 'isAdmin'));
|
|
|
}
|
|
|
|