Dashboard: add an "Invoices to pay" section for the client role

Đang mở
#19 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Speedable2 đang làm issue này rồi.

Từ ngày 21/11/2026.

  • #171 của @Speedable2 — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

difficulty: intermediate enhancement help wanted Stellar Wave ux web

Difficulty: Intermediate

Description

The dashboard only shows invoices where you are the freelancer (getInvoiceHistory is keyed by freelancer). A client who wants to see what they owe has to go to History and filter. InvoiceCard already supports role="client", but nothing uses it.

Implementation suggestions

Derive "To pay" from the scan (or from #30 if it lands). Show a card list with "Pay now" links and an overdue highlight. Include a count and total in the summary row.

Acceptance criteria

  • A wallet that is the client on N pending invoices sees them, with the total owed and a working Pay link.
  • Wallets with none see no empty clutter.

Dependencies / related

Works with the current scan (see #16). Becomes cheaper with #30 (client index). Share the overdue helper from #7.

Ngôn ngữ chính
TypeScript
Star
0
Fork
4
Merge trung bình
54 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Yormee-103/PayLoop

Tất cả issue của Yormee-103/PayLoop

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.