InvoiceFilters extends Filter
Invoice Filters
Table of Contents
Methods
| getFilters() | Gets a list of input fields for filtering invoices |
Methods
getFilters()
Gets a list of input fields for filtering invoices
public
getFilters(array<string|int, mixed> $options[, array<string|int, mixed> $vars = [] ]) : InputFields
Parameters
- $options : array<string|int, mixed>
-
A list of options for building the filters including:
- language The language for filter labels and tooltips
- company_id The company ID to filter currencies on
- $vars : array<string|int, mixed> = []
-
A list of submitted inputs that act as defaults for filter fields including:
- invoice_number The invoice ID on which to filter invoices
- currency The currency code on which to filter invoices
- invoice_line The (partial) description of the invoice line on which to filter invoices
Return values
InputFields —An object representing the list of filter input field