@@ -28,11 +28,11 @@ class PatientController extends Controller
public function claimsResolver(Request $request, Client $patient)
{
- $notes = $patient->notesAscending();
+ $notes = $patient->notesAscending;
$hcpSignedNotes = 0;
foreach($notes as $note){
if($note->is_signed_by_hcp){
- $hcpSignedNotes++;
+ $hcpSignedNotes += 1;
}
$data = [
@@ -3,4 +3,8 @@
@section('inner-content')
<h1>Here is the story of all the notes, bills, and claims for this patient.</h1>
<h2>HCP Signed Notes: {{$hcpSignedNotes}}</h2>
+ <h2>All Notes:</h2>
+ @foreach($patient->notesAscending as $note)
+ <h3>Note: $note->effective_dateest</h3>
+ @endforeach
@endsection