feat: add more field for data store
This commit is contained in:
parent
a6f5cde21f
commit
66212b3b2d
2 changed files with 26 additions and 2 deletions
|
|
@ -1585,6 +1585,11 @@ enum CreditNoteStatus {
|
|||
Success
|
||||
}
|
||||
|
||||
enum CreditNotePaybackType {
|
||||
Cash
|
||||
BankTransfer
|
||||
}
|
||||
|
||||
model CreditNote {
|
||||
id String @id @default(cuid())
|
||||
|
||||
|
|
@ -1592,7 +1597,14 @@ model CreditNote {
|
|||
|
||||
creditNoteStatus CreditNoteStatus @default(Pending)
|
||||
|
||||
value Float @default(0)
|
||||
value Float @default(0)
|
||||
reason String?
|
||||
detail String?
|
||||
|
||||
paybackType CreditNotePaybackType?
|
||||
paybackBank String?
|
||||
paybackAccount String?
|
||||
paybackAccountName String?
|
||||
|
||||
quotation Quotation @relation(fields: [quotationId], references: [id], onDelete: Cascade)
|
||||
quotationId String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue