feat: add slip upload endpoint

This commit is contained in:
Methapon2001 2025-01-13 11:00:13 +07:00
parent eca99dbcd1
commit f1312b586f
2 changed files with 43 additions and 1 deletions

View file

@ -113,6 +113,8 @@ export const fileLocation = {
attachment: (taskId: string, name?: string) => `task/attachment-${taskId}/${name || ""}`,
},
creditNote: {
attachment: (taskId: string, name?: string) => `credit-note/attachment-${taskId}/${name || ""}`,
slip: (creditNoteId: string, name?: string) => `credit-note/slip-${creditNoteId}/${name || ""}`,
attachment: (creditNoteId: string, name?: string) =>
`credit-note/attachment-${creditNoteId}/${name || ""}`,
},
};