feat: add remark field

This commit is contained in:
Methapon Metanipat 2024-10-18 11:03:29 +07:00
parent 1d1f5ec90a
commit 1268922fe1
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Quotation" ADD COLUMN "remark" TEXT;

View file

@ -1103,6 +1103,8 @@ model Quotation {
quotationStatus QuotationStatus @default(PaymentPending)
quotationPaymentData QuotationPayment[]
remark String?
code String
workName String

View file

@ -28,6 +28,7 @@ import { precisionRound } from "../utils/arithmetic";
type QuotationCreate = {
registeredBranchId: string;
status?: Status;
remark?: string;
workName: string;
contactName: string;
@ -79,6 +80,7 @@ type QuotationCreate = {
type QuotationUpdate = {
registeredBranchId?: string;
status?: "ACTIVE" | "INACTIVE";
remark?: string;
workName?: string;
contactName?: string;