{{-- Permission Button Component Usage: Props: permission : string - permission key e.g. 'shifts.create' href : string - if set, renders an tag onclick : string - if set (and no href), renders a @elseif($href) {{-- Link button --}} @if($hasPermission) @if($icon)@endif @if(!$iconOnly){{ $label }}@endif @else @if($icon)@endif @if(!$iconOnly){{ $label }}@endif @endif @else {{-- Regular button --}} @endif