Duplicate Bill / Templates #7

Closed
opened 2026-05-16 10:13:21 -05:00 by null · 0 comments
Owner

Already implemented in v0.28.0.

Duplicate Bill:

  • POST /api/bills/:id/duplicate — clones a bill with (Copy) suffix, supports overrides
  • handleDuplicateBill() in BillsPage opens modal prefilled from source bill
  • onDuplicate prop on BillModal for one-click duplication

Templates:

  • 4 built-in templates: Utility, Credit Card, Subscription, Loan
  • bill_templates table with full CRUD (GET/POST/DELETE /api/bills/templates)
  • "Use template" dropdown in BillsPage merging built-in + user-saved templates
  • handleTemplateSelect() opens modal prefilled from template data

Files: routes/bills.js, client/pages/BillsPage.jsx, client/api.js, client/lib/billDrafts.js

**Already implemented in v0.28.0.** **Duplicate Bill:** - POST /api/bills/:id/duplicate — clones a bill with (Copy) suffix, supports overrides - handleDuplicateBill() in BillsPage opens modal prefilled from source bill - onDuplicate prop on BillModal for one-click duplication **Templates:** - 4 built-in templates: Utility, Credit Card, Subscription, Loan - bill_templates table with full CRUD (GET/POST/DELETE /api/bills/templates) - "Use template" dropdown in BillsPage merging built-in + user-saved templates - handleTemplateSelect() opens modal prefilled from template data Files: routes/bills.js, client/pages/BillsPage.jsx, client/api.js, client/lib/billDrafts.js
null added the
priority:medium
frontend
feature
labels 2026-05-16 10:13:21 -05:00
null closed this issue 2026-05-16 14:50:08 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: null/BillTracker#7
No description provided.