Overview
Summary
Contact
Donate
Imprint
Prompt for the
CustomerOrderView
Please create a React-JS view called "CustomerOrderView" for the fields of the CustomerOrder entity. The CustomerOrderView must contain the following fields: - name: Customer type: Customer - name: DeliveryAddress type: CustomerAddress - name: DeliveryFee type: STRING - name: DiscountAmount type: STRING - name: LoyaltyCard type: LONG - name: Notes type: STRING - name: OrderDateTime type: DATE - name: OrderNumber type: STRING - name: OrderType type: STRING - name: PaymentFee type: STRING - name: PaymentMethod type: PaymentMethod - name: Restaurant type: Restaurant - name: ScheduledDateTime type: DATE - name: Status type: STRING - name: SubtotalAmount type: STRING - name: TotalAmount type: STRING The data source for the [Restaurant] select control should be loaded from the relative URL: "/RestaurantService/restaurant" (HTTP-GET) The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) The data source for the [DeliveryAddress] select control should be loaded from the relative URL: "/CustomerService/customeraddress" (HTTP-GET) The data source for the [PaymentMethod] select control should be loaded from the relative URL: "/PaymentMethodService/paymentmethod" (HTTP-GET) An existing CustomerOrder entity should be loaded from the relative URL: "/PaymentMethodService/customerorder/{id}" (HTTP-GET) If a new CustomerOrder entity has been created, the new entity should be posted to the relative URL: "/PaymentMethodService/customerorder" (HTTP-POST) If an existing CustomerOrder entity has been updated, the modified entity should be sent to the relative URL: "/PaymentMethodService/customerorder/{id}" (HTTP-PUT) If an existing CustomerOrder entity has to be deleted, the following relative URL should be called: "/PaymentMethodService/customerorder/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint