@if (! $hideEmail)
                @if ($document->contact_email)
                    id) }}')">
                        {{ trans($textEmail) }}
                    
                @else
                    
                        
                            {{ trans($textEmail) }}
                        
                    
                @endif
            @endif
            @if (! $hideMarkSent)
                @can($permissionUpdate)
                    @if ($document->status == 'draft')
                         e.target.classList.add('disabled')">
                            {{ trans($textMarkSent) }}
                        
                    @else
                        
                            {{ trans($textMarkSent) }}
                        
                    @endif
                @endcan
            @endif
            @if (! $hideShare)
                @if ($document->status != 'cancelled')
                    id) }}')">
                        {{ trans('general.share_link') }}
                    
                @endif
            @endif