mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01: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) {
|
||||
case "EN16931":
|
||||
case "XInvoice_3_0":
|
||||
case "XInvoice_2_3":
|
||||
case "XInvoice_2_2":
|
||||
case "XInvoice_2_1":
|
||||
case "XInvoice_2_0":
|
||||
|
@ -34,6 +34,8 @@ class ZugferdEInvoice extends AbstractService
|
||||
$profile = $client->getSetting('e_invoice_type');
|
||||
|
||||
$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_1" => ZugferdProfiles::PROFILE_XRECHNUNG_2_1,
|
||||
"XInvoice_2_0" => ZugferdProfiles::PROFILE_XRECHNUNG_2,
|
||||
|
Loading…
Reference in New Issue
Block a user