@extends('layouts.app') @section('title', 'Support') @push('styles') @endpush @section('content')
๐Ÿ’ฌ

How can we help you?

Get instant answers or chat with our support team

@if(session('success'))
{{ session('success') }}
@endif {{-- FAQ Quick Answers --}}
Quick Answers
@foreach([ ['How do I earn coins?','Recycle waste via pickup or machine codes. Confirmed pickups earn 10 NC/kg. Machine codes have fixed values. Premium members earn 2x coins.'], ['How do I withdraw?','Go to Wallet โ†’ Withdraw. Enter amount, bank details, and your 4-digit PIN. Processed within 1-3 business days.'], ['How do I schedule a pickup?','Go to Recycle & Earn โ†’ Schedule Pickup. Enter your address and waste details. A collector will be assigned.'], ['What is a machine code?','A code from a Nabola recycling machine. Deposit waste, get the code, enter it in Smart Recycle to earn coins instantly.'], ['How do I set my PIN?','Go to Wallet or Profile โ†’ Transaction PIN section. Set a 4-digit PIN to secure withdrawals and transfers.'], ['How do I refer friends?','Go to Referrals page. Share your code or link. You both earn 50 NC when they sign up and recycle.'], ] as [$q,$a])
{{ $q }}
{{ $a }}
@endforeach
{{-- AI Chat Bot --}}
Ask Nabola AI
๐Ÿค–
Nabola Assistant
โ— Online ยท Instant replies
๐Ÿค–
Hi {{ explode(' ', auth()->user()->name)[0] }}! ๐Ÿ‘‹ I'm the Nabola AI assistant. Ask me anything about recycling, coins, withdrawals, or how to use the platform!
@foreach(['How to earn coins?','Schedule a pickup','Withdraw coins','Machine codes','My account','Talk to agent'] as $qr) @endforeach
{{-- Escalate to Agent --}}
Need more help?
Our support agents are available to assist you with complex issues.
{{-- Agent Chat Form (hidden by default) --}} {{-- Existing Conversations --}} @if($conversations->count())
Previous Conversations
@foreach($conversations as $conv)
{{ $conv->subject ?? 'Support Chat' }}
{{ ucfirst($conv->status) }}
@if($conv->lastMessage)
{{ $conv->lastMessage->sender_id === auth()->id() ? 'You: ' : 'Support: ' }}{{ Str::limit($conv->lastMessage->message, 55) }}
@endif
{{ $conv->last_message_at?->diffForHumans() ?? $conv->created_at->diffForHumans() }}
@endforeach
@endif
@push('scripts') @endpush @endsection