Requirement
Add the option to search by Invoice number on the purchase history page
Our Solution
On the purchase history page currently, we have the option to search by the sales order number.
In order to add the option to search by invoice number
We can have 2 options.
1. Use the same input field to search by sales order number and invoice number and update the functionalities.
2. Use a new field to search by the invoice number and do the functionalities.
When created a saved search of sales orders the Billing Transaction column will either show: Invoice # X or Cash Sale # X.
Based on the Invoice number typed on the search field the corresponding sales order results can be displayed on the purchase history page