diff --git a/Layout/default/Calendar/View.php b/Layout/default/Calendar/View.php index 8a5813aec..d590b86b6 100644 --- a/Layout/default/Calendar/View.php +++ b/Layout/default/Calendar/View.php @@ -34,6 +34,8 @@ endforeach; type="text/css"/> + + + + + + + + \ No newline at end of file diff --git a/Layout/default/ConstructionConsent/Index.php b/Layout/default/ConstructionConsent/Index.php index 4e79018ab..021e31990 100644 --- a/Layout/default/ConstructionConsent/Index.php +++ b/Layout/default/ConstructionConsent/Index.php @@ -112,6 +112,7 @@ $pagination_entity_name = "Zustimmungserklärungen"; Name Objekttyp Objektadresse + GST-Nr. @@ -137,7 +138,7 @@ $pagination_entity_name = "Zustimmungserklärungen"; adb_hausnummer->strasse->gemeinde->name?> -gstnr?> + gst?> ez?> owner_name?> diff --git a/Layout/default/Timerecording/Index.php b/Layout/default/Timerecording/Index.php index d4bbd8b9c..7a96f9097 100644 --- a/Layout/default/Timerecording/Index.php +++ b/Layout/default/Timerecording/Index.php @@ -95,6 +95,10 @@ $mindate = date("Y-m-d", strtotime("+ 1 Month", $closedmonth)); .holiday-text { color: #d70000; } + .height-unset + { + height: unset; + } @@ -314,16 +318,12 @@ $mindate = date("Y-m-d", strtotime("+ 1 Month", $closedmonth));
- +
- +
@@ -332,19 +332,32 @@ $mindate = date("Y-m-d", strtotime("+ 1 Month", $closedmonth));
-
-
+ +
+ + diff --git a/Layout/default/WarehouseOrder/PDF_HEADER.html b/Layout/default/WarehouseOrder/PDF_HEADER.html index 21802f9d5..2f38d21f9 100644 --- a/Layout/default/WarehouseOrder/PDF_HEADER.html +++ b/Layout/default/WarehouseOrder/PDF_HEADER.html @@ -17,10 +17,8 @@ } .customer-details { - vertical-align: bottom; + vertical-align: top; font-size: 14px; - padding-left: 30pt; - width: 35%; } .invoice-details { @@ -58,8 +56,8 @@ - - + -
-

Lieferant

+
+

{{ addressLine_header }}

{{ addressLine_1 }}
{{ addressLine_2 }}
{{ addressLine_3 }}
@@ -67,8 +65,15 @@
{{ externalReference }}
-

Rechnungsadresse

+
+

{{ shippingAddressLine_header }}

+
{{ shippingAddressLine_1 }}
+
{{ shippingAddressLine_2 }}
+
{{ shippingAddressLine_3 }}
+
{{ shippingAddressLine_4 }}
+
+

{{ billingAddressLine_header }}

{{ billingAddressLine_1 }}
{{ billingAddressLine_2 }}
{{ billingAddressLine_3 }}
@@ -76,12 +81,6 @@
{{ billingAddressLine_5 }}
{{ billingAddressLine_6 }}
-
{{ shippingAddressLine_1 }}
-
{{ shippingAddressLine_2 }}
-
{{ shippingAddressLine_3 }}
-
{{ shippingAddressLine_4 }}
-
diff --git a/Layout/default/WarehouseOrder/PDF_MAIN.php b/Layout/default/WarehouseOrder/PDF_MAIN.php index 144555322..4ad27fda0 100644 --- a/Layout/default/WarehouseOrder/PDF_MAIN.php +++ b/Layout/default/WarehouseOrder/PDF_MAIN.php @@ -6,13 +6,51 @@ * @var Array $textElements */ $this->setReturnValue(['filename' => $order["id"] . ".pdf"]); + + +$texts = [ + 'EN' => [ + 'header' => 'XINON Supplier Order from ' . date("d.m.Y", $order["create"]), + 'sum' => 'Sum', + 'vat' => '20% VAT', + 'total' => 'Total', + 'taxFree' => 'Please provide tax-free delivery according to § 6a UStG (Austrian Sales tax law).
Our VAT ID number: ATU68711968. Delivery to Austria.', + 'orderConfirmation' => 'Please send the order confirmation to office@xinon.at', + 'table' => [ + 'pos' => 'POS', + 'article' => 'Article', + 'articleNumber' => 'Dist. art. nr.', + 'amount' => 'Amount', + 'unitPrice' => 'Unit price', + 'totalPrice' => 'Total price' + ] + ], + 'DE' => [ + 'header' => 'XINON Lieferantenbestellung vom ' . date("d.m.Y", $order["create"]), + 'sum' => 'Summe', + 'vat' => '20% MwSt', + 'total' => 'Gesamt', + 'taxFree' => 'Bitte um steuerfreie Lieferung gemäß § 6a UStG.
Unsere UID-Nr.: ATU68711968. Lieferung nach Österreich.', + 'orderConfirmation' => 'Wir bitten um Zusendung der Auftragsbestätigung für die Bestellung an office@xinon.at.', + 'table' => [ + 'pos' => 'POS', + 'article' => 'Artikel', + 'articleNumber' => 'Art.-Nr. Lieferant', + 'amount' => 'Menge', + 'unitPrice' => 'Einzelpreis', + 'totalPrice' => 'Gesamtpreis' + ] +]]; + +$text = $texts[in_array($distributorCountryText, ["Österreich", "Deutschland", "Schweiz"]) ? "DE" : "EN"]; + ?> - Bestellung - + <?= $text['header'] ?> +