diff --git a/Layout/default/ConstructionConsent/Form.php b/Layout/default/ConstructionConsent/Form.php index b928d6c1a..80d2c0521 100644 --- a/Layout/default/ConstructionConsent/Form.php +++ b/Layout/default/ConstructionConsent/Form.php @@ -377,6 +377,18 @@ } + $("#kg").change(updateGstnr); + $("#gst").change(updateGstnr); + + function updateGstnr() { + let kg = $("#kg").val(); + let gst = $("#gst").val(); + + if(!kg || !gst) return; + + $("#gstnr").val(kg + gst); + } + \ No newline at end of file diff --git a/Layout/default/ConstructionConsent/View.php b/Layout/default/ConstructionConsent/View.php index 90dcccd95..b68115ca0 100644 --- a/Layout/default/ConstructionConsent/View.php +++ b/Layout/default/ConstructionConsent/View.php @@ -60,10 +60,10 @@ $pagination_entity_name = "Adressen"; adb_hausnummer->strasse->gemeinde->name?> - Anzahl Wohneinheiten + Wohneinheiten adb_hausnummer->unit_count?> - Anzahl Bestellungen + Bestellungen preorder_count?> @@ -159,6 +159,43 @@ $pagination_entity_name = "Adressen";
+
+
+

Ansprechpartner + Neuen Ansprechpartner hinzufügen +

+ + contacts) || !count($item->contacts)): ?> + Keine Ansprechpartner eingetragen + + + + + + + + + + + contacts as $type => $contacts): ?> + + + + + + + + + + + +
KontakttypNameTelefonFaxEmail
type, "consent")?>name?>phone?>fax?>email?> + + $contact->id])?>" onclick="if(!confirm('Ansprechpartner wirklich löschen?')) return false;" class="text-danger" title="Löschen"> +
+ +
+
@@ -196,12 +233,13 @@ $pagination_entity_name = "Adressen"; email?> - status, "consent")?> + status) ? __($owner->status, "consent") : ""?>
+
+ +
+
+ +
+
+

Journal

+ + +
+
+ + +
+
+ + + journal as $j): ?> + + + + + +
create)?> (creator?>) + text)?> +
+
+
+
+ +
+ +
+
+

History

+ +
+ + + + + + + + + history as $history): ?> + + + + + + + + +
ZeitpunktBenutzerFeldAlter WertNeuer Wert
create)?>creator->name?>getKey()?>getText("old")?>getText("new")?>
+
+
+
+
+
+ +
+