Order quantity total

Hi i am trying make a widget that can list all of the products in one line

For example,

There is
4 pickles
1 bread
1 mushy peas
1 salad
1 gravy
1 onion rings

I need something that will give me a total number of each product from the open tickets.
Something like this

Ordered Tickets:1,1]
>Menu Item|Quantity
{REPORT ORDER DETAILS:
O.MenuItemName,
O.Quantity.Sum:(OS.Status=Gönderildi)
:{0}|[=('{1}'+' ').substr(0,1)]}

Hi i tried and it worked when status is submitted but it does not work when i change it to Bar. Nothing appears in the list

Ordered Tickets:1,1]

Menu Item|Quantity
{REPORT ORDER DETAILS:
O.MenuItemName,
O.Quantity.Sum:(OS.Status=Bar)
:{0}|[=(’{1}’+’ ').substr(0,1)]}

Presentation_bhd6WUw337

Are you changing status state? Dont do that. Will screw up the flow.
Need to use custom states.

Thanks for your help , another problem is report is not refreshing