refactor: store credit note value in database

This commit is contained in:
Methapon2001 2025-01-06 14:59:59 +07:00
parent 027bb49c2a
commit 53453e37db
2 changed files with 110 additions and 4 deletions

View file

@ -1584,6 +1584,8 @@ model CreditNote {
creditNoteStatus CreditNoteStatus @default(Pending)
value Float @default(0)
quotation Quotation @relation(fields: [quotationId], references: [id], onDelete: Cascade)
quotationId String