refactor: add type

This commit is contained in:
Thanaphon Frappet 2024-10-18 16:23:02 +07:00
parent d771345179
commit d5dec2aa49

View file

@ -1,7 +1,11 @@
import { CustomerType } from '../customer/types';
import { District, Province, SubDistrict } from '../address';
import { CreatedBy, Status, UpdatedBy } from '../types';
type CustomerBranchRelation = {
export type CustomerBranchRelation = {
district: District;
province: Province;
subDistrict: SubDistrict;
customer: {
registeredBranchId: string;
selectedImage: string | null;
@ -350,3 +354,13 @@ export type QuotationPaymentData = {
date: string;
id: string;
};
export type Details = {
code: string;
createdAt: Date;
createdBy: string;
payCondition: string;
contactName: string;
contactTel: string;
workName: string;
};