settings updates, fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="hd-helpdesk-surface mx-auto max-w-[1800px] space-y-6" dusk="helpdesk-kanban-board"
|
||||
<div class="hd-helpdesk-surface hd-mobile-ready mx-auto max-w-[1800px] space-y-6" dusk="helpdesk-kanban-board"
|
||||
wire:poll.visible.5s="refreshBoard" wire:key="helpdesk-kanban-root">
|
||||
<div
|
||||
class="overflow-hidden rounded-3xl border border-zinc-200 bg-white shadow-sm dark:border-zinc-700 dark:bg-zinc-900">
|
||||
@@ -197,6 +197,32 @@
|
||||
SLA breach</div>
|
||||
@endif
|
||||
|
||||
@can('update', $ticket)
|
||||
<div class="hd-kanban-mobile-move mt-3 md:hidden">
|
||||
<label
|
||||
for="mobile-status-{{ $ticket->id }}"
|
||||
class="mb-1.5 block text-[11px] font-bold uppercase tracking-wide text-zinc-500 dark:text-zinc-400"
|
||||
>
|
||||
Move to status
|
||||
</label>
|
||||
<select
|
||||
id="mobile-status-{{ $ticket->id }}"
|
||||
class="hd-select w-full"
|
||||
wire:change="moveTicket({{ $ticket->id }}, $event.target.value)"
|
||||
aria-label="Move {{ $ticket->reference }} to another status"
|
||||
>
|
||||
@foreach ($statuses as $mobileStatus)
|
||||
<option
|
||||
value="{{ $mobileStatus->id }}"
|
||||
@selected((int) $ticket->status_id === (int) $mobileStatus->id)
|
||||
>
|
||||
{{ $mobileStatus->name }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@endcan
|
||||
|
||||
<div
|
||||
class="mt-4 flex items-center justify-between gap-2 border-t border-zinc-100 pt-3 dark:border-zinc-800">
|
||||
<a href="{{ route('helpdesk.tickets.show', $ticket) }}" wire:navigate
|
||||
|
||||
Reference in New Issue
Block a user