Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RechnungView
Please create a React-JS view called "RechnungView" for the fields of the Rechnung entity. The RechnungView must contain the following fields: - name: AbrechnungszeitraumBis type: DATE - name: AbrechnungszeitraumVon type: DATE - name: Faelligkeitsdatum type: DATE - name: Gesamtbetrag type: STRING - name: Klient type: Klient - name: Pflegedienst type: Pflegedienst - name: Rechnungsdatum type: DATE - name: Rechnungsnummer type: STRING - name: Rechnungsstatus type: STRING - name: Versicherung type: Versicherung The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) The data source for the [Versicherung] select control should be loaded from the relative URL: "/VersicherungService/versicherung" (HTTP-GET) The data source for the [Klient] select control should be loaded from the relative URL: "/PflegedienstService/klient" (HTTP-GET) An existing Rechnung entity should be loaded from the relative URL: "/VersicherungService/rechnung/{id}" (HTTP-GET) If a new Rechnung entity has been created, the new entity should be posted to the relative URL: "/VersicherungService/rechnung" (HTTP-POST) If an existing Rechnung entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungService/rechnung/{id}" (HTTP-PUT) If an existing Rechnung entity has to be deleted, the following relative URL should be called: "/VersicherungService/rechnung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rechnungsposition columns: - column: EinsatzLeistung - column: LeistungskatalogEintrag - column: Rechnung - column: Einzelpreis - column: Menge - column: Betrag - column: Beschreibung The table should have the title "Rechnungspositions" und the data must be loaded from the server with the following relative URL: "/VersicherungService/rechnungsposition/rechnung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum