소스 검색

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>