Ver Fonte

added created at on pros

Josh há 4 anos atrás
pai
commit
f838c6f9ba

+ 4 - 4
resources/views/app/patient/canvas-sections/dx/summary.php

@@ -18,14 +18,14 @@ if(count($contentData['items'])) {
         <div class="mb-2 <?= @$item["included"] ? '' : 'hide-if-note' ?>">
             <div class="">
                 <b><?= isset($item["title"]) ? $item["title"] :''  ?></b>
-                <?= !!$item["icd"] ? '/&nbsp;' . $item["icd"] : '' ?>
-                <?= !!$item["coa"] ? '/&nbsp;' . $item["coa"] : '' ?>
+                <?= isset($item["icd"]) ? '/&nbsp;' . $item["icd"] : '' ?>
+                <?= isset($item["coa"]) ? '/&nbsp;' . $item["coa"] : '' ?>
             </div>
-            <?php if(!!$item["detail"]): ?>
+            <?php if(isset($item["detail"])): ?>
                 <div class="text-secondary font-weight-bold">Detail</div>
                 <div class="ml-2"><?= $item["detail"] ?></div>
             <?php endif; ?>
-            <?php if(!!$item["plan"]): ?>
+            <?php if(isset($item["plan"])): ?>
                 <div class="text-secondary font-weight-bold">Plan</div>
                 <div class="ml-2"><?= $item["plan"] ?></div>
             <?php endif; ?>