@can('update', $qr) @if ($qr->is_active) @else @endif @endcan @can('delete', $qr) @endcan