feat: add account and remove asiapay

This commit is contained in:
LittleBoy 2024-07-31 21:39:13 +08:00
parent ea793165d7
commit d1382d762c
2 changed files with 7 additions and 16 deletions

View File

@ -106,8 +106,8 @@ const SearchForm: React.FC<SearchFormProps> = (props) => {
<Col xxl={6} xl={6} md={8}> <Col xxl={6} xl={6} md={8}>
<Form.Select showClear field="payment_channel" label={t('bill.title_pay_channel')} <Form.Select showClear field="payment_channel" label={t('bill.title_pay_channel')}
placeholder={t('base.please_select')} style={{width: '100%'}}> placeholder={t('base.please_select')} style={{width: '100%'}}>
<Form.Select.Option value="ASIAPAY">ASIAPAY</Form.Select.Option>
<Form.Select.Option value="FLYWIRE">FLYWIRE</Form.Select.Option> <Form.Select.Option value="FLYWIRE">FLYWIRE</Form.Select.Option>
<Form.Select.Option value="CBP">CBP</Form.Select.Option>
<Form.Select.Option value="PPS">PPS</Form.Select.Option> <Form.Select.Option value="PPS">PPS</Form.Select.Option>
</Form.Select> </Form.Select>
</Col> </Col>

View File

@ -5,24 +5,15 @@ const RoleConfig: { [key: string]: UserRole } = {
} }
/* /*
11. : ETSO: 超级管理员michaeldingkennytan
- RO: Kitty RO kittyho, tlhoo, fredacheng
- FO 1: Cecilia, Zoe, Jacko FO2ancuscheng
- FO 2: 现场支付和查询账单Ancus FOceciliachansylamjackoyeung
- STAFF: 现场支付
ETSO: 超级管理员michaeldingkennytan
RO kittyho
FO2ancuscheng
FO ceciliachan sylam jackoyeung
STAFF: 现场支付
*/ */
const UserRoles: { [key: string]: string[] } = { const UserRoles: { [key: string]: string[] } = {
'root': ['michaelding', 'kennytan','itsotest010'], 'root': ['michaelding', 'kennytan','itsotest010'],
'ro': ['kittyho', 'ancuscheng'], 'ro': ['kittyho', 'ancuscheng','tlhoo','fredacheng'],
'fo': ['ceciliachan', 'sylam', 'jackoyeung'], 'fo': ['ceciliachan', 'sylam', 'jackoyeung'],
} }