refactor: enhance transaction and appointment handling with pagination, status filtering, and improved data display

This commit is contained in:
hamed
2025-11-18 22:21:47 +03:30
parent 430e0b3b11
commit e7c8501680
9 changed files with 286 additions and 75 deletions
+7 -10
View File
@@ -213,16 +213,13 @@ export default function PaymentDetailsPage() {
بروزرسانی وضعیت
</button>
</>
) : (
payment.frontend_address && (
<button
onClick={() => router.push(payment.frontend_address)}
className="flex-1 bg-[#5559CE] hover:bg-[#4448b3] text-white font-bold py-3 px-6 rounded-lg transition-colors"
>
بازگشت به داشبورد
</button>
)
)}
) : null}
<button
onClick={() => router.push("/dashboard?sidebar=2")}
className="flex-1 bg-[#5559CE] hover:bg-[#4448b3] text-white font-bold py-3 px-6 rounded-lg transition-colors"
>
بازگشت به تراکنشها
</button>
</div>
</div>
</div>