|
@@ -1,15 +1,17 @@
|
|
<?php if ($point->lastChildPlan): ?>
|
|
<?php if ($point->lastChildPlan): ?>
|
|
<?php $parsedPlan = json_decode($point->lastChildPlan->data); ?>
|
|
<?php $parsedPlan = json_decode($point->lastChildPlan->data); ?>
|
|
- <div><?= $parsedPlan->value ?></div>
|
|
|
|
- <div class="text-secondary text-sm"></div>
|
|
|
|
- <?php if ($point->last_child_plan_point_scoped_note_id === $note->id): ?>
|
|
|
|
- <span class="text-secondary text-sm">(added on this note)</span>
|
|
|
|
- <?php else: ?>
|
|
|
|
- <a native target="_blank"
|
|
|
|
- href="<?= route('patients.view.notes.view.dashboard', ['patient' => $patient, 'note' => $point->lastChildPlanNote]) ?>">
|
|
|
|
- <?= friendlier_date_time($point->last_child_plan_effective_date) ?>
|
|
|
|
- </a>
|
|
|
|
- <?php endif; ?>
|
|
|
|
|
|
+ <div class="mb-2 <?= $point->last_child_plan_point_scoped_note_id === $note->id ? 'bg-warning-mellow p-2 rounded' : '' ?>">
|
|
|
|
+ <div><?= $parsedPlan->value ?></div>
|
|
|
|
+ <div class="text-secondary text-sm"></div>
|
|
|
|
+ <?php if ($point->last_child_plan_point_scoped_note_id === $note->id): ?>
|
|
|
|
+ <span class="text-sm">(added on this note)</span>
|
|
|
|
+ <?php else: ?>
|
|
|
|
+ <a native target="_blank"
|
|
|
|
+ href="<?= route('patients.view.notes.view.dashboard', ['patient' => $patient, 'note' => $point->lastChildPlanNote]) ?>">
|
|
|
|
+ <?= friendlier_date_time($point->last_child_plan_effective_date) ?>
|
|
|
|
+ </a>
|
|
|
|
+ <?php endif; ?>
|
|
|
|
+ </div>
|
|
<?php else: ?>
|
|
<?php else: ?>
|
|
<span class="text-secondary text-sm">None</span>
|
|
<span class="text-secondary text-sm">None</span>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|