Fix typo in acq code to allow quick PO creation

When using 'Actions for this Record'->'View/Place Orders', the
'Create Purchase Order' button dies due to an undefined variable,
'filter'.

Looking at the commit which caused the problem, it seems like this
variable should have been 'state'.  Simple testing bears this out.

Original change was part of:
LP1193095 lineitem batch actions sanity filters

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berick@esilibrary.com>