Danncode10 / Danncode10/DannFlow

[P4.3] Deliver minimum correction flow

Open
#51 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
0
Avg merge
22h 25m
Merged PRs (30d)
15

Description

- **Goal:** Provide the MVP correction path for billing mistakes.
- **Dependencies:** [P4.2].
- **Acceptance criteria:** Original payments are never edited or deleted; correction reason, actor, time, amount, and linked payment are retained; invoice status reflects corrections.

---

Source: MASTERPLAN.md — [P4.3]

MVP consolidation: Supersedes [P4.5], [P4.6] from the pre-trim plan.

Guardrails: Follow PROJECT_CONTEXT.md, keep Supabase queries and business logic in src/services/, use generated types, and preserve RLS on every exposed table.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read PROJECT_CONTEXT.md and the P4.2 dependency first, then inspect the existing services under src/services and the generated types. Trace the current payment and invoice flows before defining the correction path; done means corrections retain their reason, actor, time, amount, and linked payment, leave original payments unchanged, update invoice status, and preserve RLS.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, supabase, typescript
Domain
backend-api-design, database, payments
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.