Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Allow allocating bulk payments to CE registrations

未关闭
#2,082 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
ruby
领域
backend, payments

调研方向

从 Events::BulkPaymentsController#allocate 和 bulk-payments 分配卡片开始,然后阅读 issue #2072 以了解现有的支付报告上下文。跟踪 allocated_cents_by_registration 和多态分配记录,以理解当前的 EventRegistration 路径。完成的标准是管理员可以选择一个 ContinuingEducationRegistration,将一部分 bulk payment 分配给它,并保留现有的注册费分配显示。

由索引模型根据 Issue 内容生成。

描述

🤖 From Claude:

Follow-up from #2072 (CE payments reporting).

Context: Bulk payments can currently only be allocated to EventRegistration records — Events::BulkPaymentsController#allocate looks up an EventRegistration and builds the allocation against it, and allocated_cents_by_registration is scoped to allocatable_type: "EventRegistration". CE fees are billed on ContinuingEducationRegistration and flow through the same polymorphic allocation system, so a bulk payment cannot presently be applied to a registrant's CE balance.

Ask: Let an admin allocate part of a bulk payment to a registrant's CE registration, not just their event registration. This needs UI work on the bulk-payments allocation card (a way to pick the CE registration as the allocation target) plus backend support in allocate.

Notes:

  • The "already allocated" figure shown per registration in the bulk-payments UI is intentionally registration-fee-scoped and should stay that way; CE allocations are tracked separately.
  • Deferred intentionally in #2072 because it isn't a small change (the allocate form only knows event registrations today).
主要语言
Ruby
星标
15
派生
28
平均合并
1 天 12 分钟
30 天内合并 PR
262

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rubyforgood/awbw 的其他 Issue

查看 rubyforgood/awbw 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。