Ver código fonte

RM bills to sign - hide sign-all if no bills

Vijayakrishnan 3 anos atrás
pai
commit
4c3643989a

+ 1 - 1
resources/views/app/practice-management/rm-bills-to-sign.blade.php

@@ -10,7 +10,7 @@
                 <i class="fas fa-user-injured"></i>
                 RM Bills to Sign
             </strong>
-            @if($pro->is_hcp)
+            @if($pro->is_hcp && $bills && count($bills))
             <div moe="" relative class="ml-auto">
                 <a class="font-weight-bold" href="#" show start>Sign All Bills</a>
                 <form url="/api/bill/signAllPendingForRM" right>