LP#
1198465 CircCommon fine generator repairs
* The latest fine generator uses ID-based transaction lookup.
Avoid calling ->to_fieldmapper on IDs.
* Consistent with the previous fine generator code, handle each circ,
reservation, etc. within its own transaction to avoid any long-running
transactions.
* cstore expects order_by's to be delineated by object class
* CStoreEditor requires all params that are passed through to cstore to
be contained within the first parameter to a search_*, etc. calls, so
wrap the query and order_by clauses in an array.
Without these changes, the fine generator would generate duplicate
billings when voided billings were present.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>