Overview
Summary
Contact
Donate
Imprint
Prompt for the
MenuItemOptionView
Please create a React-JS view called "MenuItemOptionView" for the fields of the MenuItemOption entity. The MenuItemOptionView must contain the following fields: - name: Description type: STRING - name: IsDefault type: BOOL - name: MaximumPerItem type: LONG - name: MenuItemOptionGroup type: MenuItemOptionGroup - name: Name type: STRING - name: PriceDelta type: STRING - name: SortOrder type: LONG The data source for the [MenuItemOptionGroup] select control should be loaded from the relative URL: "/MenuItemOptionService/menuitemoptiongroup" (HTTP-GET) An existing MenuItemOption entity should be loaded from the relative URL: "/MenuItemOptionService/menuitemoption/{id}" (HTTP-GET) If a new MenuItemOption entity has been created, the new entity should be posted to the relative URL: "/MenuItemOptionService/menuitemoption" (HTTP-POST) If an existing MenuItemOption entity has been updated, the modified entity should be sent to the relative URL: "/MenuItemOptionService/menuitemoption/{id}" (HTTP-PUT) If an existing MenuItemOption entity has to be deleted, the following relative URL should be called: "/MenuItemOptionService/menuitemoption/{id}" (HTTP-DELETE) Add a HTML table to the view with the following OrderItemOption columns: - column: PriceDelta - column: OrderItem - column: MenuItemOption - column: TotalPrice - column: OptionNameCopy - column: Quantity The table should have the title "OrderItemOptions" und the data must be loaded from the server with the following relative URL: "/MenuItemService/orderitemoption/menuitemoption/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint