Skip to content

[People · Phase 2] Soci › Fees and the Socio card in My area #156

Description

@toto04

Goal

Fees for the Direttivo, and the Socio card in My area where every socio pays and sees their entry. Phase 2: #144. Design: docs/people/soci.md (#154). API: PoliNetworkOrg/backend#123. Builds on #155.

Pages

Soci › Fees (/dashboard/people/fees, soci:read; actions soci:write)

  • A fee-year menu, plus segments To review / Due / Paid / Exempt, with totals.
  • The panel shows the To review count, like Reports › Open.
  • Review (lg dialog, bottom sheet on phones):
    • The file (the shared PDF viewer, or the image), the declared transfer and earlier rejections.
    • Confirm, or Reject with a required reason. After 31 December, Reject warns that the socio lapses at the next run.
  • Mark as paid: date, method, note.

Register and socio page

  • This year's fee column and filter.
  • Fee history with files on the socio page.
  • Mark as paid there too.

Account › My area

  • A Socio card next to the People parts:
    • number, admitted on, status;
    • this year's fee: bank details with copy buttons and Upload transfer receipt while Due, the review state while uploaded, the last rejection reason;
    • past fees;
    • My details, with "Complete your details" while fields are missing.
  • A socio without a People record sees only this card, not the "ask HR" empty state.

Conventions

  • Remove the Receipts and My area fee-card mockups, receipts-page.tsx, my-fee-card.tsx and their mockup-data.ts entries.
  • Mutations through useServerFn, with router.invalidate({ sync: true }) afterwards; all listed in the security test.

Done when

  • Agent mode covers every fee state, a rejection, an exempt year, and a socio with and without a People record (AGENT_PERSON plus a socio pick).
  • Check, typecheck, tests and build pass. Pages checked at desktop and mobile widths, light and dark.

Activity

  1. added
    peoplePeople: Group Admins, Capo Admins, Teams, Soci and census (see the People roadmap)
    on Nov 9, 2026
  2. added theissue type on Nov 9, 2026
  3. coderabbitai commented on Nov 9, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #147 - refactor(people): disconnect Soci, fees, receipts and census, keeping them as mockups [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    peoplePeople: Group Admins, Capo Admins, Teams, Soci and census (see the People roadmap)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions