Explorar o código

Re-enable $disallowPointEdits logic

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
16a9979727
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">