mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Add system for reconciliation comments on deliveries
Add `reconciliation_comments` table to PostgreSQL schema for storing comments related to delivery reconciliation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 95e8aab4-f39f-4b48-aa57-a759ec15ba3d Replit-Commit-Checkpoint-Type: intermediate_checkpoint
This commit is contained in:
1 parent
cf0302936d
commit
4496a7ff58
1 file changed
+12
@@ -177,6 +177,18 @@ export const invoiceVerificationCache = pgTable("invoice_verification_cache", {
|
||||
updatedAt: timestamp("updated_at").defaultNow(),
|
||||
});
|
||||
|
||||
// Commentaires de rapprochement - Système indépendant pour le module de rapprochement
|
||||
export const reconciliationComments = pgTable("reconciliation_comments", {
|
||||
id: serial("id").primaryKey(),
|
||||
deliveryId: integer("delivery_id").notNull(), // Référence vers la livraison concernée
|
||||
groupId: integer("group_id").notNull(), // Magasin/groupe pour filtrage
|
||||
content: text("content").notNull(), // Contenu du commentaire
|
||||
type: varchar("type", { length: 50 }).notNull().default("info"), // info, warning, error, success
|
||||
authorId: varchar("author_id").notNull(), // Utilisateur auteur du commentaire
|
||||
createdAt: timestamp("created_at").defaultNow(),
|
||||
updatedAt: timestamp("updated_at").defaultNow(),
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user