refactor: add type
This commit is contained in:
parent
d771345179
commit
d5dec2aa49
1 changed files with 15 additions and 1 deletions
|
|
@ -1,7 +1,11 @@
|
||||||
import { CustomerType } from '../customer/types';
|
import { CustomerType } from '../customer/types';
|
||||||
|
import { District, Province, SubDistrict } from '../address';
|
||||||
import { CreatedBy, Status, UpdatedBy } from '../types';
|
import { CreatedBy, Status, UpdatedBy } from '../types';
|
||||||
|
|
||||||
type CustomerBranchRelation = {
|
export type CustomerBranchRelation = {
|
||||||
|
district: District;
|
||||||
|
province: Province;
|
||||||
|
subDistrict: SubDistrict;
|
||||||
customer: {
|
customer: {
|
||||||
registeredBranchId: string;
|
registeredBranchId: string;
|
||||||
selectedImage: string | null;
|
selectedImage: string | null;
|
||||||
|
|
@ -350,3 +354,13 @@ export type QuotationPaymentData = {
|
||||||
date: string;
|
date: string;
|
||||||
id: string;
|
id: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type Details = {
|
||||||
|
code: string;
|
||||||
|
createdAt: Date;
|
||||||
|
createdBy: string;
|
||||||
|
payCondition: string;
|
||||||
|
contactName: string;
|
||||||
|
contactTel: string;
|
||||||
|
workName: string;
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue