浏览代码

Merge branch 'master' into dev-vj

Vijayakrishnan 4 年之前
父节点
当前提交
aa4a006fae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/views/app/patient/claims-resolver.blade.php

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

@@ -129,7 +129,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>