@if ($editImmigrationPermission == 'all'
|| ($editImmigrationPermission == 'added' && $visa->added_by == user()->id)
|| ($editImmigrationPermission == 'owned' && ($visa->user_id == user()->id && $visa->added_by != user()->id))
|| ($editImmigrationPermission == 'both' && ($visa->added_by == user()->id || $visa->user_id == user()->id)))
@lang('app.edit')
@endif
@if ($deleteImmigrationPermission == 'all'
|| ($deleteImmigrationPermission == 'added' && $visa->added_by == user()->id)
|| ($deleteImmigrationPermission == 'owned' && ($visa->user_id == user()->id && $visa->added_by != user()->id))
|| ($deleteImmigrationPermission == 'both' && ($visa->added_by == user()->id || $visa->user_id == user()->id)))
@lang('app.delete')
@endif