|
@@ -9,7 +9,6 @@ $points = \App\Models\Point
|
|
|
->where('addition_reason_category', 'DURING_VISIT')
|
|
|
->where('added_in_note_id', $note->id);
|
|
|
})
|
|
|
- ->orWhere('last_child_plan_point_scoped_note_id', $note->id)
|
|
|
->orWhereRaw("(SELECT count(id) from note_point WHERE is_active IS TRUE AND note_id = {$note->id} AND point_id = point.id) > 0");
|
|
|
})
|
|
|
->orderBy('created_at')
|
|
@@ -27,7 +26,7 @@ foreach ($points as $point) {
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
-@if($allergies && count($allergies))
|
|
|
+{{--@if($allergies && count($allergies))
|
|
|
<div class="d-flex mb-1">
|
|
|
<a class="mr-2 min-width-110px "
|
|
|
open-in-stag-popup
|
|
@@ -41,7 +40,7 @@ foreach ($points as $point) {
|
|
|
{{implode(", ", $allergies)}}
|
|
|
</div>
|
|
|
</div>
|
|
|
-@endif
|
|
|
+@endif--}}
|
|
|
|
|
|
@if($problems && count($problems))
|
|
|
<div class="d-flex mb-1">
|