Эх сурвалжийг харах

Note - disallow create-claim if cm setup manager sign is pending

Vijayakrishnan 3 жил өмнө
parent
commit
d9ef4dbfbe

+ 6 - 0
resources/views/app/patient/note/_create-claim.blade.php

@@ -1,5 +1,11 @@
 @if($note->is_claim_closed)
 @if($note->is_claim_closed)
     <b class="ml-2 text-info">[CLAIMING CLOSED]</b>
     <b class="ml-2 text-info">[CLAIMING CLOSED]</b>
+@elseif($pro->pro_type === 'ADMIN' && $note->was_cm_setup_performed && $note->cm_setup_manager_signature_status !== 'SIGNED')
+    <span class="mx-2 text-secondary">|</span>
+    <span class="text-warning-mellow font-weight-bold">
+        <i class="fa fa-exclamation-triangle"></i>
+        CM setup was performed, but manager sign is pending
+    </span>
 @else
 @else
     <span class="mx-2 text-secondary">|</span>
     <span class="mx-2 text-secondary">|</span>
     <a href="#" onclick="return showStagPopup('create-claim')">Create Claim</a>
     <a href="#" onclick="return showStagPopup('create-claim')">Create Claim</a>