From ec55f3e4012a85bf4979ff8508517f9054dd35d3 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 16 Sep 2026 14:50:06 +0200 Subject: - SCSS Parser entfernt - Warenkorb/Kasse/Zusammenfassung "weite" Breite im Gutenberg - Inhalt der Seiten optional vor Shop-Inhalt oder danach - eRechnung PDF3/A Kompatibilität MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/mods/mod_kundenverwaltung/order.phtml | 2 +- views/mods/mod_paypalapi/overview_button.phtml | 2 +- views/mods/mod_rechnungen/order_view.phtml | 18 +++++----- views/mods/mod_rechnungen/settings_edit.phtml | 40 +++++++++++++++-------- views/mods/mod_revocation/ajaxDialogContent.phtml | 2 +- views/mods/mod_revocation/page_form.phtml | 2 +- 6 files changed, 39 insertions(+), 27 deletions(-) (limited to 'views/mods') diff --git a/views/mods/mod_kundenverwaltung/order.phtml b/views/mods/mod_kundenverwaltung/order.phtml index 7ddd365..8aa7f59 100644 --- a/views/mods/mod_kundenverwaltung/order.phtml +++ b/views/mods/mod_kundenverwaltung/order.phtml @@ -8,7 +8,7 @@ ?> -
+
writeFrontendMessage(); ?> diff --git a/views/mods/mod_paypalapi/overview_button.phtml b/views/mods/mod_paypalapi/overview_button.phtml index dfe5490..deef1cd 100644 --- a/views/mods/mod_paypalapi/overview_button.phtml +++ b/views/mods/mod_paypalapi/overview_button.phtml @@ -81,7 +81,7 @@ }, onError(err) { - get_option('wpsg_debugModus') === "1") { ?>console.error(err); + get_option('wpsg_debugModus') === "1") { ?>console.error(err); } }).render("#giropay-btn"); diff --git a/views/mods/mod_rechnungen/order_view.phtml b/views/mods/mod_rechnungen/order_view.phtml index 3020df2..6487bce 100644 --- a/views/mods/mod_rechnungen/order_view.phtml +++ b/views/mods/mod_rechnungen/order_view.phtml @@ -43,17 +43,17 @@ 'template_url': 'getRessourceURL('mods/mod_rechnungen/html/e_invoice_app.html'); ?>', 'default_profile': get_option('wpsg_mod_rechnungen_einvoice')); ?>, 'arProfile': ['label' => __('EN16931 Minimum', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_MINIMUM)], + 100 + ZugferdProfiles::PROFILE_EN16931 => ['label' => __('EN16931 Comfort (empfohlen)', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_EN16931)], 100 + ZugferdProfiles::PROFILE_BASIC => ['label' => __('EN16931 Basic', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_BASIC)], - 100 + ZugferdProfiles::PROFILE_BASICWL => ['label' => __('EN16931 Basic WL', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_BASICWL)], - 100 + ZugferdProfiles::PROFILE_EN16931 => ['label' => __('EN16931 Comfort', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_EN16931)], 100 + ZugferdProfiles::PROFILE_EXTENDED => ['label' => __('EN16931 Extended', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_EXTENDED)], - 100 + ZugferdProfiles::PROFILE_XRECHNUNG => ['label' => __('EN16931 XRechnung 1', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG)], - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2 => ['label' => __('EN16931 XRechnung 2', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2)], - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_1 => ['label' => __('EN16931 XRechnung 2.1', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2_1)], - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_2 => ['label' => __('EN16931 XRechnung 2.2', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2_2)], - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_3 => ['label' => __('EN16931 XRechnung 2.3', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2_3)], - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_3 => ['label' => __('EN16931 XRechnung 3', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_3)] + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_3 => ['label' => __('XRechnung 3 (für öffentliche Auftraggeber)', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_3)], + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_3 => ['label' => __('XRechnung 2.3', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2_3)], + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_2 => ['label' => __('XRechnung 2.2', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2_2)], + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_1 => ['label' => __('XRechnung 2.1', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2_1)], + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2 => ['label' => __('XRechnung 2', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG_2)], + 100 + ZugferdProfiles::PROFILE_XRECHNUNG => ['label' => __('XRechnung 1', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_XRECHNUNG)], + 100 + ZugferdProfiles::PROFILE_MINIMUM => ['label' => __('ZUGFeRD Minimum (keine gültige E-Rechnung)', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_MINIMUM)], + 100 + ZugferdProfiles::PROFILE_BASICWL => ['label' => __('ZUGFeRD Basic WL (keine gültige E-Rechnung)', 'wpsg'), 'url' => eInvoice::buildUrl($oInvoice->getId(), ZugferdProfiles::PROFILE_BASICWL)] ]); ?> }); diff --git a/views/mods/mod_rechnungen/settings_edit.phtml b/views/mods/mod_rechnungen/settings_edit.phtml index 73aa609..6ce5482 100644 --- a/views/mods/mod_rechnungen/settings_edit.phtml +++ b/views/mods/mod_rechnungen/settings_edit.phtml @@ -6,20 +6,26 @@ use horstoeko\zugferd\ZugferdProfiles; - $ArrZugferdProfile = [ - 0 => __('Keine E-Rechnungsdaten erzeugen', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_MINIMUM => __('EN16931 Minimum', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_BASIC => __('EN16931 Basic', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_BASICWL => __('EN16931 Basic WL', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_EN16931 => __('EN16931 Comfort', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_EXTENDED => __('EN16931 Extended', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_XRECHNUNG => __('EN16931 XRechnung 1', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2 => __('EN16931 XRechnung 2', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_1 => __('EN16931 XRechnung 2.1', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_2 => __('EN16931 XRechnung 2.2', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_3 => __('EN16931 XRechnung 2.3', 'wpsg'), - 100 + ZugferdProfiles::PROFILE_XRECHNUNG_3 => __('EN16931 XRechnung 3', 'wpsg'), - ] + /* + * Profile in zwei Gruppen: oben die Profile, die der Validator als E-Rechnung + * anerkennt, unten MINIMUM und BASIC WL. Diese beiden sind keine gültigen + * E-Rechnungen - der KoSIT-Validator findet für sie kein Prüfszenario und weist + * das Dokument als "Dokumenttyp unbekannt" zurück. + */ + $ArrZugferdProfile = [ + 0 => __('Keine E-Rechnungsdaten erzeugen', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_EN16931 => __('EN16931 Comfort (empfohlen)', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_BASIC => __('EN16931 Basic', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_EXTENDED => __('EN16931 Extended', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_3 => __('XRechnung 3 (für öffentliche Auftraggeber)', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_3 => __('XRechnung 2.3', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_2 => __('XRechnung 2.2', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2_1 => __('XRechnung 2.1', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_XRECHNUNG_2 => __('XRechnung 2', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_XRECHNUNG => __('XRechnung 1', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_MINIMUM => __('ZUGFeRD Minimum (nur Buchungshilfe, keine gültige E-Rechnung)', 'wpsg'), + 100 + ZugferdProfiles::PROFILE_BASICWL => __('ZUGFeRD Basic WL (ohne Positionen, keine gültige E-Rechnung)', 'wpsg'), + ] ?> @@ -202,6 +208,12 @@ get_option('wpsg_mod_rechnungen_einvoice'), ['help' => 'wpsg_mod_rechnungen_einvoice']); ?> + + get_option('wpsg_mod_rechnungen_cmyk_profile'), ['help' => 'wpsg_mod_rechnungen_cmyk_profile']); ?> + +

+ +

- Es gelten unsere getURL(wpsg_ShopController::URL_DATENSCHUTZ) . '">Datenschutzbestimmungen' ?> + Es gelten unsere getURL(wpsg_ShopController::URL_DATENSCHUTZ) . '">Datenschutzbestimmungen' ?>

\ No newline at end of file diff --git a/views/mods/mod_revocation/page_form.phtml b/views/mods/mod_revocation/page_form.phtml index 5640420..f3024b6 100644 --- a/views/mods/mod_revocation/page_form.phtml +++ b/views/mods/mod_revocation/page_form.phtml @@ -94,7 +94,7 @@

- . + .

-- cgit v1.2.3