fixed minor bug

This commit is contained in:
Gitea
2025-05-17 05:24:01 +05:30
parent 175a7203f3
commit 27a7bba3d7

View File

@@ -114,6 +114,7 @@
@endforeach @endforeach
@endif @endif
@if($ticket->status !== "closed")
<!-- Reply Form --> <!-- Reply Form -->
<div class="bg-white dark:bg-zinc-800 p-4 shadow rounded"> <div class="bg-white dark:bg-zinc-800 p-4 shadow rounded">
<textarea wire:model="response" class="w-full p-3 rounded border border-gray-300 dark:border-zinc-600 bg-white dark:bg-zinc-900 text-gray-800 dark:text-white focus:outline-none focus:ring focus:ring-blue-500" rows="4" placeholder="Type your response..."></textarea> <textarea wire:model="response" class="w-full p-3 rounded border border-gray-300 dark:border-zinc-600 bg-white dark:bg-zinc-900 text-gray-800 dark:text-white focus:outline-none focus:ring focus:ring-blue-500" rows="4" placeholder="Type your response..."></textarea>
@@ -135,6 +136,7 @@
@endif @endif
<flux:button variant="outline" wire:click="reply('{{ $ticket->id }}')">Send Reply</flux:button> <flux:button variant="outline" wire:click="reply('{{ $ticket->id }}')">Send Reply</flux:button>
</div> </div>
@endif
</div> </div>
@@ -155,7 +157,9 @@
<flux:badge size="sm" color="red">Closed</flux:badge> <flux:badge size="sm" color="red">Closed</flux:badge>
@endif @endif
</span> </span>
@if($ticket->status !== "closed")
<flux:button class="mt-2 cursor-pointer inbox-btn" wire:click="close('{{ $ticket->id }}')">Close Ticket</flux:button> <flux:button class="mt-2 cursor-pointer inbox-btn" wire:click="close('{{ $ticket->id }}')">Close Ticket</flux:button>
@endif
</div> </div>
</div> </div>
</div> </div>