feat: add more status
This commit is contained in:
parent
1e8453e99f
commit
43d78e7db8
2 changed files with 7 additions and 1 deletions
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- AlterEnum
|
||||||
|
ALTER TYPE "QuotationStatus" ADD VALUE 'Issued';
|
||||||
|
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Quotation" ALTER COLUMN "quotationStatus" SET DEFAULT 'Issued';
|
||||||
|
|
@ -1083,6 +1083,7 @@ model WorkProduct {
|
||||||
}
|
}
|
||||||
|
|
||||||
enum QuotationStatus {
|
enum QuotationStatus {
|
||||||
|
Issued
|
||||||
Accepted
|
Accepted
|
||||||
Invoice
|
Invoice
|
||||||
PaymentPending
|
PaymentPending
|
||||||
|
|
@ -1111,7 +1112,7 @@ model Quotation {
|
||||||
status Status @default(CREATED)
|
status Status @default(CREATED)
|
||||||
statusOrder Int @default(0)
|
statusOrder Int @default(0)
|
||||||
|
|
||||||
quotationStatus QuotationStatus @default(PaymentPending)
|
quotationStatus QuotationStatus @default(Issued)
|
||||||
|
|
||||||
remark String?
|
remark String?
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue