Skip to content

Dashboard: Invoice PDF Preview & Send Flow #70

@0xdevcollins

Description

@0xdevcollins

Summary

Implement the invoice preview panel and the send-to-customer flow within the dashboard.

Requirements

  • PDF preview panel showing rendered invoice with merchant branding
  • Download PDF and Print buttons
  • Send flow:
    • "Send Invoice" button opens modal
    • Fields: recipient email (pre-filled), custom message
    • Confirmation step before sending
    • Success toast on send
  • Invoice detail view:
    • Full invoice data display
    • Activity timeline (created → sent → viewed → paid)
    • Payment details if paid (payment ID, method, date)
    • Actions: Edit (if draft), Send, Download, Cancel

Acceptance Criteria

  • PDF preview matches final PDF output
  • Send flow delivers email and updates status
  • Activity timeline shows all state changes
  • Toast notifications on success/error
  • Works on mobile (375px)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions