|
@@ -12,9 +12,9 @@ list($goals, $counts) = Point::getPointsOfCategoryExtended($patient, 'GOAL', $no
|
|
|
?>
|
|
|
|
|
|
<div class="mt-3 p-3 border-top min-height-500px" id="goals-center-{{$note->id}}">
|
|
|
- <div>
|
|
|
+ <div class="point-table-container">
|
|
|
|
|
|
- <table class="table table-sm table-bordered mb-0 bg-white mb-2">
|
|
|
+ <table class="table table-sm table-bordered mb-0 bg-white mb-2 point-table">
|
|
|
<thead>
|
|
|
<tr class="">
|
|
|
@if($patient->core_note_id !== $note->id)
|
|
@@ -37,7 +37,11 @@ list($goals, $counts) = Point::getPointsOfCategoryExtended($patient, 'GOAL', $no
|
|
|
@endif
|
|
|
<?php $prevRowState = $goal->state; ?>
|
|
|
<?php $rel = $goal->relevanceToNote($note); ?>
|
|
|
- <tr class="{{$rel ? 'relevant-to-visit' : ''}}">
|
|
|
+ <tr class="{{$rel ? 'relevant-to-visit' : ''}} point-row"
|
|
|
+ data-uid="{{$goal->uid}}"
|
|
|
+ data-name-base64="{{!!@($goal->data->goal) ? base64_encode($goal->data->goal) : ''}}"
|
|
|
+ data-is-removed="{{$goal->is_removed ? 1 : 0}}"
|
|
|
+ data-is-removed-due-to-entry-error="{{$goal->is_removed_due_to_entry_error ? 1 : 0}}">
|
|
|
@if($patient->core_note_id !== $note->id)
|
|
|
@include('app.patient.wizard-partials.relevance-column', ['point' => $goal])
|
|
|
@endif
|
|
@@ -223,7 +227,7 @@ list($goals, $counts) = Point::getPointsOfCategoryExtended($patient, 'GOAL', $no
|
|
|
})
|
|
|
.trigger('change');
|
|
|
|
|
|
- @include('app.patient.wizard-partials.common-script', ['label' => 'goal', 'segment_part' => 'goals'])
|
|
|
+ @include('app.patient.wizard-partials.common-script', ['label' => 'goal', 'segment_part' => 'goals', 'nameKey' => 'goal'])
|
|
|
|
|
|
initSegmentMoes($('#goals-center-{{$note->id}}'));
|
|
|
__initRTEs(parentSegment.find('[note-rte]:not(.ql-container)'));
|