mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Simbolize keys in opts hash in xero report so that opts access works again
This commit is contained in:
@@ -4,6 +4,7 @@ module OpenFoodNetwork
|
||||
@user = user
|
||||
|
||||
@opts = opts.
|
||||
symbolize_keys.
|
||||
reject { |_k, v| v.blank? }.
|
||||
reverse_merge( report_type: 'summary',
|
||||
invoice_date: Time.zone.today,
|
||||
|
||||
Reference in New Issue
Block a user