mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #8997 from LarsK1/v5-develop
Feature: Add new ZuGFerD standards
This commit is contained in:
commit
de2a5ef530
@ -56,6 +56,8 @@ class CreateEInvoice implements ShouldQueue
|
|||||||
|
|
||||||
switch ($e_invoice_type) {
|
switch ($e_invoice_type) {
|
||||||
case "EN16931":
|
case "EN16931":
|
||||||
|
case "XInvoice_3_0":
|
||||||
|
case "XInvoice_2_3":
|
||||||
case "XInvoice_2_2":
|
case "XInvoice_2_2":
|
||||||
case "XInvoice_2_1":
|
case "XInvoice_2_1":
|
||||||
case "XInvoice_2_0":
|
case "XInvoice_2_0":
|
||||||
|
@ -34,6 +34,8 @@ class ZugferdEInvoice extends AbstractService
|
|||||||
$profile = $client->getSetting('e_invoice_type');
|
$profile = $client->getSetting('e_invoice_type');
|
||||||
|
|
||||||
$profile = match ($profile) {
|
$profile = match ($profile) {
|
||||||
|
"XInvoice_3_0" => ZugferdProfiles::PROFILE_XRECHNUNG_3,
|
||||||
|
"XInvoice_2_3" => ZugferdProfiles::PROFILE_XRECHNUNG_2_3,
|
||||||
"XInvoice_2_2" => ZugferdProfiles::PROFILE_XRECHNUNG_2_2,
|
"XInvoice_2_2" => ZugferdProfiles::PROFILE_XRECHNUNG_2_2,
|
||||||
"XInvoice_2_1" => ZugferdProfiles::PROFILE_XRECHNUNG_2_1,
|
"XInvoice_2_1" => ZugferdProfiles::PROFILE_XRECHNUNG_2_1,
|
||||||
"XInvoice_2_0" => ZugferdProfiles::PROFILE_XRECHNUNG_2,
|
"XInvoice_2_0" => ZugferdProfiles::PROFILE_XRECHNUNG_2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user