web-app-demos/apps/reporter/reports/orders_by_location.toml
2025-03-17 16:11:01 -06:00

88 lines
No EOL
1.6 KiB
TOML

title = "Orders by Customer Location"
description = "List of orders shipped to cities or countries."
group_by = 0
[[columns]]
name = "Location"
[[columns]]
name = "Customer"
[[columns]]
name = "Order #"
[[columns]]
name = "Order Date"
[[columns]]
name = "Value"
footer = "sum"
format = "$"
[[options]]
name = "Location"
group = "location"
[[options.controls]]
type = "option"
label = "Country - City"
key = "city"
default = "checked"
[[options.controls]]
type = "option"
label = "Country"
key = "country"
[[options]]
name = "Order Date"
group = "date"
[[options.controls]]
type = "date"
label = "From"
key = "from"
default = "1996-07-04"
[[options.controls]]
type = "date"
label = "To"
key = "to"
default = "1997-02-12"
[[options]]
name = "Product Category"
group = "category"
helper = "checkbox"
[[options.controls]]
type = "checkbox"
label = "Beverages"
key = "1"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Condiments"
key = "2"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Confections"
key = "3"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Dairy Products"
key = "4"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Grains/Cereals"
key = "5"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Meat/Poultry"
key = "6"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Produce"
key = "7"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Seafood"
key = "8"
default = "checked"