feat(settlement): 合伙人账单生成后直接同步并支持打款凭证
去掉总部发送与合伙人确认,财务打款后上传凭证,合伙人即可查看状态。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -118,7 +118,7 @@ async function main() {
|
||||
},
|
||||
});
|
||||
|
||||
// ─── 2. 合伙人月账单(上月待确认 + 本月已打款样例)───
|
||||
// ─── 2. 合伙人月账单(上月未打款 + 更早已打款样例)───
|
||||
const partnerBillAwait = await prisma.partnerBill.upsert({
|
||||
where: {
|
||||
partnerAccountId_periodStart: {
|
||||
@@ -134,7 +134,7 @@ async function main() {
|
||||
orderCommission: 860,
|
||||
redeemCommission: 420,
|
||||
totalAmount: 1280,
|
||||
status: 'AWAITING_CONFIRM',
|
||||
status: 'UNPAID',
|
||||
sentAt: yesterday,
|
||||
},
|
||||
update: {
|
||||
@@ -142,7 +142,7 @@ async function main() {
|
||||
orderCommission: 860,
|
||||
redeemCommission: 420,
|
||||
totalAmount: 1280,
|
||||
status: 'AWAITING_CONFIRM',
|
||||
status: 'UNPAID',
|
||||
sentAt: yesterday,
|
||||
paidAt: null,
|
||||
rejectReason: null,
|
||||
|
||||
Reference in New Issue
Block a user