feat: show generated crypto wallets with block explorer links on admin transactions page

This commit is contained in:
mstfyldz
2026-03-14 00:52:54 +03:00
parent a90b1707bb
commit 6f13e27a80
2 changed files with 73 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import { tr } from 'date-fns/locale';
import TransactionSearch from '@/components/admin/TransactionSearch';
import TransactionStatusFilter from '@/components/admin/TransactionStatusFilter';
import SyncPaymentsButton from '@/components/admin/SyncPaymentsButton';
import TransactionWallets from '@/components/admin/TransactionWallets';
async function getTransactions(filters: { merchant_id?: string; q?: string; status?: string }) {
let sql = `
@@ -118,6 +119,8 @@ export default async function TransactionsPage(props: {
) : (
<span className="text-[10px] text-gray-400 font-bold truncate max-w-[200px] mt-1">{t.callback_url || 'Geri dönüş yok'}</span>
)}
{/* Render generated crypto wallets below the info */}
<TransactionWallets metadata={t.metadata} />
</div>
</td>
<td className="px-10 py-8">