|
@@ -14,8 +14,31 @@
|
|
|
<th></th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
+ <tbody>
|
|
|
+ @php $lastDate = null; @endphp
|
|
|
+ @foreach($patient->notesAscending as $note)
|
|
|
+ <?php
|
|
|
+ $lastDate = $lastDate == null ? $note->effective_dateest : $lastDate;
|
|
|
+ $daysLater = (strtotime($note->effective_dateest) - strtotime($lastDate)) / (60 * 60 * 24);
|
|
|
+ ?>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ {{ $note->effective_dateest }}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{ $daysLater }}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
+ </tbody>
|
|
|
</table>
|
|
|
- @foreach($patient->notesAscending as $note)
|
|
|
- <h3>Note: {{$note->effective_dateest}}</h3>
|
|
|
- @endforeach
|
|
|
@endsection
|