diff --git a/app/(dashboard)/dashboard/shop/income/page.tsx b/app/(dashboard)/dashboard/shop/income/page.tsx index 6712a60..2493c91 100644 --- a/app/(dashboard)/dashboard/shop/income/page.tsx +++ b/app/(dashboard)/dashboard/shop/income/page.tsx @@ -48,7 +48,7 @@ export default function ShopIncomePage() { const relatedTransactions = listTransactions().filter((transaction) => { if (transaction.type === "withdrawal") return true if (transaction.type !== "income") return false - const match = transaction.description.match(/ord\d+/) + const match = transaction.description.match(/ord[-\d]+/) if (!match) return false return shopOrderIds.has(match[0]) })