Add functionality to mark delivery controls as validated

Introduces a new API endpoint and UI elements to allow users to mark delivery controls as validated, including associated badges and mutation logic.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/Q8UjAXl
This commit is contained in:
michaelschal committed 2025-09-30 09:19:41 +00:00
1 parent 51e04fa9a1
commit b73f9f25d1
3 files changed
+74 -2

No files matched your search

+1
View File
@@ -124,6 +124,7 @@ export interface IStorage {
updateDelivery(id: number, delivery: Partial<InsertDelivery>): Promise<Delivery>;
deleteDelivery(id: number): Promise<void>;
validateDelivery(id: number, blData?: { blNumber: string; blAmount: number }): Promise<void>;
markDeliveryControlValidated(id: number, userId: string): Promise<void>;
// User-Group operations
getUserGroups(userId: string): Promise<UserGroup[]>;