refactor: adjust field

This commit is contained in:
Methapon Metanipat 2024-10-15 09:42:16 +07:00
parent fdc72a7caf
commit a24bf4fb4b
5 changed files with 14 additions and 3 deletions

View file

@ -70,6 +70,7 @@ type ProductCreate = {
agentPrice: number;
serviceCharge: number;
vatIncluded?: boolean;
calcVat?: boolean;
expenseType?: string;
selectedImage?: string;
shared?: boolean;
@ -87,6 +88,7 @@ type ProductUpdate = {
serviceCharge?: number;
remark?: string;
vatIncluded?: boolean;
calcVat?: boolean;
expenseType?: string;
selectedImage?: string;
shared?: boolean;

View file

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