mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Freeze report type string in Order and Fulfillment reports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module OpenFoodNetwork
|
||||
class OrdersAndFulfillmentsReport
|
||||
class CustomerTotalsReport
|
||||
REPORT_TYPE = "order_cycle_customer_totals"
|
||||
REPORT_TYPE = "order_cycle_customer_totals".freeze
|
||||
|
||||
attr_reader :context
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module OpenFoodNetwork
|
||||
class OrdersAndFulfillmentsReport
|
||||
class DistributorTotalsBySupplierReport
|
||||
REPORT_TYPE = "order_cycle_distributor_totals_by_supplier"
|
||||
REPORT_TYPE = "order_cycle_distributor_totals_by_supplier".freeze
|
||||
|
||||
attr_reader :context
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module OpenFoodNetwork
|
||||
class OrdersAndFulfillmentsReport
|
||||
class SupplierTotalsByDistributorReport
|
||||
REPORT_TYPE = "order_cycle_supplier_totals_by_distributor"
|
||||
REPORT_TYPE = "order_cycle_supplier_totals_by_distributor".freeze
|
||||
|
||||
attr_reader :context
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module OpenFoodNetwork
|
||||
class OrdersAndFulfillmentsReport
|
||||
class SupplierTotalsReport
|
||||
REPORT_TYPE = "order_cycle_supplier_totals"
|
||||
REPORT_TYPE = "order_cycle_supplier_totals".freeze
|
||||
|
||||
attr_reader :context
|
||||
|
||||
|
||||
Reference in New Issue
Block a user