feat: Close #62 - Add Edit btn on ticket show
This commit is contained in:
parent
16dd015290
commit
af1c739f72
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@
|
|||
{{ $ticket->full_name }}
|
||||
@if ($ticket->is_internal)<i class="fa-solid fa-lock"></i>@endif
|
||||
<span class="badge {{ $ticket->type->class() }}">{{ $ticket->type->label() }}</span>
|
||||
@if (auth()->user()->isAdmin())
|
||||
<a class="btn btn-primary"
|
||||
href="{{ route('bo.ticket.edit', $ticket) }}"><i
|
||||
class="fa-solid fa-pen"></i></a>
|
||||
@endif
|
||||
</h2>
|
||||
<div class="col d-flex flex-row text-end">
|
||||
@can('suscribeToTicket', $ticket)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue