实现报销费用政策与票据明细门禁(08-29-reimbursement-expense-policy-invoice-guard)
这个提交包含在:
@@ -4,6 +4,7 @@ const FEATURE_FLAG_KEYS = {
|
||||
invoiceVerification: "invoice_verification",
|
||||
leaveHolidayCalendar: "leave_holiday_calendar",
|
||||
budgetPrecheck: "budget_precheck_v1",
|
||||
reimbursementInvoiceGuard: "reimbursement_invoice_guard_v1",
|
||||
paymentBatch: "payment_batch_v1",
|
||||
portalHome: "portal_home_v1",
|
||||
globalSearch: "global_search_v1",
|
||||
@@ -98,6 +99,10 @@ function resolveEnvGate(config, flagKey) {
|
||||
return Boolean(config.budgetPrecheckEnabled);
|
||||
}
|
||||
|
||||
if (flagKey === FEATURE_FLAG_KEYS.reimbursementInvoiceGuard) {
|
||||
return Boolean(config.reimbursementInvoiceGuardEnabled);
|
||||
}
|
||||
|
||||
if (flagKey === FEATURE_FLAG_KEYS.paymentBatch) {
|
||||
return Boolean(config.paymentBatchEnabled);
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户