feat: add quotation attachment

This commit is contained in:
Methapon Metanipat 2024-11-01 13:43:57 +07:00
parent 235d2020d7
commit 5296f6d6a4
3 changed files with 72 additions and 1 deletions

View file

@ -95,6 +95,8 @@ export const fileLocation = {
img: (serviceId: string, name?: string) => `service/img-${serviceId}/${name || ""}`,
},
quotation: {
attachment: (quotationId: string, name?: string) =>
`quotation/attachment-${quotationId}/${name || ""}`,
payment: (quotationId: string, paymentId: string, name?: string) =>
`quotation/payment-${quotationId}/${paymentId}/${name || ""}`,
},