Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EinsatzLeistungView
Please create a React-JS view called "EinsatzLeistungView" for the fields of the EinsatzLeistung entity. The EinsatzLeistungView must contain the following fields: - name: Einsatz type: Einsatz - name: GeplanteDauerMinuten type: LONG - name: IstTeilweise type: BOOL - name: LeistungskatalogEintrag type: LeistungskatalogEintrag - name: Menge type: STRING - name: Notiz type: STRING - name: TatsaechlicheDauerMinuten type: LONG The data source for the [Einsatz] select control should be loaded from the relative URL: "/MitarbeiterService/einsatz" (HTTP-GET) The data source for the [LeistungskatalogEintrag] select control should be loaded from the relative URL: "/PflegedienstService/leistungskatalogeintrag" (HTTP-GET) An existing EinsatzLeistung entity should be loaded from the relative URL: "/EinsatzLeistungService/einsatzleistung/{id}" (HTTP-GET) If a new EinsatzLeistung entity has been created, the new entity should be posted to the relative URL: "/EinsatzLeistungService/einsatzleistung" (HTTP-POST) If an existing EinsatzLeistung entity has been updated, the modified entity should be sent to the relative URL: "/EinsatzLeistungService/einsatzleistung/{id}" (HTTP-PUT) If an existing EinsatzLeistung entity has to be deleted, the following relative URL should be called: "/EinsatzLeistungService/einsatzleistung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rechnungsposition columns: - column: Betrag - column: LeistungskatalogEintrag - column: Menge - column: Einzelpreis - column: EinsatzLeistung - column: Beschreibung - column: Rechnung The table should have the title "Rechnungspositions" und the data must be loaded from the server with the following relative URL: "/EinsatzLeistungService/rechnungsposition/einsatzleistung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum