feat: add block to ARB rate when trying multiroom booking
This commit is contained in:
committed by
Simon.Emanuelsson
parent
01e160db41
commit
3e0f503314
@@ -170,3 +170,12 @@ export enum PaymentCallbackStatusEnum {
|
||||
Error = "error",
|
||||
Cancel = "cancel",
|
||||
}
|
||||
|
||||
export function combineRegExps(regexps: RegExp[], flags = "") {
|
||||
return new RegExp(regexps.map((r) => r.source).join("|"), flags)
|
||||
}
|
||||
|
||||
export const rateTypeRegex = {
|
||||
ARB: /(^B[a-z]{3}\d{6}$)/,
|
||||
VOUCHER: /(^VO[0-9a-z]*$)/,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user