= 3 жил өмнө
parent
commit
eb311e4bcd

+ 4 - 3
resources/views/app/patient/care-month/dashboard.blade.php

@@ -284,7 +284,6 @@
                                     </b>
                                 </div>
 
-                                @if($careMonth->mcp && $pro->id === $careMonth->mcp->id)
                                 <div class="mt-2">
                                     <?php
                                     $minsBilled = 0;
@@ -296,7 +295,10 @@
                                     }
                                     elseif($careMonth->rme && $pro->id === $careMonth->rme->id) {
                                         $minsBilled = $careMonth->rm_total_time_in_seconds_by_rme_pro;
+                                    }else {
+                                        $minsBilled = $careMonth->rm_total_time_in_seconds;
                                     }
+
                                     $minsBilled = floor($minsBilled / 60);
                                     ?>
                                     <span class="font-weight-bold text-secondary">Mins. I have billed:</span>
@@ -312,7 +314,6 @@
                                   
                                     @include('app.practice-management.care_month_add_entry_form')
                                 </div>
-                                @endif
 
                                 <div class="mt-2">
                                     {{-- rm reasons --}}
@@ -833,7 +834,7 @@
                                                        placeholder="Effective Date" required>
                                             </div>
                                             <div class="col-4">
-                                                <input type="number" min="75" max="300" class="form-control form-control-sm w-100 cm-time-value" name="timeInSeconds"
+                                                <input type="number" min="75"  class="form-control form-control-sm w-100 cm-time-value" name="timeInSeconds"
                                                        value="" placeholder="Time (secs.)" required>
                                             </div>
                                         </div>