Fixes for einvoicing

This commit is contained in:
David Bomba 2023-08-16 20:52:01 +10:00
parent 8f5a63eb94
commit 822aed5a61
2 changed files with 73 additions and 20 deletions

View File

@ -53,7 +53,7 @@
"halaxa/json-machine": "^0.7.0", "halaxa/json-machine": "^0.7.0",
"hashids/hashids": "^4.0", "hashids/hashids": "^4.0",
"hedii/laravel-gelf-logger": "^7.0", "hedii/laravel-gelf-logger": "^7.0",
"horstoeko/zugferd": "^1", "horstoeko/zugferd": "dev-master",
"imdhemy/laravel-purchases": "^1.7", "imdhemy/laravel-purchases": "^1.7",
"intervention/image": "^2.5", "intervention/image": "^2.5",
"invoiceninja/inspector": "^1.0", "invoiceninja/inspector": "^1.0",
@ -170,5 +170,11 @@
} }
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true "prefer-stable": true,
"repositories": [
{
"type": "vcs",
"url": "https://github.com/turbo124/zugferd.git"
}
]
} }

83
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "9d7348352c913eb82fcca2e67670e1f8", "content-hash": "b48cfe4230f3fd18612bc2852ae2e029",
"packages": [ "packages": [
{ {
"name": "adrienrn/php-mimetyper", "name": "adrienrn/php-mimetyper",
@ -3344,16 +3344,16 @@
}, },
{ {
"name": "horstoeko/zugferd", "name": "horstoeko/zugferd",
"version": "v1.0.20", "version": "dev-master",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/horstoeko/zugferd.git", "url": "https://github.com/turbo124/zugferd.git",
"reference": "725c130ec0a09d72cf54b3d819840f3959a5502c" "reference": "2d27efab66d948266dd439db5caeeb8ed1756b4c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/horstoeko/zugferd/zipball/725c130ec0a09d72cf54b3d819840f3959a5502c", "url": "https://api.github.com/repos/turbo124/zugferd/zipball/2d27efab66d948266dd439db5caeeb8ed1756b4c",
"reference": "725c130ec0a09d72cf54b3d819840f3959a5502c", "reference": "2d27efab66d948266dd439db5caeeb8ed1756b4c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3379,17 +3379,60 @@
"sebastian/phpcpd": "^6", "sebastian/phpcpd": "^6",
"squizlabs/php_codesniffer": "^3" "squizlabs/php_codesniffer": "^3"
}, },
"default-branch": true,
"type": "package", "type": "package",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"horstoeko\\zugferd\\": "src", "horstoeko\\zugferd\\": "src",
"horstoeko\\zugferd\\rsm\\": "src/entities/rsm",
"horstoeko\\zugferd\\qdt\\": "src/entities/qdt", "horstoeko\\zugferd\\qdt\\": "src/entities/qdt",
"horstoeko\\zugferd\\ram\\": "src/entities/ram", "horstoeko\\zugferd\\ram\\": "src/entities/ram",
"horstoeko\\zugferd\\rsm\\": "src/entities/rsm",
"horstoeko\\zugferd\\udt\\": "src/entities/udt" "horstoeko\\zugferd\\udt\\": "src/entities/udt"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "autoload-dev": {
"psr-4": {
"horstoeko\\zugferd\\tests\\": "tests"
}
},
"scripts": {
"tests": [
"./vendor/bin/phpunit ./tests/"
],
"testsreal": [
"./vendor/bin/phpunit --configuration ./build/phpunit.xml"
],
"phpcs": [
"./vendor/bin/phpcs --standard=./build/phpcsrules.xml --extensions=php --ignore=autoload.php ./src ./tests"
],
"phpcs12": [
"./vendor/bin/phpcs --standard=./build/phpcsrules_psr12.xml --extensions=php --ignore=autoload.php ./src ./tests"
],
"phpcbf": [
"./vendor/bin/phpcbf -q ./src ./tests"
],
"phpcbf1": [
"./vendor/bin/phpcbf --standard=./build/phpcsrules_psr1.xml -q ./src ./tests"
],
"phpcbf2": [
"./vendor/bin/phpcbf --standard=./build/phpcsrules_psr2.xml -q ./src ./tests"
],
"phpcbf12": [
"./vendor/bin/phpcbf --standard=./build/phpcsrules_psr12.xml -q ./src ./tests"
],
"phpcbfsq": [
"./vendor/bin/phpcbf --standard=./build/phpcsrules_squiz.xml -q ./src ./tests"
],
"phpstan": [
"./vendor/bin/phpstan analyze -c ./build/phpstan.neon --autoload-file=vendor/autoload.php --no-interaction --no-progress --xdebug"
],
"phpstan_cs": [
"./vendor/bin/phpstan analyze -c ./build/phpstan.neon --autoload-file=vendor/autoload.php --no-interaction --no-progress --error-format=checkstyle --xdebug"
],
"makedoc": [
"phing -f ./build.xml projectdoc"
]
},
"license": [ "license": [
"MIT" "MIT"
], ],
@ -3403,17 +3446,16 @@
"description": "A library for creating and reading european electronic invoices", "description": "A library for creating and reading european electronic invoices",
"homepage": "https://github.com/horstoeko/zugferd", "homepage": "https://github.com/horstoeko/zugferd",
"keywords": [ "keywords": [
"ZUGFeRD",
"electronic", "electronic",
"factur-x", "factur-x",
"invoice", "invoice",
"xrechnung" "xrechnung",
"zugferd"
], ],
"support": { "support": {
"issues": "https://github.com/horstoeko/zugferd/issues", "source": "https://github.com/turbo124/zugferd/tree/add_string_output_for_pdf"
"source": "https://github.com/horstoeko/zugferd/tree/v1.0.20"
}, },
"time": "2023-07-04T15:21:32+00:00" "time": "2023-08-16T10:23:41+00:00"
}, },
{ {
"name": "http-interop/http-factory-guzzle", "name": "http-interop/http-factory-guzzle",
@ -6248,25 +6290,29 @@
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "2.68.1", "version": "2.69.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/briannesbitt/Carbon.git", "url": "https://github.com/briannesbitt/Carbon.git",
"reference": "4f991ed2a403c85efbc4f23eb4030063fdbe01da" "reference": "4308217830e4ca445583a37d1bf4aff4153fa81c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4f991ed2a403c85efbc4f23eb4030063fdbe01da", "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4308217830e4ca445583a37d1bf4aff4153fa81c",
"reference": "4f991ed2a403c85efbc4f23eb4030063fdbe01da", "reference": "4308217830e4ca445583a37d1bf4aff4153fa81c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"php": "^7.1.8 || ^8.0", "php": "^7.1.8 || ^8.0",
"psr/clock": "^1.0",
"symfony/polyfill-mbstring": "^1.0", "symfony/polyfill-mbstring": "^1.0",
"symfony/polyfill-php80": "^1.16", "symfony/polyfill-php80": "^1.16",
"symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"
}, },
"provide": {
"psr/clock-implementation": "1.0"
},
"require-dev": { "require-dev": {
"doctrine/dbal": "^2.0 || ^3.1.4", "doctrine/dbal": "^2.0 || ^3.1.4",
"doctrine/orm": "^2.7", "doctrine/orm": "^2.7",
@ -6346,7 +6392,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-06-20T18:29:04+00:00" "time": "2023-08-03T09:00:52+00:00"
}, },
{ {
"name": "nette/schema", "name": "nette/schema",
@ -18319,6 +18365,7 @@
"aliases": [], "aliases": [],
"minimum-stability": "dev", "minimum-stability": "dev",
"stability-flags": { "stability-flags": {
"horstoeko/zugferd": 20,
"webpatser/laravel-countries": 20 "webpatser/laravel-countries": 20
}, },
"prefer-stable": true, "prefer-stable": true,