feat: add remark field
This commit is contained in:
parent
1d1f5ec90a
commit
1268922fe1
3 changed files with 6 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Quotation" ADD COLUMN "remark" TEXT;
|
||||||
|
|
@ -1103,6 +1103,8 @@ model Quotation {
|
||||||
quotationStatus QuotationStatus @default(PaymentPending)
|
quotationStatus QuotationStatus @default(PaymentPending)
|
||||||
quotationPaymentData QuotationPayment[]
|
quotationPaymentData QuotationPayment[]
|
||||||
|
|
||||||
|
remark String?
|
||||||
|
|
||||||
code String
|
code String
|
||||||
|
|
||||||
workName String
|
workName String
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ import { precisionRound } from "../utils/arithmetic";
|
||||||
type QuotationCreate = {
|
type QuotationCreate = {
|
||||||
registeredBranchId: string;
|
registeredBranchId: string;
|
||||||
status?: Status;
|
status?: Status;
|
||||||
|
remark?: string;
|
||||||
|
|
||||||
workName: string;
|
workName: string;
|
||||||
contactName: string;
|
contactName: string;
|
||||||
|
|
@ -79,6 +80,7 @@ type QuotationCreate = {
|
||||||
type QuotationUpdate = {
|
type QuotationUpdate = {
|
||||||
registeredBranchId?: string;
|
registeredBranchId?: string;
|
||||||
status?: "ACTIVE" | "INACTIVE";
|
status?: "ACTIVE" | "INACTIVE";
|
||||||
|
remark?: string;
|
||||||
|
|
||||||
workName?: string;
|
workName?: string;
|
||||||
contactName?: string;
|
contactName?: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue