Overview
Summary
Contact
Donate
Imprint
Prompt for the
PaymentMethodView
Please create a React-JS view called "PaymentMethodView" for the fields of the PaymentMethod entity. The PaymentMethodView must contain the following fields: - name: Description type: STRING - name: IsActive type: BOOL - name: IsOnline type: BOOL - name: Name type: STRING An existing PaymentMethod entity should be loaded from the relative URL: "/PaymentMethodService/paymentmethod/{id}" (HTTP-GET) If a new PaymentMethod entity has been created, the new entity should be posted to the relative URL: "/PaymentMethodService/paymentmethod" (HTTP-POST) If an existing PaymentMethod entity has been updated, the modified entity should be sent to the relative URL: "/PaymentMethodService/paymentmethod/{id}" (HTTP-PUT) If an existing PaymentMethod entity has to be deleted, the following relative URL should be called: "/PaymentMethodService/paymentmethod/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CustomerOrder columns: - column: Notes - column: DeliveryAddress - column: Customer - column: PaymentFee - column: OrderNumber - column: OrderType - column: PaymentMethod - column: TotalAmount - column: Restaurant - column: LoyaltyCard - column: DeliveryFee - column: OrderDateTime - column: SubtotalAmount - column: ScheduledDateTime - column: DiscountAmount - column: Status The table should have the title "CustomerOrders" und the data must be loaded from the server with the following relative URL: "/PaymentMethodService/customerorder/paymentmethod/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint