修复 R7E 真机反馈回流与移动入口 WF8-11A R7E-16A R7E-16B BIZ8-12A
这个提交包含在:
@@ -607,12 +607,12 @@ async function portalRoutes(fastify) {
|
||||
select: { project_id: true },
|
||||
}).then((items) => items.length)
|
||||
: Promise.resolve(0),
|
||||
roleCapabilities.canUseFinance
|
||||
roleCapabilities.canUseFinance && featureEnabled.paymentBatch
|
||||
? fastify.prisma.paymentBatch.count({
|
||||
where: { status: { in: ["draft", "reviewed", "failed"] } },
|
||||
})
|
||||
: Promise.resolve(0),
|
||||
roleCapabilities.canUseFinance
|
||||
roleCapabilities.canUseFinance && featureEnabled.paymentBatch
|
||||
? fastify.prisma.paymentBatchItem.count({ where: { status: "failed" } })
|
||||
: Promise.resolve(0),
|
||||
buildRecentActivities(fastify.prisma),
|
||||
@@ -814,6 +814,7 @@ async function portalRoutes(fastify) {
|
||||
pendingBatchCount: pendingFinanceBatchCount,
|
||||
failedItemCount: failedFinanceItemCount,
|
||||
riskCount,
|
||||
paymentBatchEnabled: featureEnabled.paymentBatch,
|
||||
href: "/ap-operations",
|
||||
}
|
||||
: null,
|
||||
|
||||
在新工单中引用
屏蔽一个用户