feat: expand KYC types with swapstation support and implement SMS history tracking with templating system

This commit is contained in:
sazzadulalambd
2026-05-05 02:32:51 +06:00
parent 7ff02cf732
commit 37f86c2363
2 changed files with 131 additions and 50 deletions

View File

@@ -716,34 +716,22 @@ export default function RequestsPage() {
<label className="text-sm font-medium text-slate-600 mb-2 block">Quick Messages</label>
<div className="flex flex-wrap gap-2">
<button
onClick={() => setMessageText('Please upload your NID document.')}
onClick={() => setMessageText('Please upload your required documents to proceed with your KYC application.')}
className="px-3 py-1.5 bg-slate-100 text-slate-600 text-xs rounded-lg hover:bg-slate-200"
>
Request NID
Documents Required
</button>
<button
onClick={() => setMessageText('Please upload your Driving License.')}
onClick={() => setMessageText('Your KYC application is now under review. We will notify you once the process is completed.')}
className="px-3 py-1.5 bg-slate-100 text-slate-600 text-xs rounded-lg hover:bg-slate-200"
>
Request License
Under Review
</button>
<button
onClick={() => setMessageText('Please upload your TIN Certificate.')}
onClick={() => setMessageText('Your application is pending final approval. You will be notified once approved.')}
className="px-3 py-1.5 bg-slate-100 text-slate-600 text-xs rounded-lg hover:bg-slate-200"
>
Request TIN
</button>
<button
onClick={() => setMessageText('Please upload your Bank Statement (last 3 months).')}
className="px-3 py-1.5 bg-slate-100 text-slate-600 text-xs rounded-lg hover:bg-slate-200"
>
Request Bank Statement
</button>
<button
onClick={() => setMessageText('Your document is not clear. Please re-upload with better quality.')}
className="px-3 py-1.5 bg-slate-100 text-slate-600 text-xs rounded-lg hover:bg-slate-200"
>
Document Unclear
Pending Approval
</button>
</div>
</div>