LP1174498: Use Staff home_ou for grocery payment_ou
authorJason Boyer <JBoyer@eoli.info>
Thu, 30 Apr 2020 20:36:07 +0000 (16:36 -0400)
committerJason Boyer <JBoyer@eoli.info>
Thu, 30 Apr 2020 20:41:52 +0000 (16:41 -0400)
commitf40f5ddaf1efb4e26167d7527f9e0726dce6d9e4
tree277528282868c72dccfa61cd8b3420f7f1191031
parentf597270f9ee6f86c04085e7b2f0e70e81b382f50
LP1174498: Use Staff home_ou for grocery payment_ou

Odds are if the staff home_ou differs from the billing_location,
odds are that's where the payment was taken.

Also clean up debug comments.

Signed-off-by: Jason Boyer <JBoyer@eoli.info>
Open-ILS/src/sql/Pg/upgrade/XXXX.money.materialized_payment_by_billing_type.sql