mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-20 05:28:22 +02:00
feat: implement BAP webhook configuration management and customer order tracking support
This commit is contained in:
1 parent
576db2d7f4
commit
55191c511b
6 files changed
+208
-21
No files matched your search
+3
-1
@@ -1848,11 +1848,13 @@ export class DatabaseStorage implements IStorage {
|
||||
}));
|
||||
}
|
||||
|
||||
async markClientCalled(customerOrderId: number, calledBy: string): Promise<CustomerOrder> {
|
||||
async markClientCalled(customerOrderId: number, calledBy: string, comment?: string): Promise<CustomerOrder> {
|
||||
const [updated] = await db
|
||||
.update(customerOrders)
|
||||
.set({
|
||||
customerNotified: true,
|
||||
notifiedAt: new Date(),
|
||||
notifiedComment: comment || null,
|
||||
updatedAt: new Date()
|
||||
})
|
||||
.where(eq(customerOrders.id, customerOrderId))
|
||||
|
||||
Reference in new issue
Block a user