Repository navigation
feat(people): add fee renewals and signed receipts - #100
Draft
viganogabriele wants to merge 1 commit into
Draft
viganogabriele wants to merge 1 commit into
viganogabriele wants to merge 1 commit into
Conversation
Members upload their transfer receipt in My area; admins with people:fees:write approve it, reject it with a reason, mark a fee paid by hand and send reminders from the Member register or the record. Approval issues a numbered receipt (2026/042) that the President downloads as a ZIP, signs with the CIE app and uploads back in the new People › Receipts section; files are matched by the number in their name, corrected by hand, and emailed to the member. The President's own receipt goes to the Vice-president. Receipts are never deleted, only voided. The contract gains FeeDetail, Receipt, fees on the record, fee instructions in My area, people.fees.*, people.receipts.* and two people.me.* procedures, with the provisional permissions people:fees:write and people:receipts:sign. Agent mode seeds fee years and receipts and renders the Italian receipt PDF and the ZIP to sign. docs/people/fees.md describes the flow, screens and PDF template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0153QstPiakqZmaaVgTaqdnj
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #97 (People): this PR targets its branch, so the diff shows only the fees and receipts work. Retarget to
mainonce #97 is merged.What it adds
The full membership renewal cycle on top of the People area:
people:fees:write), in People › Member register and the person record:2026/042, never reused) as an Italian A4 PDF.people:receipts:sign), in the new People › Receipts section:Code
people.contract.ts,docs/people/contract.md):FeeDetail,Receipt.feeson the record andfeeInstructionsin My area.people.fees.*,people.receipts.*,people.me.uploadTransferReceipt,people.me.receipt.people:fees:writeandpeople:receipts:sign, each with its own middleware.receipt-files.server.ts).P-0007is the President,P-0098the Vice-president,P-0045has a receipt to review,P-0021a rejected one.fee-dialogs.tsx,receipts-page.tsx,receipt-dialogs.tsx,my-fee-card.tsx./dashboard/people/receiptsand its nav section, with the to-sign count threaded through the shell.docs/people/fees.mdwith the flow, screens, permissions and PDF template.decisions.md,plan.md(phase 11),design.md§8, the README and AGENTS.md.Design decisions to confirm
Verification
pnpm check(0 errors),pnpm typecheck,pnpm test(59 pass, 11 new intests/people-fees.test.mjs) andpnpm buildall pass.pdftotextandunzip -t.Still for the backend
The real procedures, the officers' configuration, automatic reminders, signature verification and email delivery: see the "Fees and receipts" section of
contract.md.🤖 Generated with Claude Code
https://claude.ai/code/session_0153QstPiakqZmaaVgTaqdnj
Generated by Claude Code