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: AusgestelltAm type: DATE - name: CarsharingOrganisation type: CarsharingOrganisation - name: Gesamtbetrag type: STRING - name: Nutzer type: Nutzer - name: Rechnungsnummer type: STRING - name: Status type: STRING - name: ZeitraumEnde type: DATE - name: ZeitraumStart type: DATE The data source for the [CarsharingOrganisation] select control should be loaded from the relative URL: "/CarsharingOrganisationService/carsharingorganisation" (HTTP-GET) The data source for the [Nutzer] select control should be loaded from the relative URL: "/LandService/nutzer" (HTTP-GET) An existing Rechnung entity should be loaded from the relative URL: "/RechnungService/rechnung/{id}" (HTTP-GET) If a new Rechnung entity has been created, the new entity should be posted to the relative URL: "/RechnungService/rechnung" (HTTP-POST) If an existing Rechnung entity has been updated, the modified entity should be sent to the relative URL: "/RechnungService/rechnung/{id}" (HTTP-PUT) If an existing Rechnung entity has to be deleted, the following relative URL should be called: "/RechnungService/rechnung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rechnungsposition columns: - column: Rechnung - column: Beschreibung - column: Positionstyp - column: Referenztyp - column: Einzelpreis - column: Menge - column: Referenz - column: Gesamtbetrag The table should have the title "Rechnungspositions" und the data must be loaded from the server with the following relative URL: "/RechnungService/rechnungsposition/rechnung/{id}" Add a HTML table to the view with the following Zahlung columns: - column: BezahltAm - column: Transaktionsreferenz - column: Betrag - column: Zahlungsmethode - column: Rechnung - column: Status The table should have the title "Zahlungs" und the data must be loaded from the server with the following relative URL: "/RechnungService/zahlung/rechnung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum