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_rechnungen/order_view.phtml | 18 ++++++------ views/mods/mod_rechnungen/settings_edit.phtml | 40 +++++++++++++++++---------- 2 files changed, 35 insertions(+), 23 deletions(-) (limited to 'views/mods/mod_rechnungen') 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']); ?> + +

+ +