feat: ajouter les factures litiges et leurs commentaires (recette)
Some checks failed
Validation applicative / TypeScript, tests et build (push) Failing after 2m14s
Some checks failed
Validation applicative / TypeScript, tests et build (push) Failing after 2m14s
This commit is contained in:
2
drizzle/0043_flashy_post.sql
Normal file
2
drizzle/0043_flashy_post.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `invoices` ADD `isDisputed` int DEFAULT 0 NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE `invoices` ADD `disputeComment` text;
|
||||
2532
drizzle/meta/0043_snapshot.json
Normal file
2532
drizzle/meta/0043_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -302,6 +302,13 @@
|
||||
"when": 1790960584104,
|
||||
"tag": "0042_deleted_invoices_blacklist",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 43,
|
||||
"version": "5",
|
||||
"when": 1793716807177,
|
||||
"tag": "0043_flashy_post",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -104,6 +104,10 @@ export const invoices = mysqlTable("invoices", {
|
||||
// Subscription flag
|
||||
isSubscription: int("isSubscription").default(0).notNull(), // 0 = NON, 1 = OUI
|
||||
|
||||
// Le litige est indépendant de l’abonnement, du BAP et de l’export.
|
||||
isDisputed: int("isDisputed").default(0).notNull(),
|
||||
disputeComment: text("disputeComment"),
|
||||
|
||||
// BAP Validation
|
||||
bapValidated: int("bapValidated").default(0).notNull(), // 0 = non validé, 1 = validé BAP
|
||||
bapValidatedAt: timestamp("bapValidatedAt"), // Date de validation BAP
|
||||
|
||||
Reference in New Issue
Block a user