|
@@ -180,7 +180,9 @@
|
|
|
HCP Signed
|
|
|
</span>
|
|
|
@else
|
|
|
- <div moe>
|
|
|
+ <div moe
|
|
|
+ class="{{ $note->hcp_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
+ title="{{ $note->hcp_pro_id !== $pro->id ? 'Only the note\'s HCP can sign' : '' }}">
|
|
|
<a class="" href="" show start>Sign as HCP</a>
|
|
|
<form url="/api/note/signAsHcp">
|
|
|
<input type="hidden" name="uid" value="{{$note->uid}}">
|
|
@@ -200,7 +202,9 @@
|
|
|
Ally Signed
|
|
|
</span>
|
|
|
@else
|
|
|
- <div moe>
|
|
|
+ <div moe
|
|
|
+ class="{{ $note->ally_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
+ title="{{ $note->ally_pro_id !== $pro->id ? 'Only the note\'s Ally can sign' : '' }}">
|
|
|
<a class="" href="" show start>Sign as Ally</a>
|
|
|
<form url="/api/note/signAsAlly">
|
|
|
<input type="hidden" name="uid" value="{{$note->uid}}">
|
|
@@ -279,7 +283,9 @@
|
|
|
HCP Signed
|
|
|
</span>
|
|
|
@else
|
|
|
- <div moe>
|
|
|
+ <div moe
|
|
|
+ class="{{ $bill->hcp_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
+ title="{{ $bill->hcp_pro_id !== $pro->id ? 'Only the bill\'s HCP can sign' : '' }}">
|
|
|
<a class="" href="" show start>Sign as HCP</a>
|
|
|
<form url="/api/bill/signAsHcp">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|