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
|
|
@ -917,6 +917,9 @@ export default {
|
|||
code: 'Agencies Code',
|
||||
group: 'Agencies Group',
|
||||
name: 'Agencies Name',
|
||||
contactName: 'Contact Name',
|
||||
contactTel: 'Contact Telephone',
|
||||
bankInfo: 'Bank Information',
|
||||
},
|
||||
|
||||
requestList: {
|
||||
|
|
|
|||
|
|
@ -908,6 +908,9 @@ export default {
|
|||
code: 'รหัสหน่วยงาน',
|
||||
group: 'กลุ่มหน่วยงาน',
|
||||
name: 'ชื่อหน่วยงาน',
|
||||
contactName: 'ชื่อผู้ติดต่อ',
|
||||
contactTel: 'เบอร์โทรผู้ติดต่อ',
|
||||
bankInfo: 'ข้อมูลธนาคาร',
|
||||
},
|
||||
|
||||
requestList: {
|
||||
|
|
|
|||
|
|
@ -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