瀏覽代碼

Re-enable $disallowPointEdits logic

Vijayakrishnan 3 年之前
父節點
當前提交
16a9979727
共有 1 個文件被更改,包括 1 次插入1 次删除
  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">