|
@@ -42,24 +42,24 @@ $plural = 'Allergies';
|
|
|
<td class="width-300px">
|
|
|
<div class="pl-3">
|
|
|
<?php $review = $point->childReviewAddedInNote($note); ?>
|
|
|
- <?php if(!!$review): ?>
|
|
|
- <span>{!! $review->data->value !!}</span>
|
|
|
+ <?php if(!!$review && @$review->data->value): ?>
|
|
|
+ <span class="pr-2">{!! $review->data->value !!}</span>
|
|
|
<?php endif; ?>
|
|
|
- </div>
|
|
|
- <div class="pl-3">
|
|
|
+ </div>
|
|
|
+ <div class="text-nowrap">
|
|
|
<?php if ($point->is_removed): ?>
|
|
|
- @if($point->removal_reason_category === 'DURING_VISIT')
|
|
|
- <span class="text-sm text-secondary">Removed during visit</span>
|
|
|
- @elseif($point->removal_reason_category === 'ON_INTAKE')
|
|
|
- <span class="text-sm text-secondary">Removed on intake</span>
|
|
|
- @endif
|
|
|
- <?php elseif ($point->added_in_note_id === $note->id): ?>
|
|
|
- <?php if ($point->addition_reason_category === 'DURING_VISIT'): ?>
|
|
|
- <span class="text-sm text-success">* Added during visit</span>
|
|
|
- <?php else: ?>
|
|
|
- <span class="text-sm text-info">* Added on intake</span>
|
|
|
- <?php endif;?>
|
|
|
- <?php endif; ?>
|
|
|
+ @if($point->removal_reason_category === 'DURING_VISIT')
|
|
|
+ <span class="text-sm text-secondary">Removed during visit</span>
|
|
|
+ @elseif($point->removal_reason_category === 'ON_INTAKE')
|
|
|
+ <span class="text-sm text-secondary">Removed on intake</span>
|
|
|
+ @endif
|
|
|
+ <?php elseif ($point->added_in_note_id === $note->id): ?>
|
|
|
+ <?php if ($point->addition_reason_category === 'DURING_VISIT'): ?>
|
|
|
+ <span class="text-sm text-success">* Added during visit</span>
|
|
|
+ <?php else: ?>
|
|
|
+ <span class="text-sm text-info">* Added on intake</span>
|
|
|
+ <?php endif;?>
|
|
|
+ <?php endif; ?>
|
|
|
</div>
|
|
|
|
|
|
</td>
|