Client::where('mcp_pro_id', $this->performer->pro->id) ->where('has_mcp_done_onboarding_visit', '!=', 'YES') ->orderBy('created_at') ->get() ]; return view('app.mcp.new_patients_awaiting_visit', $data); } public function notes_pending_signature(Request $request){ $data = [ 'records' => Note::where('hcp_pro_id', $this->performer->pro->id) ->where('is_cancelled', '<>', true) ->where('is_signed_by_hcp', '<>', true) ->orderBy('created_at') ->get() ]; return view('app.mcp.notes_pending_signature', $data); } public function notes_pending_billing(Request $request){ $data = [ 'records' => Note::where('hcp_pro_id', $this->performer->pro->id) ->where('is_cancelled', '<>', true) ->where('is_signed_by_hcp', true) ->where('is_billing_marked_done', '<>', true) ->orderBy('created_at') ->get() ]; return view('app.mcp.notes_pending_billing', $data); } public function reports_pending_signature(Request $request){ $data = [ 'records' => IncomingReport::where('hcp_pro_id', $this->performer->pro->id) ->where('has_hcp_pro_signed', '<>', true) ->where('is_entry_error', '<>', true) ->orderBy('created_at') ->get() ]; return view('app.mcp.reports_pending_signature', $data); } public function patients_without_appointments(Request $request){ $data = []; return view('app.mcp.patients_without_appointments', $data); } public function patients_overdue_for_visit(Request $request){ $data = []; return view('app.mcp.patients_overdue_for_visit', $data); } public function cancelled_appointments_pending_review(Request $request){ $data = []; return view('app.mcp.cancelled_appointments_pending_review', $data); } public function cancelled_bills_pending_review(Request $request){ $data = [ 'records' => Bill::where('hcp_pro_id', $this->performer->pro->id) ->where('bill_service_type', 'NOTE') ->where('is_cancelled', true) ->where('is_cancellation_acknowledged', '<>', true) ->orderBy('created_at') ->get() ]; return view('app.mcp.cancelled_bills_pending_review', $data); } public function cancelled_supply_orders_pending_review(Request $request){ $data = [ 'records' => SupplyOrder::where('signed_by_pro_id', $this->performer->pro->id) ->where('is_cancelled', true) ->where('is_cancellation_acknowledged', '<>', true) ->orderBy('created_at') ->get() ]; return view('app.mcp.cancelled_supply_orders_pending_review', $data); } public function erx_and_orders_pending_signature(Request $request){ $data = []; return view('app.mcp.erx_and_orders_pending_signature', $data); } public function supply_orders_pending_signature(Request $request){ $data = []; return view('app.mcp.supply_orders_pending_signature', $data); } }