refactor: add contact information and bank details to institution types and translations

This commit is contained in:
puriphatt 2025-04-08 12:09:40 +07:00
parent f22a7e09b3
commit ace3af2a4b
3 changed files with 17 additions and 0 deletions

View file

@ -917,6 +917,9 @@ export default {
code: 'Agencies Code', code: 'Agencies Code',
group: 'Agencies Group', group: 'Agencies Group',
name: 'Agencies Name', name: 'Agencies Name',
contactName: 'Contact Name',
contactTel: 'Contact Telephone',
bankInfo: 'Bank Information',
}, },
requestList: { requestList: {

View file

@ -908,6 +908,9 @@ export default {
code: 'รหัสหน่วยงาน', code: 'รหัสหน่วยงาน',
group: 'กลุ่มหน่วยงาน', group: 'กลุ่มหน่วยงาน',
name: 'ชื่อหน่วยงาน', name: 'ชื่อหน่วยงาน',
contactName: 'ชื่อผู้ติดต่อ',
contactTel: 'เบอร์โทรผู้ติดต่อ',
bankInfo: 'ข้อมูลธนาคาร',
}, },
requestList: { requestList: {

View file

@ -1,4 +1,5 @@
import { District, Province, SubDistrict } from '../address'; import { District, Province, SubDistrict } from '../address';
import { BankBook } from '../branch/types';
import { Status } from '../types'; import { Status } from '../types';
export type Institution = { export type Institution = {
@ -25,6 +26,11 @@ export type Institution = {
districtId: string; districtId: string;
provinceId: string; provinceId: string;
status: Status; status: Status;
contactName?: string | null;
contactEmail?: string | null;
contactTel?: string | null;
bank: BankBook[];
}; };
export type InstitutionPayload = { export type InstitutionPayload = {
@ -34,6 +40,11 @@ export type InstitutionPayload = {
group?: string; group?: string;
selectedImage?: string | null; selectedImage?: string | null;
contactName?: string | null;
contactEmail?: string | null;
contactTel?: string | null;
bank: BankBook[];
addressEN: string; addressEN: string;
address: string; address: string;
soi?: string | null; soi?: string | null;