refactor: add contact information and bank details to institution types and translations
This commit is contained in:
parent
f22a7e09b3
commit
ace3af2a4b
3 changed files with 17 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { District, Province, SubDistrict } from '../address';
|
||||
import { BankBook } from '../branch/types';
|
||||
import { Status } from '../types';
|
||||
|
||||
export type Institution = {
|
||||
|
|
@ -25,6 +26,11 @@ export type Institution = {
|
|||
districtId: string;
|
||||
provinceId: string;
|
||||
status: Status;
|
||||
|
||||
contactName?: string | null;
|
||||
contactEmail?: string | null;
|
||||
contactTel?: string | null;
|
||||
bank: BankBook[];
|
||||
};
|
||||
|
||||
export type InstitutionPayload = {
|
||||
|
|
@ -34,6 +40,11 @@ export type InstitutionPayload = {
|
|||
group?: string;
|
||||
selectedImage?: string | null;
|
||||
|
||||
contactName?: string | null;
|
||||
contactEmail?: string | null;
|
||||
contactTel?: string | null;
|
||||
bank: BankBook[];
|
||||
|
||||
addressEN: string;
|
||||
address: string;
|
||||
soi?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue