feat: 增强代理结算和账单管理功能
- 在多个控制器中引入 SettlementPartyEnrichment 服务,以优化代理结算和账单的处理逻辑。 - 更新 AgentSettlementBillIndexController 和 AgentSettlementBillShowController,支持根据账单 ID 和关键字进行查询。 - 在 AgentSettlementPeriodCloseController 中添加对站点管理权限的验证,确保只有具备相应权限的管理员能够关闭账期。 - 在 AgentSettlementPeriodIndexController 中更新账期数据的返回格式,提升数据的完整性和可用性。 - 引入对相对占成比例的支持,增强代理资料的管理能力,确保数据一致性。
This commit is contained in:
@@ -22,4 +22,12 @@ return [
|
||||
'cannot_create_child_agent' => 'You are not allowed to create sub-agents.',
|
||||
'cannot_create_player' => 'You are not allowed to create players.',
|
||||
'primary_account_missing' => 'This agent has no bound login account; username cannot be updated.',
|
||||
'agent_overdue' => 'This agent has overdue bills. This operation is not allowed.',
|
||||
'agent_line_severe_overdue' => 'This agent line has severe overdue (over 7 days). Betting is frozen.',
|
||||
'parent_overdue' => 'The parent agent has overdue bills. This operation is not allowed.',
|
||||
'period_already_open' => 'A period with this date range is already open. Close it instead of opening again.',
|
||||
'period_site_has_open' => 'This site already has an open period. Close it before opening a new one.',
|
||||
'period_not_found' => 'Settlement period not found or not accessible.',
|
||||
'period_already_closed' => 'This period is already closed.',
|
||||
'share_snapshot_missing' => 'Some ledger rows are missing share snapshots. Complete draw settlement first.',
|
||||
];
|
||||
|
||||
@@ -26,4 +26,12 @@ return [
|
||||
'cannot_create_player' => '当前账号无权创建玩家。',
|
||||
'primary_account_missing' => '该代理尚未绑定登录账号,无法修改登录名。',
|
||||
'site_root_exists' => '该接入站点已绑定一级代理,请选择其他站点。',
|
||||
'agent_overdue' => '该代理存在逾期未结账单,禁止此操作。',
|
||||
'agent_line_severe_overdue' => '该代理线路存在严重逾期(超过7天),已冻结下注。',
|
||||
'parent_overdue' => '上级代理存在逾期未结账单,禁止此操作。',
|
||||
'period_already_open' => '该时间范围的账期已在进行中,请直接关账,勿重复开期。',
|
||||
'period_site_has_open' => '本站已有进行中账期,请先关账后再开新账期。',
|
||||
'period_not_found' => '账期不存在或无权访问。',
|
||||
'period_already_closed' => '该账期已关账,请勿重复操作。',
|
||||
'share_snapshot_missing' => '账期内存在缺少占成快照的流水,无法关账。请先完成开奖结算或联系技术支持。',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user