feat: add payment for split

This commit is contained in:
Methapon Metanipat 2024-10-15 13:29:40 +07:00
parent ca6b1e74d0
commit 20b7e56a0d
4 changed files with 151 additions and 30 deletions

View file

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