소스 검색

fixed mins billed

= 3 년 전
부모
커밋
3a4e349a63
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      resources/views/app/patient/care-month/dashboard.blade.php

+ 8 - 2
resources/views/app/patient/care-month/dashboard.blade.php

@@ -295,13 +295,19 @@
                                     }
                                     elseif($careMonth->rme && $pro->id === $careMonth->rme->id) {
                                         $minsBilled = $careMonth->rm_total_time_in_seconds_by_rme_pro;
-                                    }else {
+                                    }elseif($pro->pro_type == 'ADMIN') {
                                         $minsBilled = $careMonth->rm_total_time_in_seconds;
                                     }
 
                                     $minsBilled = floor($minsBilled / 60);
                                     ?>
-                                    <span class="font-weight-bold text-secondary">Mins. I have billed:</span>
+
+                                    @if($pro->pro_type == 'ADMIN')
+                                        <span class="font-weight-bold text-secondary">Mins. billed:</span>
+                                    @else 
+                                        <span class="font-weight-bold text-secondary">Mins. I have billed:</span>
+                                    @endif
+                                    
                                     <b class="{{$minsBilled >= 20 ? 'text-success' : 'text-warning-mellow'}}">
                                         {{$minsBilled}}
                                         @if($minsBilled < 20)