diff --git a/resources/views/form/rapport-pulmocare/1796124487-a04b7fd0-163b-4516-ad25-4976b5a524ba-history.blade.php b/resources/views/form/rapport-pulmocare/1796124487-a04b7fd0-163b-4516-ad25-4976b5a524ba-history.blade.php index 6342c68f..71cedea8 100644 --- a/resources/views/form/rapport-pulmocare/1796124487-a04b7fd0-163b-4516-ad25-4976b5a524ba-history.blade.php +++ b/resources/views/form/rapport-pulmocare/1796124487-a04b7fd0-163b-4516-ad25-4976b5a524ba-history.blade.php @@ -106,16 +106,19 @@ - {{-- @if($question->can_edit == 'yes' || sizeof($submission->workflow_approvals) == 0 ) - --}} @if($submission->workflow == 'yes' && $submission->workflow_status == 'approved' ) + @if($question->can_edit == 'yes' || sizeof($submission->workflow_approvals) == 0 ) + --}} @if($submission->workflow == 'yes' && $submission->workflow_status == 'approved' )
Approved
- @else - Ed - @if(isset($form->allow_delete_by_user) && $form->allow_delete_by_user == 'yes') - Delete @endif + @if($submission->workflow == 'yes' && $submission->workflow_status == 'rejected' ) + Edit + @endif + + @if(isset($form->allow_delete_by_user) && $form->allow_delete_by_user == 'yes') + Delete @endif - {{-- @endif --}} + + @endif @endforeach