• {{ __('Admin') }}
  • @if(isset($_GET['user']))
  • {{ ucwords(strtolower($user->short_name)) }}
  • @else
  • All Help Tickets
  • @endif
  • {{ __('Help Ticket Detail') }}
  • Help Ticket Subject: {{$ticket->subject}}

    @if(isset($user->id))

    {{ucwords(strtolower($user->short_name))}}'s Details

    Email: {{$user->email}}
    Phone: {{localize_us_number($user->phone)}}
    View all attendee details (click)
    Full name {{$user->full_name}}
    Short name {{$user->short_name}}
    Role{{$user->role->display_name}}
    Affiliation{{$user->affiliation_type->name}}
    Address: {{$user->address}}
    {{$user->city}}, {{$user->state}} {{$user->zip}}
    {{$user->country}}
    Email{{$user->email}}
    Phone{{localize_us_number($user->phone)}}
    Mobile{{ $user->is_mobile == 1 ? 'Yes' : 'No'}}
    Mobile Authorized{{$user->sms_authorized == 1 ? 'Yes' : 'No'}}
    Email Verified?{{$user->email_verified_at != null ? "Yes" : "No"}}
    Is Active?{{$user->is_active == 1 ? "Yes" : "No"}}
    View Mode{{ $user->is_darkmode == 0 ? "Light" : "Dark"}}
    Stripe Customer Record @if($user->stripe_id) View on stripe.com @endif
    @endif

    Help Ticket Detail

    Date Created: {{date('d M h:i A', strtotime($ticket->created_at))}}
    Subject: {!!$ticket->subject!!}
    Status: {{ucwords($ticket->status)}}

    Comment Thread:

    @foreach($comments as $comment) @if($comment->public === true)
    {{date('d M h:i A', strtotime($comment->created_at))}}
    {!!$comment->html_body!!}
    @endif @if($comment->public === false)
    Private Comment
    {{date('d M h:i A', strtotime($comment->created_at))}}
    {!!$comment->html_body!!}
    @endif @endforeach @if(isset($_GET['user'])) {!!Form::open(['route' => ['admin.support_tickets.update', ['user' => $_GET['user'], 'support_ticket' => $ticket->id]], 'method' => 'PATCH'])!!}
    {{Form::label('comment', 'Comment', ['class' => 'form-label dark:text-gray-300'])}} {{Form::textarea('comment', null, ['class' => 'form-control dark:bg-gray-800 border-none', 'required'])}}
    {{Form::label('status', 'Status', ['class' => 'form-label dark:text-gray-300'])}} {{Form::select('status', ['open' => 'Open', 'pending' => 'Pending', 'solved' => 'Solved'], $ticket->status, ['class' => 'form-control border-none dark:bg-gray-800', 'required'])}}
    {!!Form::close()!!} @else {!!Form::open(['route' => ['admin.support_tickets.update', ['support_ticket' => $ticket->id]], 'method' => 'PATCH'])!!}
    {{Form::label('comment', 'Comment', ['class' => 'form-label dark:text-gray-300'])}} {{Form::textarea('comment', null, ['class' => 'form-control dark:bg-gray-800 border-none', 'required'])}}
    {{Form::label('status', 'Status', ['class' => 'form-label dark:text-gray-300'])}} {{Form::select('status', ['open' => 'Open', 'pending' => 'Pending', 'solved' => 'Solved'], $ticket->status, ['class' => 'form-control border-none dark:bg-gray-800', 'required'])}}
    {!!Form::close()!!} @endif @if(isset($user->id))

    {{ucwords(strtolower($user->short_name))}} Data

    {{ucwords(strtolower($user->short_name))}}'s Orders

    @php $ttl = 0; $refundttl = 0; $thisorder = 0; @endphp @foreach ($orders as $order) @php if($order->voided == 1) { $thisorder = 0; } else { $thisorder = $order->amount; } @endphp @php $ttl = $ttl + $thisorder; @endphp @endforeach
    Order ID Order Date Refunds Amount Actions
    {{$order->id}} {{ date('m/d/Y g:i a',strtotime($order->created_at)) }} @if($order->voided == 1) ${{ number_format($order->amount,2) }} @php $refundttl = $refundttl + $order->amount; @endphp @endif ${{ number_format($thisorder,2) }} Get PDF
    View order {{$order->id}} items
    @php $orderttl = 0; @endphp @foreach($order->items as $item) @php $orderttl = $item->quantity * $item->amount + $orderttl; @endphp @endforeach
    {{$item->product->category->title}} {{$item->product->title}} {{$item->quantity}} ${{number_format($item->amount,2)}} ${{number_format($item->quantity * $item->amount,2)}}
    Order Total ${{number_format($orderttl,2)}}
    Total of all orders ${{ number_format($refundttl,2)}} ${{ number_format($ttl,2)}}

    {{ucwords(strtolower($user->short_name))}}'s Events and Service Committments

    @forelse($user->event_user as $eu) @empty @endforelse
    Event Name Role Status
    {{$eu->event->name}} {{$eu->event_role->name}} {{$eu->confirmed_at ? 'Confirmed' : 'Pending'}}
    None
    @endif