feat: Add flatrate billing model for editorial accounts
This commit is contained in:
1 parent
699580a6a0
commit
0b1ffdfdfc
39 files changed
+4900
-57
No files matched your search
@@ -39,6 +39,7 @@ export const billingReports = pgTable(
|
||||
billingAddressSnapshot: jsonb("billing_address_snapshot").notNull(),
|
||||
invoiceNumber: text("invoice_number"),
|
||||
netTotalCents: integer("net_total_cents").notNull(),
|
||||
flatrateCentsSnapshot: integer("flatrate_cents_snapshot"),
|
||||
status: reportStatus("status").notNull().default("draft"),
|
||||
pdf: bytea("pdf"),
|
||||
pdfSha256: varchar("pdf_sha256", { length: 64 }),
|
||||
|
||||
Reference in new issue
Block a user