root 4 年之前
父節點
當前提交
39321ecf84
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/views/app/patient/claims-resolver.blade.php

+ 1 - 1
resources/views/app/patient/claims-resolver.blade.php

@@ -130,7 +130,7 @@
                     {{ $daysBetweenFirstAndLastVisit }}
                 </td>
                 <td>{{ $hcpNoteCountMap[$k] }}</td>
-                <td> {{ round($daysBetweenFirstAndLastVisit / ($hcpNoteCountMap[$k] - 1), 2) }} </td>
+                <td> {{ ($hcpNoteCountMap[$k] - 1) ? round($daysBetweenFirstAndLastVisit / ($hcpNoteCountMap[$k] - 1), 2) : null }} </td>
             </tr>
         @endforeach
     </table>