|
@@ -29,16 +29,16 @@ class PatientController extends Controller
|
|
public function claimsResolver(Request $request, Client $patient)
|
|
public function claimsResolver(Request $request, Client $patient)
|
|
{
|
|
{
|
|
$notes = $patient->notesAscending;
|
|
$notes = $patient->notesAscending;
|
|
- $hcpSignedNotes = 0;
|
|
|
|
|
|
+ $hcpSignedNotesCount = 0;
|
|
foreach($notes as $note){
|
|
foreach($notes as $note){
|
|
if($note->is_signed_by_hcp){
|
|
if($note->is_signed_by_hcp){
|
|
- $hcpSignedNotes += 1;
|
|
|
|
|
|
+ $hcpSignedNotesCount += 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
$data = [
|
|
$data = [
|
|
'dog' => 'bark',
|
|
'dog' => 'bark',
|
|
'patient' => $patient,
|
|
'patient' => $patient,
|
|
- 'hcpSignedNotes' => $hcpSignedNotes
|
|
|
|
|
|
+ 'hcpSignedNotesCount' => $hcpSignedNotesCount
|
|
];
|
|
];
|
|
return view('app.patient.claims-resolver', $data);
|
|
return view('app.patient.claims-resolver', $data);
|
|
}
|
|
}
|