Bläddra i källkod

CM single - hide claim column if current month

Vijayakrishnan 2 år sedan
förälder
incheckning
12496d80d0
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      resources/views/app/practice-management/rpm-manager/index.blade.php

+ 4 - 4
resources/views/app/practice-management/rpm-manager/index.blade.php

@@ -62,7 +62,7 @@
             <div class="card-header px-2 py-2 d-flex align-items-baseline">
                 <form class="d-block w-100" action="" method="GET" id="rpm-matrix-filter">
                     <div class="d-flex align-items-baseline">
-                        <span class="font-size-16">RPM Manager - {{friendly_month($cmStartDate)}}</span>
+                        <span class="font-size-16">RPM Manager - {{$viewingAs}} - {{friendly_month($cmStartDate)}}</span>
                     </div>
                 </form>
             </div>
@@ -149,7 +149,7 @@
                                     <th class="border-top-0 border-bottom-0 bg-aliceblue" colspan="{{$viewingAs === 'ADMIN' ? 3 : 1}}">Time</th>
                                 @endif
                                 <th class="border-top-0 border-bottom-0 bg-aliceblue" colspan="{{$viewingAs === 'ADMIN' ? 3 : 1}}">Reimb.</th>
-                                @if($viewingAs === 'ADMIN')
+                                @if($viewingAs === 'ADMIN' && !(date('m') == $month && date('Y') == $year))
                                     <th class="border-top-0 border-bottom-0 bg-aliceblue" colspan="3">Claim</th>
                                 @endif
                                 <th class="border-top-0 border-bottom-0"></th>
@@ -214,7 +214,7 @@
                                 @endif
 
                                 <!--Claim-->
-                                @if($viewingAs === 'ADMIN')
+                                @if($viewingAs === 'ADMIN' && !(date('m') == $month && date('Y') == $year))
                                     <th class="border-bottom-0 border-top">4</th>
                                     <th class="border-bottom-0 border-top">7</th>
                                     <th class="border-bottom-0 border-top">8</th>
@@ -474,7 +474,7 @@
                                     @endif
 
                                     <!--Claim-->
-                                    @if($viewingAs === 'ADMIN')
+                                    @if($viewingAs === 'ADMIN' && !(date('m') == $month && date('Y') == $year))
                                         <td>
                                             @if($iPatient->is_99454_claiming_waived)
                                                 <span title="{{$iPatient->why_claiming_99454_waived ?: ''}}">Waived</span>