Jelajahi Sumber

Re-enable $disallowPointEdits logic

Vijayakrishnan 3 tahun lalu
induk
melakukan
16a9979727
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      resources/views/app/patient/dashboard.blade.php

+ 1 - 1
resources/views/app/patient/dashboard.blade.php

@@ -28,7 +28,7 @@
         <?php $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_create($patient->created_at))->invert === 1); ?>
 
         <?php $nonCoreVisitNotes = $patient->nonCoreVisitNotes; ?>
-        <?php $disallowPointEdits = true; // $nonCoreVisitNotes && count($nonCoreVisitNotes); ?>
+        <?php $disallowPointEdits = $nonCoreVisitNotes && count($nonCoreVisitNotes); ?>
 
 	    <div class="row client-single-dashboard">
             <div class="col-6">