Просмотр исходного кода

RPM manager - timeInSeconds divide logic fix

Vijayakrishnan 2 лет назад
Родитель
Сommit
d87f8e4c61

+ 1 - 1
resources/views/app/patient/care-month/_matrix-v2.blade.php

@@ -36,7 +36,7 @@ foreach ($days as $k => $day) {
     <a class="" href="#" tab-link="bp-summary">BP Management Settings</a>
 </div>
 @endif
-<div class="my-3 border p-3 cm-tab" tab-key="time-entries">
+<div class="my-3 cm-tab" tab-key="time-entries">
     @if($careMonth->is_client_enrolled_in_rm)
         <?php
         $myEntries = $careMonth->entriesByPro($pro->id);

+ 2 - 2
resources/views/app/practice-management/rpm-manager/row.blade.php

@@ -211,7 +211,7 @@
         <td>
             @if(@$iPatient->myEntries && count($iPatient->myEntries))
                 <div class="d-flex align-items-baseline" title="Me: {{strip_tags($iPatient->myEntries[0]->contentText)}}">
-                    <span class="text-info mr-1">{{round($iPatient->myEntries[0]->timeInSeconds/30)}}m</span>
+                    <span class="text-info mr-1">{{round($iPatient->myEntries[0]->timeInSeconds/60)}}m</span>
                     <span class="flex-grow-1 max-width-200px text-ellipsis mr-1">{{strip_tags($iPatient->myEntries[0]->contentText)}}</span>
                     @if(gettype($iPatient->myEntries[0]->effectiveDate) === 'string')
                         <span class="text-secondary text-sm">{{friendly_date_est_compact($iPatient->myEntries[0]->effectiveDate)}}</span>
@@ -225,7 +225,7 @@
             @if(@$iPatient->otherEntries && count($iPatient->otherEntries))
                 <div class="d-flex align-items-baseline" title="{{$iPatient->otherEntries[0]->proNameFirst}} {{$iPatient->otherEntries[0]->proNameLast}}: {{strip_tags($iPatient->otherEntries[0]->contentText)}}">
                     @if($viewingAs === 'ADMIN')
-                        <span class="text-info mr-1">{{round($iPatient->otherEntries[0]->timeInSeconds/30)}}m</span>
+                        <span class="text-info mr-1">{{round($iPatient->otherEntries[0]->timeInSeconds/60)}}m</span>
                     @endif
                     <span class="flex-grow-1 max-width-200px text-ellipsis mr-1">{{strip_tags($iPatient->otherEntries[0]->contentText)}}</span>
                     @if(gettype($iPatient->otherEntries[0]->effectiveDate) === 'string')