|
@@ -300,6 +300,14 @@ SELECT effective_date, count(*), sum(number_of_units) as units FROM bill WHERE c
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ $notes = $query->orderBy('created_at', 'desc')->paginate(30);
|
|
|
|
+ return view('app.practice-management.notes', compact('notes', 'filter'));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public function allNotes(Request $request)
|
|
|
|
+ {
|
|
|
|
+ $query = Note::query();
|
|
|
|
+
|
|
$filters = $request->all();
|
|
$filters = $request->all();
|
|
|
|
|
|
$this->filterMultiQuery($request, $query, 'created_at', 'created_at_category', 'created_at_value_1', 'created_at_value_2');
|
|
$this->filterMultiQuery($request, $query, 'created_at', 'created_at_category', 'created_at_value_1', 'created_at_value_2');
|
|
@@ -310,7 +318,7 @@ SELECT effective_date, count(*), sum(number_of_units) as units FROM bill WHERE c
|
|
$notes = $query->orderBy('created_at', 'desc')->paginate(30);
|
|
$notes = $query->orderBy('created_at', 'desc')->paginate(30);
|
|
$allProsWithNotesIDs = Note::pluck('hcp_pro_id')->toArray();
|
|
$allProsWithNotesIDs = Note::pluck('hcp_pro_id')->toArray();
|
|
$allProsWithNotes = Pro::whereIn('id', $allProsWithNotesIDs)->get();
|
|
$allProsWithNotes = Pro::whereIn('id', $allProsWithNotesIDs)->get();
|
|
- return view('app.practice-management.notes', compact('notes', 'filters', 'filter','allProsWithNotes'));
|
|
|
|
|
|
+ return view('app.practice-management.all-notes', compact('notes', 'filters','allProsWithNotes'));
|
|
}
|
|
}
|
|
|
|
|
|
public function dnaNotesPendingMcpSign(Request $request)
|
|
public function dnaNotesPendingMcpSign(Request $request)
|