Skip to content

[HARD][DASHBOARD] Build driver repayment center with schedule, arrears, and progress tracking #44

@Obiajulu-gif

Description

@Obiajulu-gif

Overview

Build a full driver repayment center that helps drivers understand repayment obligations, progress toward ownership, arrears, due dates, and repayment history.

Problem

Drivers using ChainMove need a clear dashboard to track pay-to-own progress. The current experience should be expanded into a reliable repayment center that supports repayment schedules, missed/late payments, overpayments, and ownership completion progress.

Expected solution

Create a driver repayment dashboard with:

  • active contract summary
  • vehicle assigned to the driver
  • total contract amount
  • amount repaid
  • outstanding balance
  • next repayment due date
  • repayment schedule table
  • arrears/late payment status
  • overpayment handling display
  • repayment history
  • ownership progress indicator
  • empty state when no active contract exists

Backend considerations

If needed, add or improve APIs that calculate repayment status from contract and transaction data. Calculations should be consistent and not duplicated across frontend components.

Files likely involved

  • driver dashboard pages/components
  • repayment center UI
  • contract/vehicle models
  • transaction/payment models
  • repayment API routes
  • shared progress/table components

Acceptance criteria

  • Driver can see repayment status and ownership progress clearly.
  • Late/missed payments are displayed accurately.
  • Overpayments are handled or displayed safely.
  • Repayment history is shown in a table or timeline.
  • Empty, loading, and error states are implemented.
  • Data is scoped to the authenticated driver only.
  • npm run lint and npm run build pass.

Suggested labels

dashboard, driver, payments, backend, frontend, hard

Difficulty

Hard

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions