Skip to content

Clients invoice tab only shows 20 entries #1083

@pumpi

Description

@pumpi

If you have a client that have a lot of invoices, you can't view all his invoices in the client invoices tab because the client call always has a limit of 20 and no paging (https://github.com/InvoicePlane/InvoicePlane/blob/development/application/modules/clients/controllers/Clients.php#L211). You only can view this at invoices and search for the client name. If you have clients with similar names, this is harder to get.

Expected Behavior

Show all invoices from clients in the invoices tab

Current Behavior

Only 20 entries shown and there is no pagination on the result

Possible Solution

Add a Pagination to the clients tabs to paging the entries, or add a more link that refer to the invoices page with a search by client ID.

Steps to Reproduce

  1. Have a customer with more the 20 invoices
  2. Go to a client and open the invoices tab to see only the last 20 entries shown

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSupportIssue user is experiencing requires support attention

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions