Overview
Summary
Contact
Donate
Imprint
Prompt for the
GiftVoucherView
Please create a React-JS view called "GiftVoucherView" for the fields of the GiftVoucher entity. The GiftVoucherView must contain the following fields: - name: Code type: STRING - name: Currency type: STRING - name: ExpiryDate type: DATE - name: IsRedeemed type: BOOL - name: IssueDate type: DATE - name: PurchaserCustomer type: Customer - name: ValueAmount type: STRING The data source for the [PurchaserCustomer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) An existing GiftVoucher entity should be loaded from the relative URL: "/GiftVoucherService/giftvoucher/{id}" (HTTP-GET) If a new GiftVoucher entity has been created, the new entity should be posted to the relative URL: "/GiftVoucherService/giftvoucher" (HTTP-POST) If an existing GiftVoucher entity has been updated, the modified entity should be sent to the relative URL: "/GiftVoucherService/giftvoucher/{id}" (HTTP-PUT) If an existing GiftVoucher entity has to be deleted, the following relative URL should be called: "/GiftVoucherService/giftvoucher/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GiftRedemption columns: - column: RedemptionDate - column: Currency - column: AmountApplied - column: GiftVoucher - column: Booking The table should have the title "GiftRedemptions" und the data must be loaded from the server with the following relative URL: "/GiftVoucherService/giftredemption/giftvoucher/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint