ソースを参照

Remove goal->category

Vijayakrishnan 3 年 前
コミット
b8bdb9465e
1 ファイル変更5 行追加9 行削除
  1. 5 9
      resources/views/app/patient/goals-center.blade.php

+ 5 - 9
resources/views/app/patient/goals-center.blade.php

@@ -21,7 +21,6 @@ $goals = Point::getPointsOfCategoryExtended($patient, 'GOAL', $note);
                 <th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
                 @endif
                 <th class="border-bottom-0 text-secondary">Goal</th>
-                <th class="border-bottom-0 text-secondary">Category</th>
                 <th class="border-bottom-0 text-secondary">Active?</th>
                 <th class="border-bottom-0 text-secondary">Started</th>
                 <th class="border-bottom-0 text-secondary">Ended</th>
@@ -97,9 +96,6 @@ $goals = Point::getPointsOfCategoryExtended($patient, 'GOAL', $note);
                         </div>
                     </div>
                 </td>
-                <td>
-                    <?= !!@($goal->data->category) ? @($goal->data->category) : '-' ?>
-                </td>
                 <td>
                     @if($goal->is_removed)
                         NO
@@ -182,7 +178,7 @@ $goals = Point::getPointsOfCategoryExtended($patient, 'GOAL', $note);
 
                             @if($goal->added_in_note_id === $note->id)
 
-                                <div class="mb-2">
+                                {{--<div class="mb-2">
                                     <label class="text-sm text-secondary mb-1">Category</label>
                                     <select type="text" data-name="category" class="form-control form-control-sm">
                                         <option value="">-- select --</option>
@@ -252,7 +248,7 @@ $goals = Point::getPointsOfCategoryExtended($patient, 'GOAL', $note);
 
                                 <div class="bg-light border mb-2 p-2 help-text d-none" data-category="OTHER">
                                     <div class="">Ensure that the goal is Specific, Measurable, Attainable, Realistic and Time-Connected.</div>
-                                </div>
+                                </div>--}}
 
                                 <div class="mb-2">
                                     <label class="text-sm text-secondary mb-1">Goal</label>
@@ -265,7 +261,7 @@ $goals = Point::getPointsOfCategoryExtended($patient, 'GOAL', $note);
 
                                 <div class="mb-2 bg-light p-2 border">
                                     <p class="mb-1 font-weight-bold">
-                                        {{ @$goal->data->name }}
+                                        {{ @$goal->data->goal }}
                                     </p>
                                     @if($patient->core_note_id !== $note->id)
                                         <div class="text-secondary text-sm">Clinical details cannot be modified since the goal was added prior to this visit.</div>
@@ -305,7 +301,7 @@ $goals = Point::getPointsOfCategoryExtended($patient, 'GOAL', $note);
                             <div class="row mb-2">
                                 <div class="col-12">
 
-                                    <div class="mb-2">
+                                    {{--<div class="mb-2">
                                         <label class="text-sm text-secondary mb-1">Category</label>
                                         <select type="text" data-name="category" class="form-control form-control-sm">
                                             <option value="">-- select --</option>
@@ -375,7 +371,7 @@ $goals = Point::getPointsOfCategoryExtended($patient, 'GOAL', $note);
 
                                     <div class="bg-light border mb-2 p-2 help-text d-none" data-category="OTHER">
                                         <div class="">Ensure that the goal is Specific, Measurable, Attainable, Realistic and Time-Connected.</div>
-                                    </div>
+                                    </div>--}}
 
                                     <label class="text-sm text-secondary mb-0">Goal</label>
                                     <input type="text"