public InvoiceList() {
setSortColumn("id"); // sets the default sort column
}
public String execute() {
DocumentStatus status = stStatus != null ? DocumentStatus.valueOf(stStatus) : null;
invoices = sort(invoiceManager.findInvoices(id, quotationId, description, date, company, contact, status, fromExpiration, toExpiration));
return "list";
}