added email notification for TicketResource.php, add option to edit users - ban, unban

This commit is contained in:
Gitea
2025-05-18 21:50:24 +05:30
parent c00cad3cf1
commit b43461e180
10 changed files with 410 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
<x-mail::message>
# Support Ticket Response : #{{ $ticket->ticket_id }}
**Subject:** {{ $ticket->subject }}
**Message:**
{{ $ticket->message }}
@foreach ($responses as $response)
**Response from {{ $response->user_id === 1 ? 'Support Team' : $response->user->name }} ({{ $response->created_at->diffForHumans() }}):**
> {{ $response->response }}
@if (!$loop->last)
---
@endif
@endforeach
<x-mail::button :url="route('dashboard.support')">
View Ticket
</x-mail::button>
Thanks,<br>
{{ config('app.name') }}
</x-mail::message>