Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RechnungApp
Please create a React-JS application for the RechnungModule. The application has to offer the following views for the user interface: 1. RechnungView 2. RechnungsPositionView 3. ZahlungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The RechnungView must contain the following fields: - name: ErstelltAm type: DATE - name: FaelligAm type: DATE - name: GesamtBrutto type: DOUBLE - name: GesamtNetto type: DOUBLE - name: Notizen type: STRING - name: Patient type: Patient - name: RechnungsDatum type: DATE - name: RechnungsNummer type: STRING - name: Status type: STRING - name: SteuerBetrag type: DOUBLE - name: Versicherung type: Versicherung The data source for the [Versicherung] select control should be loaded from the relative URL: "/PatientService/versicherung" (HTTP-GET) The data source for the [Patient] select control should be loaded from the relative URL: "/PatientService/patient" (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 Zahlung columns: - column: ZahlungsDatum - column: Rechnung - column: TransaktionsReferenz - column: Notizen - column: ZahlungsMethode - column: Betrag 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}" Add a HTML table to the view with the following RechnungsPosition columns: - column: Beschreibung - column: SteuerSatz - column: Menge - column: BetragNetto - column: Leistung - column: EinzelPreis - column: Rechnung - column: BetragSteuer - column: BetragBrutto 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}" 2. The RechnungsPositionView must contain the following fields: - name: Beschreibung type: STRING - name: BetragBrutto type: DOUBLE - name: BetragNetto type: DOUBLE - name: BetragSteuer type: DOUBLE - name: EinzelPreis type: DOUBLE - name: Leistung type: Leistung - name: Menge type: DOUBLE - name: Rechnung type: Rechnung - name: SteuerSatz type: DOUBLE The data source for the [Rechnung] select control should be loaded from the relative URL: "/RechnungService/rechnung" (HTTP-GET) The data source for the [Leistung] select control should be loaded from the relative URL: "/LeistungService/leistung" (HTTP-GET) An existing RechnungsPosition entity should be loaded from the relative URL: "/RechnungService/rechnungsposition/{id}" (HTTP-GET) If a new RechnungsPosition entity has been created, the new entity should be posted to the relative URL: "/RechnungService/rechnungsposition" (HTTP-POST) If an existing RechnungsPosition entity has been updated, the modified entity should be sent to the relative URL: "/RechnungService/rechnungsposition/{id}" (HTTP-PUT) If an existing RechnungsPosition entity has to be deleted, the following relative URL should be called: "/RechnungService/rechnungsposition/{id}" (HTTP-DELETE) 3. The ZahlungView must contain the following fields: - name: Betrag type: DOUBLE - name: Notizen type: STRING - name: Rechnung type: Rechnung - name: TransaktionsReferenz type: STRING - name: ZahlungsDatum type: DATE - name: ZahlungsMethode type: STRING The data source for the [Rechnung] select control should be loaded from the relative URL: "/RechnungService/rechnung" (HTTP-GET) An existing Zahlung entity should be loaded from the relative URL: "/RechnungService/zahlung/{id}" (HTTP-GET) If a new Zahlung entity has been created, the new entity should be posted to the relative URL: "/RechnungService/zahlung" (HTTP-POST) If an existing Zahlung entity has been updated, the modified entity should be sent to the relative URL: "/RechnungService/zahlung/{id}" (HTTP-PUT) If an existing Zahlung entity has to be deleted, the following relative URL should be called: "/RechnungService/zahlung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum