fix: make remark accept null

This commit is contained in:
Methapon Metanipat 2024-10-18 14:04:55 +07:00
parent 7847a68df2
commit fd3366262f

View file

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