Add a way to search confirmed and paid sales

This adds a way to search for confirmed and paid sales in the sales app.
Cherrypicked from master

Change-Id: I3bc3fc0f6871130b8e2ef7b855d39e60bfd3530d