work on purchase table filters

Make the filter checkboxes work only on the table they are embedded in.

Now that there are multiple tables per page, the global filter action was no longer appropriate.