Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add description column to commission CSV export

Pedro Ladeira4b9405df42cf
diff --git a/apps/web/lib/zod/schemas/commissions.ts b/apps/web/lib/zod/schemas/commissions.ts
index 261da9727d..b220b14649 100644
--- a/apps/web/lib/zod/schemas/commissions.ts
+++ b/apps/web/lib/zod/schemas/commissions.ts
@@ -326,6 +326,7 @@ export const COMMISSION_EXPORT_COLUMNS = [
{ id: "currency", label: "Currency", type: "string", default: true },
{ id: "status", label: "Status", type: "string", default: true },
{ id: "invoiceId", label: "Invoice ID", type: "string", default: true },
+ { id: "description", label: "Description", type: "string", default: false },
{ id: "quantity", label: "Quantity", type: "number", default: true },
{ id: "createdAt", label: "Created at", type: "date", default: true },
{ id: "paidAt", label: "Paid at", type: "date", default: false },