fixed attachmentts
This commit is contained in:
@@ -321,6 +321,33 @@
|
||||
</div>
|
||||
|
||||
@can('update', $ticket)
|
||||
<div class="rounded-xl border border-zinc-200 bg-zinc-50 p-3 dark:border-zinc-700 dark:bg-zinc-950">
|
||||
<div class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
|
||||
<div class="min-w-0">
|
||||
<label class="block text-xs font-bold text-zinc-700 dark:text-zinc-200">
|
||||
Attach files to this reply
|
||||
</label>
|
||||
<p class="mt-1 truncate text-xs font-semibold text-zinc-500 dark:text-zinc-400" data-helpdesk-file-label>
|
||||
No files selected
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<label data-helpdesk-file-button class="inline-flex cursor-pointer items-center justify-center rounded-lg bg-blue-600 px-3 py-2 text-xs font-bold text-white shadow-sm transition hover:bg-blue-700 focus-within:outline-none focus-within:ring-2 focus-within:ring-blue-400/70">
|
||||
<i class="fa-solid fa-paperclip mr-2 text-xs" aria-hidden="true"></i>
|
||||
<span>Choose files</span>
|
||||
<input name="comment_attachments[]" type="file" multiple class="sr-only" data-helpdesk-file-input>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@error('comment_attachments')
|
||||
<p class="mt-2 text-xs font-semibold text-red-600 dark:text-red-400">{{ $message }}</p>
|
||||
@enderror
|
||||
|
||||
@error('comment_attachments.*')
|
||||
<p class="mt-2 text-xs font-semibold text-red-600 dark:text-red-400">{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
@if ($canSeeInternalNotes)
|
||||
<label class="mt-3 flex items-center gap-2 text-xs font-semibold text-zinc-700 dark:text-zinc-200">
|
||||
<input type="checkbox" name="internal" value="1" @checked(old('internal')) class="rounded border-zinc-300">
|
||||
|
||||
Reference in New Issue
Block a user