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 { 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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue