add FTP Upload

This commit is contained in:
Marko 2023-09-27 15:07:34 +02:00
parent a1a2eb84b3
commit a97fec167c
No known key found for this signature in database
29 changed files with 175 additions and 25090 deletions

3
.env
View File

@ -33,9 +33,6 @@ DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&ch
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$' CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ### ###< nelmio/cors-bundle ###
SHOPWARE_API_URL="http://flex.ddev.site/"
SHOPWARE_API_ID="SWIAB21GBEHEU0DLVKNIRE5CDG"
SHOPWARE_API_KEY="NWIwbjRFNWNXU1d0WUtMTUpzRU05OFVIZ1N4MFdwYUdHVjhTdWk"
###> symfony/slack-notifier ### ###> symfony/slack-notifier ###
# SLACK_DSN=slack://TOKEN@default?channel=CHANNEL # SLACK_DSN=slack://TOKEN@default?channel=CHANNEL
###< symfony/slack-notifier ### ###< symfony/slack-notifier ###

3
.gitignore vendored
View File

@ -74,3 +74,6 @@
/var/ /var/
/vendor/ /vendor/
###< symfony/framework-bundle ### ###< symfony/framework-bundle ###
/hiltes/c2h/
/hiltes/h2c/
/jtl/

View File

@ -127,6 +127,8 @@
<excludeFolder url="file://$MODULE_DIR$/var/cache/dev" /> <excludeFolder url="file://$MODULE_DIR$/var/cache/dev" />
<excludeFolder url="file://$MODULE_DIR$/var/cache/prod" /> <excludeFolder url="file://$MODULE_DIR$/var/cache/prod" />
<excludeFolder url="file://$MODULE_DIR$/vendor" /> <excludeFolder url="file://$MODULE_DIR$/vendor" />
<excludeFolder url="file://$MODULE_DIR$/.idea/commandlinetools" />
<excludeFolder url="file://$MODULE_DIR$/var" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />

View File

@ -3,7 +3,7 @@
# CdsConnector # CdsConnector
================ ================
Connector zwischen Hiltes und Shopware 6 Connector zwischen Hiltes und JTL Wawi
# Installieren # Installieren
-------------- --------------

38
composer.lock generated
View File

@ -523,16 +523,16 @@
}, },
{ {
"name": "doctrine/dbal", "name": "doctrine/dbal",
"version": "3.6.6", "version": "3.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/dbal.git", "url": "https://github.com/doctrine/dbal.git",
"reference": "63646ffd71d1676d2f747f871be31b7e921c7864" "reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/63646ffd71d1676d2f747f871be31b7e921c7864", "url": "https://api.github.com/repos/doctrine/dbal/zipball/00d03067f07482f025d41ab55e4ba0db5eca2cdf",
"reference": "63646ffd71d1676d2f747f871be31b7e921c7864", "reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -548,9 +548,9 @@
"doctrine/coding-standard": "12.0.0", "doctrine/coding-standard": "12.0.0",
"fig/log-test": "^1", "fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.1", "jetbrains/phpstorm-stubs": "2023.1",
"phpstan/phpstan": "1.10.29", "phpstan/phpstan": "1.10.35",
"phpstan/phpstan-strict-rules": "^1.5", "phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "9.6.9", "phpunit/phpunit": "9.6.13",
"psalm/plugin-phpunit": "0.18.4", "psalm/plugin-phpunit": "0.18.4",
"slevomat/coding-standard": "8.13.1", "slevomat/coding-standard": "8.13.1",
"squizlabs/php_codesniffer": "3.7.2", "squizlabs/php_codesniffer": "3.7.2",
@ -616,7 +616,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/dbal/issues", "issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.6.6" "source": "https://github.com/doctrine/dbal/tree/3.7.0"
}, },
"funding": [ "funding": [
{ {
@ -632,7 +632,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-08-17T05:38:17+00:00" "time": "2023-09-26T20:56:55+00:00"
}, },
{ {
"name": "doctrine/deprecations", "name": "doctrine/deprecations",
@ -1712,16 +1712,16 @@
}, },
{ {
"name": "league/csv", "name": "league/csv",
"version": "9.10.0", "version": "9.11.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/csv.git", "url": "https://github.com/thephpleague/csv.git",
"reference": "d24b0d484812313b07ab74b0fe4db9661606df6c" "reference": "33149c4bea4949aa4fa3d03fb11ed28682168b39"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/csv/zipball/d24b0d484812313b07ab74b0fe4db9661606df6c", "url": "https://api.github.com/repos/thephpleague/csv/zipball/33149c4bea4949aa4fa3d03fb11ed28682168b39",
"reference": "d24b0d484812313b07ab74b0fe4db9661606df6c", "reference": "33149c4bea4949aa4fa3d03fb11ed28682168b39",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1796,7 +1796,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-04T15:12:48+00:00" "time": "2023-09-23T10:09:54+00:00"
}, },
{ {
"name": "nelmio/cors-bundle", "name": "nelmio/cors-bundle",
@ -2030,16 +2030,16 @@
}, },
{ {
"name": "phpstan/phpdoc-parser", "name": "phpstan/phpdoc-parser",
"version": "1.24.1", "version": "1.24.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git", "url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "9f854d275c2dbf84915a5c0ec9a2d17d2cd86b01" "reference": "bcad8d995980440892759db0c32acae7c8e79442"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/9f854d275c2dbf84915a5c0ec9a2d17d2cd86b01", "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bcad8d995980440892759db0c32acae7c8e79442",
"reference": "9f854d275c2dbf84915a5c0ec9a2d17d2cd86b01", "reference": "bcad8d995980440892759db0c32acae7c8e79442",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2071,9 +2071,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types", "description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": { "support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues", "issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.1" "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.2"
}, },
"time": "2023-09-18T12:18:02+00:00" "time": "2023-09-26T12:28:12+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
Start FTP Übertragung : 14.09.2023 15:11:01

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
Start FTP Übertragung : 14.09.2023 15:11:04

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
Start FTP Übertragung : 14.09.2023 15:11:08

View File

@ -1,304 +0,0 @@
00191888618071;000000000;000000100;000000003
00192502390892;000000000;000000100;000000003
00193147706680;000000100;000000100;000000003
00193150904745;000000000;000000100;000000003
00193154225730;000000000;000000300;000000003
00193654719555;000000000;000000100;000000003
00193658090889;000000000;000000100;000000003
00193658090919;000000000;000000100;000000003
00193658090926;000000000;000000200;000000003
00193659036886;000000000;000000100;000000003
00193659036930;000000000;000000100;000000003
00193659036954;000000000;000000100;000000003
00193659036961;000000000;000000200;000000003
00194182854886;000000000;000000100;000000003
00194276363171;000000000;000000100;000000003
00194499824343;000000200;000000100;000000003
00194953024241;000000300;000000100;000000003
00194953024258;000000100;000000100;000000003
00194958690229;000000100;000000100;000000003
00194958690274;000000000;000000100;000000003
00194958690427;000000000;000000100;000000003
00194958690458;000000000;000000100;000000003
00195237031191;000000100;000000000;000000003
00195237031221;000000100;000000100;000000003
00195237031542;000000000;000000100;000000003
00195237045181;000000000;000000100;000000003
00195237079469;000000300;000000100;000000003
00195238086411;000000000;000000100;000000003
00195243510079;000000100;000000100;000000003
00195243989875;000000000;000000100;000000003
00195243989899;000000000;000000100;000000003
00195243989981;000000000;000000100;000000003
00195243990086;000000000;000000200;000000003
00195244743407;000000100;000000100;000000003
00195437168772;000000000;000000100;000000003
00195441352143;000000400;000000100;000000003
00195866187849;000000100;000000100;000000003
00195868995084;000000000;000000100;000000003
00195869027739;000000200;000000000;000000003
00195869037943;000000100;000000100;000000003
00195869864082;000000000;000000100;000000003
00195869864105;000000000;000000200;000000003
00195869864136;000000000;000000100;000000003
00195979456818;000000100;000000100;000000003
00195979722128;000000000;000000100;000000003
00196071972916;000000000;000000100;000000003
00196148785685;000000100;000000100;000000003
00196148785708;000000800;000000100;000000003
00196148828108;000000000;000000100;000000003
00196152243454;000000200;000000000;000000003
00196152243461;000000200;000000100;000000003
00196152243485;000000100;000000100;000000003
00196153654945;000000100;000000100;000000003
00196154132473;000000000;000000100;000000003
00196154132503;000000100;000000100;000000003
00196155533064;000000100;000000100;000000003
00196155533071;000000100;000000100;000000003
00196155533231;000000100;000000100;000000003
00196155533279;000000100;000000100;000000003
00196155533330;000000200;000000000;000000003
00196432505562;000000100;000000100;000000003
00196432505760;000000000;000000100;000000003
00196432505807;000000300;000000100;000000003
00196432534760;000000100;000000100;000000003
00196432642823;000000000;000000100;000000003
00196432886746;000000000;000000100;000000003
00196432886869;000000100;000000000;000000003
00196432886883;000000100;000000000;000000003
00196573190610;000000100;000000100;000000003
00196573565388;000000200;000000000;000000003
00196573565616;000000000;000000100;000000003
00196573686694;000000100;000000000;000000003
00196604027793;000000000;000000100;000000003
00196604163316;000000000;000000100;000000003
00196604241144;000000100;000000100;000000003
00196604241168;000000300;000000100;000000003
00196604241182;000000100;000000000;000000003
00196604361644;000000100;000000100;000000003
00196604385602;000000200;000000100;000000003
00196606128085;000000000;000000100;000000003
00196606763187;000000200;000000100;000000003
00196606811512;000000300;000000100;000000003
00196606811666;000000000;000000200;000000003
00196606812052;000000100;000000100;000000003
00196606812069;000000100;000000100;000000003
00196606918358;000000200;000000100;000000003
00196606918365;000000400;000000100;000000003
00196606918372;000000700;000000100;000000003
00196606936765;000000000;000000100;000000003
00196607350935;000000000;000000100;000000003
00196607365830;000000000;000000100;000000003
00196607365854;000000200;000000100;000000003
00196607365892;000000000;000000100;000000003
00196607393017;000000200;000000000;000000003
00196607805299;000000100;000000100;000000003
00196607809105;000000000;000000100;000000003
00196607810620;000000000;000000100;000000003
00196607814741;000000000;000000100;000000003
00196608096023;000000000;000000100;000000003
00196608383420;000000100;000000100;000000003
00196652225325;000000100;000000100;000000003
00196652225349;000000100;000000100;000000003
00196652225387;000000000;000000100;000000003
00196652227466;000000000;000000100;000000003
00196652829134;000000100;000000100;000000003
00196652829257;000000000;000000100;000000003
00196652829585;000000000;000000100;000000003
00196652834770;000000000;000000100;000000003
00196652835623;000000000;000000100;000000003
00196652835630;000000000;000000100;000000003
00196652835647;000000000;000000100;000000003
00196941308333;000000000;000000100;000000003
00196941308401;000000100;000000100;000000003
00196941308425;000000100;000000100;000000003
00196941308777;000000000;000000100;000000003
00196941308784;000000000;000000100;000000003
00196968091287;000000200;000000000;000000003
00617932968096;000000200;000000200;000000003
00617932968164;000000000;000000100;000000003
00675911774472;000000300;000000000;000000003
00826216699001;000000200;000000000;000000003
00826216699018;000000000;000000100;000000003
00888407233883;000000200;000000400;000000003
03617070317463;000000100;000000100;000000003
03617070343103;000000100;000000100;000000003
03617070350682;000000100;000000000;000000003
03617070364870;000000100;000000100;000000003
03617070372424;000000100;000000000;000000003
03617070381358;000000200;000000000;000000003
03617070385288;000000200;000000000;000000003
03617070385295;000000200;000000000;000000003
03666354664083;000000000;000000100;000000003
03666354851469;000000900;000000100;000000003
03666354851476;000000400;000000100;000000003
03666498242079;000000200;000000100;000000003
03666498978213;000000100;000000100;000000003
03666498982531;000000100;000000100;000000003
04013871131632;000000000;000000100;000000003
04013871131649;000000000;000000100;000000003
04013871297178;000000000;000000100;000000003
04054262007099;000000000;000000100;000000003
04058459249590;000000200;000000000;000000003
04058459270983;000000300;000000000;000000003
04058459385380;000000200;000000000;000000003
04058459385465;000000100;000000000;000000003
04058459385472;000000100;000000000;000000003
04058459385496;000000100;000000000;000000003
04058459962697;000000200;000000000;000000003
04064045968370;000000200;000000100;000000003
04064049150665;000000000;000000100;000000003
04064958010432;000000200;000000000;000000003
04064958010449;000000200;000000000;000000003
04064958010456;000000100;000000000;000000003
04064958010463;000000100;000000000;000000003
04064958087588;000000200;000000000;000000003
04064958087595;000000300;000000000;000000003
04064958087601;000000200;000000000;000000003
04064958087618;000000200;000000000;000000003
04064958087625;000000100;000000000;000000003
04064958087632;000000100;000000000;000000003
04064958095941;000000000;000000300;000000003
04064958097464;000001000;000000100;000000003
04064958121299;000000200;000000100;000000003
04064958121305;000000000;000000100;000000003
04064958361152;000000200;000000100;000000003
04064958377665;000000200;000000000;000000003
04064958377672;000000300;000000000;000000003
04064958377689;000000300;000000000;000000003
04064958377696;000000200;000000000;000000003
04064958431480;000000000;000000100;000000003
04064958440192;000000200;000000100;000000003
04064958446422;000000400;000000200;000000003
04064958478485;000000000;000000100;000000003
04064958546573;000000200;000000100;000000003
04064958578888;000000200;000000000;000000003
04064958578895;000000300;000000000;000000003
04064958578901;000000200;000000000;000000003
04064958578918;000000200;000000000;000000003
04064958578925;000000200;000000000;000000003
04064958578932;000000100;000000000;000000003
04064958580034;000000200;000000000;000000003
04064958580041;000000300;000000000;000000003
04064958580058;000000300;000000000;000000003
04064958580065;000000200;000000000;000000003
04064958580072;000000200;000000000;000000003
04064958580089;000000100;000000000;000000003
04064958580096;000000100;000000000;000000003
04064958595250;000000300;000000000;000000003
04064958596400;000000300;000000000;000000003
04064958596714;000000100;000000100;000000003
04064958596738;000000100;000000100;000000003
04064958597773;000000400;000000100;000000003
04064958603030;000000200;000000000;000000003
04064958609100;000000500;000000100;000000003
04064958611585;000000100;000000100;000000003
04064958611769;000000000;000000100;000000003
04064958628491;000000200;000000000;000000003
04064958628507;000000300;000000000;000000003
04064958628514;000000200;000000000;000000003
04064958631156;000000000;000000100;000000003
04064958648727;000000200;000000000;000000003
04064958648734;000000100;000000000;000000003
04064958648741;000000100;000000000;000000003
04064958648758;000000100;000000000;000000003
04064958660798;000000200;000000000;000000003
04064958660804;000000300;000000000;000000003
04064958660811;000000100;000000100;000000003
04064958660835;000000200;000000000;000000003
04064958660842;000000300;000000000;000000003
04064958660859;000000200;000000000;000000003
04064958662662;000000100;000000000;000000003
04064958662679;000000100;000000100;000000003
04064958662686;000000100;000000000;000000003
04064958679141;000000200;000000000;000000003
04064958679158;000000200;000000000;000000003
04064958679172;000000100;000000000;000000003
04064958679189;000000200;000000000;000000003
04064958679196;000000200;000000000;000000003
04064958679202;000000100;000000000;000000003
04064958679240;000000200;000000000;000000003
04064958679257;000000300;000000000;000000003
04064958679264;000000200;000000000;000000003
04064958679394;000000100;000000000;000000003
04064958679400;000000200;000000000;000000003
04064958679417;000000200;000000000;000000003
04064958679424;000000100;000000000;000000003
04064958691778;000000100;000000100;000000003
04064958704638;000000000;000000100;000000003
04064958710707;000000200;000000000;000000003
04064958710929;000000100;000000000;000000003
04064958710936;000000200;000000000;000000003
04064958710943;000000100;000000000;000000003
04065418354165;000000100;000000300;000000003
04065418354202;000000000;000000700;000000003
04065418354219;000000000;000000100;000000003
04065418354226;000000000;000000500;000000003
04065418354264;000000000;000000800;000000003
04065418354271;000000000;000000100;000000003
04065418354288;000000000;000000400;000000003
04065418354295;000000000;000000500;000000003
04065418354301;000000000;000000600;000000003
04065418354318;000000000;000000300;000000003
04065418354325;000000100;000000000;000000003
04065418354332;000000000;000000100;000000003
04065418354349;000000000;000000800;000000003
04065418354356;000000200;000000600;000000003
04065424750043;000000000;000000100;000000003
04065427435442;000000100;000000000;000000003
04065427435626;000000100;000000000;000000003
04065427435633;000000100;000000000;000000003
04065427439280;000000100;000000100;000000003
04066745045412;000000000;000000100;000000003
04066745082516;000000200;000000100;000000003
04066746662144;000000100;000000100;000000003
04066749406493;000000000;000000100;000000003
04066749419189;000000000;000000100;000000003
04066749926731;000000100;000000100;000000003
04066751943214;000000000;000000100;000000003
04066752972237;000000200;000000100;000000003
04066753960455;000000100;000000000;000000003
04066753960462;000000100;000000000;000000003
04066753960486;000000100;000000000;000000003
04066753960493;000000100;000000000;000000003
04066753960509;000000100;000000000;000000003
04066753964163;000000100;000000000;000000003
04066753964187;000000100;000000000;000000003
04066753964200;000000100;000000000;000000003
04066755699018;000000000;000000100;000000003
04066755699049;000000100;000000000;000000003
04066755699063;000000000;000000100;000000003
04066755699148;000000000;000000100;000000003
04066755699179;000000000;000000100;000000003
04066755702978;000000100;000000000;000000003
04066755806089;000000100;000000100;000000003
04066755806218;000000100;000000100;000000003
04066756504915;000000100;000000100;000000003
04066756617639;000000000;000000100;000000003
04066761058946;000000100;000000100;000000003
04066761123866;000000200;000000000;000000003
04066761123934;000000100;000000000;000000003
04066761124023;000000200;000000000;000000003
04066761135579;000000200;000000000;000000003
04066761135593;000000100;000000000;000000003
04066761139201;000000200;000000000;000000003
04066761286653;000000100;000000000;000000003
04066761286660;000000200;000000000;000000003
04066762023134;000000000;000000100;000000003
04066762046133;000000200;000000100;000000003
04066762359356;000000200;000000000;000000003
04066762359363;000000000;000000100;000000003
04066762359431;000000100;000000000;000000003
04066762509911;000000100;000000100;000000003
04066763550301;000000100;000000000;000000003
04066763550349;000000200;000000000;000000003
04066763550387;000000100;000000100;000000003
04066763844141;000000100;000000100;000000003
05034606583600;000000100;000000100;000000003
05034606739021;000000100;000000100;000000003
05034606821092;000000100;000000100;000000003
05034606823362;000000100;000000100;000000003
05034606847030;000000000;000000100;000000003
05034606847429;000000000;000000100;000000003
05034606857268;000000100;000000100;000000003
05034606868097;000000100;000000100;000000003

View File

@ -1 +0,0 @@
Start FTP Übertragung : 19.09.2023 14:45:20

View File

@ -1,299 +0,0 @@
00193128914325;000000100;000000100;000000008
00193658088695;000000000;000000200;000000008
00193658088701;000000000;000000300;000000008
00193658088718;000000000;000000200;000000008
00193658090889;000000000;000000100;000000008
00193658090896;000000000;000000100;000000008
00193658090919;000000000;000000300;000000008
00193658091022;000000000;000000200;000000008
00193659036909;000000000;000000500;000000008
00193659036923;000000000;000000500;000000008
00193659036930;000000000;000000200;000000008
00193659036947;000000000;000000500;000000008
00193659036961;000000000;000000900;000000008
00194276363171;000000000;000000100;000000008
00194499542827;000000000;000000100;000000008
00194499542834;000000000;000000200;000000008
00194499542841;000000000;000000200;000000008
00194499542858;000000000;000000100;000000008
00194499542865;000000000;000000100;000000008
00194499542872;000000000;000000100;000000008
00194958690427;000000000;000000100;000000008
00194958690434;000000200;000000100;000000008
00194958690458;000000100;000000000;000000008
00195237031191;000000000;000000100;000000008
00195238105396;000000000;000000100;000000008
00195238105402;000000000;000000200;000000008
00195238105419;000000000;000000200;000000008
00195238105426;000000000;000000100;000000008
00195238105433;000000000;000000100;000000008
00195238105440;000000000;000000200;000000008
00195238105457;000000000;000000100;000000008
00195242106075;000000200;000000100;000000008
00195242393024;000000000;000000100;000000008
00195242581018;000000000;000000100;000000008
00195242581131;000000000;000000100;000000008
00195243989875;000000300;000000000;000000008
00195243989899;000000400;000000000;000000008
00195441352143;000000000;000000100;000000008
00195751187480;000000000;000000100;000000008
00195866190931;000000000;000000100;000000008
00195866190948;000000000;000000100;000000008
00195866190955;000000000;000000200;000000008
00195866190962;000000000;000000200;000000008
00195866190986;000000000;000000200;000000008
00195866294769;000000000;000000100;000000008
00195866294776;000000000;000000100;000000008
00195866294790;000000000;000000100;000000008
00195866294813;000000000;000000400;000000008
00195866294820;000000000;000000200;000000008
00195866294837;000000000;000000200;000000008
00195866294844;000000000;000000200;000000008
00195866294851;000000000;000000100;000000008
00195866294882;000000000;000000100;000000008
00195866296855;000000000;000000100;000000008
00195868995084;000000000;000000100;000000008
00195869027739;000000000;000000100;000000008
00195869037677;000000000;000000100;000000008
00195907137574;000000000;000000100;000000008
00195907735619;000000000;000000100;000000008
00196071058092;000000000;000000100;000000008
00196148825701;000000000;000000100;000000008
00196152243454;000000000;000000100;000000008
00196152243461;000000000;000000200;000000008
00196152243485;000000000;000000100;000000008
00196154132473;000000000;000000100;000000008
00196154132503;000000000;000000100;000000008
00196154140645;000000400;000000300;000000008
00196154140676;000000100;000000200;000000008
00196154141178;000000000;000000100;000000008
00196154626880;000000000;000000100;000000008
00196154626897;000000000;000000100;000000008
00196154626903;000000000;000000100;000000008
00196154626910;000000000;000000100;000000008
00196155533064;000000400;000000100;000000008
00196155533071;000000300;000000100;000000008
00196155533231;000000000;000000200;000000008
00196155533279;000000400;000000100;000000008
00196155533286;000001300;000000100;000000008
00196155533330;000000500;000000100;000000008
00196244719225;000000000;000000100;000000008
00196244734822;000000000;000000100;000000008
00196307089364;000000000;000000100;000000008
00196307089401;000000000;000000100;000000008
00196432427611;000000000;000000100;000000008
00196432648160;000000000;000000100;000000008
00196432651092;000000000;000000100;000000008
00196432686261;000000000;000000100;000000008
00196432761678;000000000;000000200;000000008
00196432886746;000000000;000000100;000000008
00196432886869;000000000;000000100;000000008
00196432886883;000000000;000000100;000000008
00196573392113;000000000;000000100;000000008
00196573396036;000000000;000000100;000000008
00196604241106;000000200;000000100;000000008
00196604241144;000000900;000000100;000000008
00196604241182;000000200;000000100;000000008
00196604398473;000000100;000000000;000000008
00196604404495;000000000;000000100;000000008
00196604404532;000000200;000000100;000000008
00196604404549;000000500;000000200;000000008
00196604404556;000000200;000000200;000000008
00196604404563;000000600;000000100;000000008
00196604404587;000000000;000000200;000000008
00196604404600;000000000;000000100;000000008
00196604404617;000000000;000000100;000000008
00196606128085;000000000;000000100;000000008
00196606203157;000000200;000000000;000000008
00196606203188;000000100;000000000;000000008
00196606203218;000000200;000000000;000000008
00196609823475;000000000;000000100;000000008
00196609823536;000000000;000000200;000000008
00196609823543;000000100;000000100;000000008
00196609823604;000000000;000000100;000000008
00196652227404;000000100;000000000;000000008
00196652858394;000000000;000000100;000000008
00196652858400;000000000;000000100;000000008
00196652866597;000000000;000000100;000000008
00196941296463;000000100;000000000;000000008
00196941296470;000000200;000000000;000000008
00196941296487;000000200;000000000;000000008
00196941296494;000000300;000000000;000000008
00196941296500;000000300;000000000;000000008
00196941296517;000000200;000000000;000000008
00196941296524;000000200;000000000;000000008
00196941297439;000000100;000000000;000000008
00196941297446;000000100;000000000;000000008
00196941297453;000000200;000000000;000000008
00196941297460;000000300;000000000;000000008
00196941297477;000000300;000000000;000000008
00196941297484;000000300;000000000;000000008
00196941297491;000000300;000000000;000000008
00196941297507;000000300;000000000;000000008
00196941297521;000000100;000000000;000000008
00196941297538;000000100;000000000;000000008
00196941297545;000000100;000000000;000000008
00196941297552;000000200;000000000;000000008
00196941297569;000000200;000000000;000000008
00196941297576;000000100;000000000;000000008
00196941297583;000000100;000000000;000000008
00196941297590;000000200;000000000;000000008
00196941297606;000000300;000000000;000000008
00196941297613;000000300;000000000;000000008
00196941297620;000000300;000000000;000000008
00196941297637;000000300;000000000;000000008
00196941297644;000000300;000000000;000000008
00196941308777;000000000;000000100;000000008
00196941308784;000000100;000000000;000000008
00196941329345;000000000;000000100;000000008
00196941330570;000000000;000000100;000000008
00197375085333;000000000;000000100;000000008
00197375085340;000000000;000000100;000000008
00197375108902;000000000;000000100;000000008
00826216696307;000000000;000000100;000000008
00826216698981;000000000;000000200;000000008
00826216699001;000000000;000000300;000000008
04013871035022;000000200;000000100;000000008
04013871049739;000000100;000000100;000000008
04013871131632;000000300;000000000;000000008
04013871131649;000000300;000000000;000000008
04013871297178;000000300;000000000;000000008
04039854689891;000000000;000000100;000000008
04039854689938;000000000;000000100;000000008
04039854689976;000000000;000000100;000000008
04040714437477;000000100;000000100;000000008
04040714632186;000000000;000000100;000000008
04040714854960;000000000;000000100;000000008
04040714854984;000000000;000000100;000000008
04052001971809;000000000;000000200;000000008
04052001971847;000000000;000000100;000000008
04061417062476;000000000;000000100;000000008
04061417062513;000000000;000000200;000000008
04061417062551;000000000;000000100;000000008
04061417062599;000000000;000000200;000000008
04061417062636;000000000;000000100;000000008
04061417062674;000000000;000000100;000000008
04061417067198;000000000;000000100;000000008
04061417067235;000000000;000000200;000000008
04061417067273;000000000;000000200;000000008
04061417067310;000000000;000000200;000000008
04061417067358;000000000;000000100;000000008
04061417067396;000000000;000000100;000000008
04061417101021;000000100;000000100;000000008
04061417809644;000000000;000000100;000000008
04061417809682;000000000;000000100;000000008
04061417809729;000000000;000000200;000000008
04061418073068;000000000;000000100;000000008
04061418073105;000000000;000000100;000000008
04061418073143;000000000;000000200;000000008
04062052463659;000000000;000000100;000000008
04062052467350;000000000;000000100;000000008
04062059536295;000000100;000000000;000000008
04062059782661;000001100;000000100;000000008
04062059786447;000000600;000000100;000000008
04062059821001;000000200;000000000;000000008
04062064121110;000000400;000000100;000000008
04062064388872;000000000;000000100;000000008
04064049150627;000000000;000000100;000000008
04064049150665;000000000;000000100;000000008
04064958180081;000000000;000000100;000000008
04064958315872;000000000;000000100;000000008
04065418354158;000000000;000000200;000000008
04065418354165;000000000;000001500;000000008
04065418354196;000000000;000000200;000000008
04065418354202;000000000;000004200;000000008
04065418354219;000000000;000000800;000000008
04065418354226;000000000;000004300;000000008
04065418354233;000000000;000000100;000000008
04065418354240;000000000;000000100;000000008
04065418354257;000000000;000000300;000000008
04065418354264;000000000;000003700;000000008
04065418354271;000000000;000000800;000000008
04065418354288;000000000;000002900;000000008
04065418354295;000000000;000003700;000000008
04065418354301;000000000;000003000;000000008
04065418354318;000000000;000001900;000000008
04065418354325;000000000;000000300;000000008
04065418354332;000000000;000000400;000000008
04065418354349;000000000;000004100;000000008
04065418354356;000000000;000002400;000000008
04065425790918;000000000;000000100;000000008
04065426915310;000000000;000000100;000000008
04065427435442;000000000;000000100;000000008
04065427435626;000000000;000000100;000000008
04065427435633;000000000;000000100;000000008
04065449623629;000000300;000000000;000000008
04066749368166;000000100;000000100;000000008
04066749402556;000000100;000000000;000000008
04066749404994;000000200;000000000;000000008
04066749406493;000000000;000000100;000000008
04066749425784;000000000;000000100;000000008
04066749502737;000000000;000000200;000000008
04066749502751;000000200;000000200;000000008
04066749502768;000000000;000000200;000000008
04066749502775;000000000;000000200;000000008
04066749506384;000000000;000000100;000000008
04066749506391;000000200;000000200;000000008
04066749506407;000000000;000000200;000000008
04066749506414;000000200;000000200;000000008
04066749506421;000000000;000000200;000000008
04066749506438;000000200;000000200;000000008
04066749506445;000000000;000000200;000000008
04066749506469;000000200;000000200;000000008
04066749506483;000000000;000000200;000000008
04066749506490;000000000;000000200;000000008
04066749506506;000000000;000000200;000000008
04066749506520;000000200;000000200;000000008
04066749506537;000000200;000000200;000000008
04066749506544;000000100;000000200;000000008
04066751943214;000000000;000000100;000000008
04066753979280;000000700;000000100;000000008
04066753979327;000000300;000000100;000000008
04066753979334;000000200;000000100;000000008
04066753979341;000000300;000000100;000000008
04066753979358;000000600;000000200;000000008
04066753979365;000000200;000000100;000000008
04066753979372;000000000;000000100;000000008
04066753979389;000000500;000000100;000000008
04066753979396;000000700;000000100;000000008
04066755699018;000000000;000000100;000000008
04066755699049;000000000;000000100;000000008
04066755699063;000000000;000000100;000000008
04066755699148;000000000;000000100;000000008
04066755699179;000000000;000000100;000000008
04066755702947;000000000;000000100;000000008
04066756159924;000000000;000000100;000000008
04066756182618;000000100;000000100;000000008
04066756182656;000000000;000000100;000000008
04066756186333;000000000;000000100;000000008
04066756617639;000000000;000000100;000000008
04066762359356;000000200;000000100;000000008
04066762359363;000000000;000000200;000000008
04066762359431;000000600;000000200;000000008
04066762359462;000000300;000000100;000000008
04066763637965;000000000;000000100;000000008
04066764325830;000000000;000000100;000000008
04066764325885;000000000;000000100;000000008
04066764325915;000000000;000000100;000000008
04066764325939;000000000;000000100;000000008
04066764325946;000000000;000000100;000000008
04066764326004;000000000;000000100;000000008
04550330388447;000000100;000000000;000000008
04550330388454;000000100;000000000;000000008
04550330388485;000000100;000000000;000000008
04550330388515;000000100;000000000;000000008
04550455778116;000000100;000000000;000000008
04550455778123;000000100;000000000;000000008
04550456204584;000000000;000000100;000000008
04550456795952;000000000;000000100;000000008
04550456821033;000000000;000000100;000000008
04550456821040;000000000;000000200;000000008
04550456821064;000000000;000000200;000000008
04550456821088;000000000;000000200;000000008
04550456821095;000000000;000000100;000000008
04550456821149;000000000;000000200;000000008
04550456821156;000000000;000000200;000000008
04550456821163;000000000;000000200;000000008
04550456821170;000000000;000000200;000000008
04550456821200;000000000;000000200;000000008
04550456834439;000000100;000000000;000000008

View File

@ -1 +0,0 @@
Start FTP Übertragung : 19.09.2023 14:45:24

View File

@ -1,441 +0,0 @@
00000323060301;000000100;000000000;000000010
00000323060302;000000200;000000000;000000010
00000323060303;000000200;000000000;000000010
00000323060304;000000100;000000000;000000010
00000323070102;000000200;000000000;000000010
00000323070103;000000200;000000000;000000010
00000323070104;000000100;000000000;000000010
00000323070301;000000100;000000000;000000010
00000323070302;000000100;000000000;000000010
00000323070303;000000200;000000000;000000010
00000323070304;000000200;000000000;000000010
00000323100101;000000100;000000000;000000010
00000323100102;000000100;000000000;000000010
00000323100103;000000200;000000000;000000010
00000323100104;000000200;000000000;000000010
00000323160301;000000100;000000000;000000010
00000323160302;000000200;000000000;000000010
00000323160303;000000200;000000000;000000010
00000323160304;000000100;000000000;000000010
00000323370101;000000100;000000000;000000010
00000323370102;000000200;000000000;000000010
00000323370103;000000300;000000000;000000010
00000323370104;000000300;000000000;000000010
00000323370105;000000200;000000000;000000010
00000323370201;000000100;000000000;000000010
00000323370202;000000200;000000000;000000010
00000323370203;000000300;000000000;000000010
00000323370204;000000200;000000000;000000010
00000323370205;000000200;000000000;000000010
00000323390201;000000100;000000000;000000010
00000323390202;000000200;000000000;000000010
00000323390204;000000200;000000000;000000010
00000323390205;000000200;000000000;000000010
00000323390206;000000200;000000000;000000010
00000323390207;000000100;000000000;000000010
00000323390208;000000100;000000000;000000010
00000323400102;000000100;000000000;000000010
00000323400104;000000200;000000000;000000010
00000323400106;000000200;000000000;000000010
00000323400108;000000100;000000000;000000010
00000323410102;000000100;000000000;000000010
00000323410103;000000200;000000000;000000010
00000323410104;000000200;000000000;000000010
00000323410105;000000100;000000000;000000010
00000323430102;000000100;000000000;000000010
00000323430103;000000200;000000000;000000010
00000323430104;000000200;000000000;000000010
00000323430105;000000100;000000000;000000010
00000323450102;000000100;000000000;000000010
00000323450103;000000200;000000000;000000010
00000323450104;000000200;000000000;000000010
00000323450105;000000100;000000000;000000010
00000323540201;000000300;000000000;000000010
00000323540301;000000300;000000000;000000010
00000323550101;000000300;000000000;000000010
00000323570101;000000300;000000000;000000010
00000323570201;000000300;000000000;000000010
00000323570301;000000300;000000000;000000010
00000323570501;000000300;000000000;000000010
00000323580101;000000300;000000000;000000010
00000323580301;000000300;000000000;000000010
00000323580501;000000300;000000000;000000010
00192361624169;000000000;000000100;000000010
00193151670564;000000000;000000100;000000010
00194904310119;000000200;000000100;000000010
00194905262356;000000700;000000100;000000010
00195238099169;000000000;000000100;000000010
00195238099183;000000000;000000100;000000010
00195242393024;000000000;000000100;000000010
00195242581018;000000100;000000000;000000010
00195242581025;000000100;000000100;000000010
00195242581131;000000100;000000000;000000010
00195437324888;000000200;000000000;000000010
00195437324987;000000200;000000000;000000010
00195437325069;000000200;000000000;000000010
00195437325106;000000200;000000000;000000010
00195441258032;000000100;000000100;000000010
00195441258261;000000000;000000100;000000010
00195481100506;000000100;000000100;000000010
00195751107365;000000000;000000100;000000010
00195751187480;000000000;000000100;000000010
00195866064676;000000100;000000100;000000010
00195869037677;000000000;000000100;000000010
00195869044323;000000000;000000100;000000010
00195869044330;000000000;000000200;000000010
00195869044347;000000000;000000200;000000010
00195869044354;000000000;000000100;000000010
00195869044361;000000000;000000200;000000010
00195869044378;000000000;000000200;000000010
00195869044385;000000000;000000200;000000010
00195869044392;000000000;000000200;000000010
00195869044408;000000000;000000100;000000010
00195869044415;000000000;000000100;000000010
00195869044422;000000000;000000100;000000010
00195907137574;000000000;000000100;000000010
00195907735619;000000000;000000100;000000010
00196010854006;000000000;000000100;000000010
00196010880470;000000100;000000000;000000010
00196010880494;000000100;000000100;000000010
00196010880517;000000200;000000000;000000010
00196010880531;000000100;000000000;000000010
00196010881064;000000000;000000100;000000010
00196013097318;000000100;000000100;000000010
00196148825701;000000000;000000100;000000010
00196148837223;000000000;000000100;000000010
00196148837247;000000000;000000100;000000010
00196148837254;000000000;000000200;000000010
00196148837261;000000000;000000200;000000010
00196148837278;000000000;000000100;000000010
00196148837292;000000000;000000100;000000010
00196148844696;000000000;000000100;000000010
00196148844702;000000000;000000100;000000010
00196148844719;000000000;000000200;000000010
00196148844726;000000000;000000200;000000010
00196148844733;000000000;000000300;000000010
00196148844740;000000000;000000200;000000010
00196148844757;000000000;000000200;000000010
00196148844764;000000000;000000200;000000010
00196150864927;000000000;000000100;000000010
00196150864934;000000000;000000100;000000010
00196151858840;000000000;000000100;000000010
00196151858857;000000000;000000200;000000010
00196151858864;000000000;000000200;000000010
00196151858871;000000000;000000200;000000010
00196151858888;000000000;000000200;000000010
00196151858895;000000000;000000200;000000010
00196151858901;000000000;000000100;000000010
00196151858918;000000000;000000100;000000010
00196151858925;000000000;000000100;000000010
00196154137935;000000000;000000100;000000010
00196154137942;000000000;000000100;000000010
00196154137959;000000000;000000200;000000010
00196154137966;000000000;000000200;000000010
00196154137973;000000000;000000200;000000010
00196154137980;000000000;000000200;000000010
00196154137997;000000000;000000200;000000010
00196154138000;000000000;000000200;000000010
00196154138017;000000000;000000200;000000010
00196154138024;000000000;000000100;000000010
00196154140607;000000000;000000100;000000010
00196154141178;000000000;000000100;000000010
00196154152891;000000000;000000100;000000010
00196154152907;000000000;000000100;000000010
00196154152914;000000000;000000100;000000010
00196154152921;000000000;000000100;000000010
00196154152938;000000000;000000200;000000010
00196154152945;000000000;000000100;000000010
00196154152952;000000000;000000200;000000010
00196154152969;000000000;000000200;000000010
00196154152976;000000000;000000200;000000010
00196154152983;000000000;000000200;000000010
00196154152990;000000000;000000200;000000010
00196154153003;000000000;000000100;000000010
00196154153010;000000000;000000100;000000010
00196154626880;000000300;000000000;000000010
00196154626897;000000100;000000000;000000010
00196154626903;000000300;000000000;000000010
00196155533231;000000100;000000000;000000010
00196155533286;000000100;000000000;000000010
00196244323347;000000000;000000100;000000010
00196244719225;000000000;000000100;000000010
00196244734822;000000000;000000100;000000010
00196244916365;000000000;000000100;000000010
00196246250801;000000200;000000100;000000010
00196246603607;000000100;000000100;000000010
00196248066295;000000000;000000100;000000010
00196249222348;000000200;000000100;000000010
00196307089364;000000100;000000100;000000010
00196307089401;000000000;000000100;000000010
00196432427550;000000100;000000000;000000010
00196432427574;000000100;000000000;000000010
00196432427611;000000100;000000100;000000010
00196432521579;000000000;000000100;000000010
00196432648160;000000100;000000100;000000010
00196432651092;000000100;000000100;000000010
00196432686261;000000100;000000100;000000010
00196432761678;000000000;000000200;000000010
00196432818266;000000000;000000100;000000010
00196432821358;000000100;000000100;000000010
00196432821563;000000000;000000100;000000010
00196573116818;000000600;000000000;000000010
00196573116924;000000600;000000000;000000010
00196573138018;000000500;000000100;000000010
00196573392113;000000100;000000100;000000010
00196573396036;000000000;000000100;000000010
00196573595583;000000100;000000100;000000010
00196573596122;000000100;000000100;000000010
00196573596351;000000000;000000100;000000010
00196573597198;000000100;000000100;000000010
00196573611856;000000100;000000100;000000010
00196573686694;000000000;000000100;000000010
00196573722118;000000000;000000100;000000010
00196604265720;000000100;000000100;000000010
00196604398473;000000100;000000100;000000010
00196604404549;000000100;000000000;000000010
00196604404600;000000000;000000100;000000010
00196604404617;000000200;000000100;000000010
00196606203034;000000000;000000100;000000010
00196606203225;000000400;000000100;000000010
00196606981970;000000000;000000100;000000010
00196607634059;000000100;000000100;000000010
00196607827994;000000200;000000000;000000010
00196609823475;000000000;000000100;000000010
00196609823536;000000000;000000200;000000010
00196609823543;000000100;000000000;000000010
00196609823604;000000200;000000000;000000010
00196652858394;000000100;000000000;000000010
00196652858400;000000000;000000100;000000010
00196652866597;000000100;000000100;000000010
00196652866603;000000100;000000100;000000010
00196652866825;000000100;000000100;000000010
00196652867907;000000000;000000100;000000010
00196941309576;000000000;000000100;000000010
00196969131203;000000000;000000100;000000010
00196969131234;000000100;000000100;000000010
00196969131241;000000100;000000100;000000010
00196969131265;000000100;000000100;000000010
00196969131272;000000100;000000100;000000010
00196969131289;000000100;000000100;000000010
00196969131296;000000100;000000100;000000010
00197375085333;000000200;000000100;000000010
00197375085340;000000300;000000100;000000010
00197375108902;000000000;000000100;000000010
00197375108919;000000000;000000100;000000010
00607645519302;000000000;000000100;000000010
00739980463863;000000100;000000100;000000010
00739980463870;000000100;000000100;000000010
00888407233883;000000700;000000100;000000010
03613378310656;000000100;000000100;000000010
03701193186683;000000000;000000100;000000010
03701193189035;000000200;000000100;000000010
03701193193995;000000000;000000100;000000010
03701193194664;000000000;000000100;000000010
03701193199027;000000000;000000100;000000010
04039854689891;000000100;000000000;000000010
04039854689938;000000100;000000000;000000010
04039854689976;000000100;000000000;000000010
04040714854953;000000000;000000100;000000010
04040714854960;000000000;000000100;000000010
04052001971809;000000200;000000000;000000010
04052001971847;000000100;000000000;000000010
04061417062476;000000100;000000000;000000010
04061417062513;000000200;000000000;000000010
04061417062551;000000100;000000000;000000010
04061417062599;000000200;000000000;000000010
04061417062636;000000100;000000000;000000010
04061417062674;000000100;000000000;000000010
04061417067198;000000100;000000000;000000010
04061417067235;000000200;000000000;000000010
04061417067273;000000200;000000000;000000010
04061417067310;000000200;000000000;000000010
04061417067358;000000100;000000000;000000010
04061417067396;000000100;000000000;000000010
04061417809644;000000100;000000000;000000010
04061417809682;000000100;000000000;000000010
04061417809729;000000200;000000000;000000010
04061418073068;000000100;000000000;000000010
04061418073105;000000100;000000000;000000010
04061418073143;000000200;000000000;000000010
04062064388872;000000000;000000100;000000010
04062064401724;000000000;000000100;000000010
04064049147313;000000100;000000100;000000010
04064049150627;000000000;000000100;000000010
04064049150665;000000000;000000100;000000010
04064958097464;000001100;000000100;000000010
04064958121275;000000000;000000100;000000010
04064958180081;000000000;000000100;000000010
04064958221166;000000000;000000100;000000010
04064958315872;000000100;000000100;000000010
04064958333593;000000100;000000100;000000010
04064958348696;000000600;000000100;000000010
04064958361145;000000100;000000100;000000010
04064958370192;000000100;000000100;000000010
04064958440284;000000100;000000100;000000010
04064958440444;000000100;000000000;000000010
04064958446088;000000000;000000100;000000010
04064958446415;000000000;000000100;000000010
04064958446422;000000400;000000300;000000010
04064958478096;000000100;000000000;000000010
04064958478119;000000100;000000000;000000010
04064958478126;000000100;000000000;000000010
04064958478133;000000100;000000000;000000010
04064958546573;000000100;000000200;000000010
04064958568650;000000000;000000100;000000010
04064958586135;000000000;000000100;000000010
04064958591504;000000500;000000100;000000010
04064958593515;000000000;000000100;000000010
04064958597766;000000500;000000100;000000010
04064958611608;000000100;000000100;000000010
04064958615071;000000000;000000200;000000010
04064958618522;000000400;000000200;000000010
04064958626930;000000000;000000100;000000010
04064958627876;000000000;000000100;000000010
04064958639442;000000100;000000100;000000010
04064958650638;000000100;000000100;000000010
04064958695349;000000000;000000100;000000010
04064958718284;000000100;000000100;000000010
04064958725145;000000100;000000000;000000010
04064958725152;000000100;000000100;000000010
04064958725169;000000200;000000000;000000010
04064958725176;000000100;000000000;000000010
04064958725572;000000000;000000100;000000010
04065418354165;000000000;000000800;000000010
04065418354172;000000000;000000100;000000010
04065418354202;000000100;000001600;000000010
04065418354219;000000000;000000300;000000010
04065418354226;000000000;000001500;000000010
04065418354233;000000100;000000000;000000010
04065418354240;000000100;000000000;000000010
04065418354257;000000000;000000100;000000010
04065418354264;000000300;000001600;000000010
04065418354271;000000000;000000400;000000010
04065418354288;000000000;000001300;000000010
04065418354295;000000000;000001300;000000010
04065418354301;000000000;000001100;000000010
04065418354318;000000000;000000800;000000010
04065418354325;000000200;000000200;000000010
04065418354332;000000000;000000400;000000010
04065418354349;000000000;000001300;000000010
04065418354356;000000200;000000800;000000010
04065419332537;000000000;000000100;000000010
04065425790918;000000100;000000100;000000010
04065426915310;000000100;000000100;000000010
04066749402556;000000100;000000100;000000010
04066749502737;000000100;000000000;000000010
04066749502751;000000100;000000000;000000010
04066749502768;000000100;000000000;000000010
04066749502775;000000100;000000000;000000010
04066749506384;000000100;000000000;000000010
04066749506391;000000100;000000000;000000010
04066749506407;000000100;000000000;000000010
04066749506414;000000100;000000000;000000010
04066749506421;000000100;000000000;000000010
04066749506438;000000100;000000000;000000010
04066749506445;000000100;000000000;000000010
04066749506469;000000100;000000000;000000010
04066749506483;000000100;000000000;000000010
04066749506490;000000100;000000000;000000010
04066749506506;000000100;000000000;000000010
04066749506520;000000100;000000000;000000010
04066749506537;000000100;000000000;000000010
04066749506544;000000100;000000000;000000010
04066753979280;000000100;000000000;000000010
04066753979327;000000100;000000000;000000010
04066753979334;000000100;000000000;000000010
04066753979341;000000100;000000000;000000010
04066753979358;000000200;000000000;000000010
04066753979365;000000100;000000000;000000010
04066753979372;000000100;000000000;000000010
04066753979389;000000100;000000000;000000010
04066753979396;000000100;000000000;000000010
04066755702824;000000200;000000000;000000010
04066755702855;000000000;000000100;000000010
04066755702909;000000200;000000000;000000010
04066755702947;000000000;000000100;000000010
04066755702978;000000200;000000000;000000010
04066755702985;000000200;000000000;000000010
04066755703005;000000100;000000000;000000010
04066756148362;000000100;000000000;000000010
04066756148379;000000200;000000000;000000010
04066756148386;000000100;000000000;000000010
04066756148409;000000100;000000000;000000010
04066756148430;000000200;000000000;000000010
04066756148447;000000200;000000000;000000010
04066756148454;000000200;000000000;000000010
04066756148492;000000200;000000000;000000010
04066756148553;000000200;000000000;000000010
04066756159924;000000000;000000100;000000010
04066756182656;000000100;000000000;000000010
04066756387273;000000100;000000100;000000010
04066757022487;000000100;000000100;000000010
04066757022517;000000100;000000100;000000010
04066757026188;000000100;000000100;000000010
04066761303213;000000000;000000100;000000010
04066763637965;000000000;000000100;000000010
04262353223383;000000100;000000100;000000010
04262353226902;000000000;000000100;000000010
04262353228241;000000000;000000100;000000010
04262353229538;000000100;000000100;000000010
04550330388447;000000000;000000100;000000010
04550330388454;000000000;000000100;000000010
04550330388485;000000100;000000100;000000010
04550330388515;000000100;000000100;000000010
04550455778116;000000000;000000100;000000010
04550455778123;000000000;000000100;000000010
04550456204553;000000000;000000100;000000010
04550456204584;000000000;000000100;000000010
04550456795952;000000000;000000100;000000010
04550456821033;000000100;000000000;000000010
04550456821040;000000100;000000000;000000010
04550456821064;000000100;000000000;000000010
04550456821088;000000100;000000000;000000010
04550456821095;000000100;000000000;000000010
04550456821149;000000100;000000000;000000010
04550456821156;000000100;000000000;000000010
04550456821163;000000100;000000000;000000010
04550456821170;000000100;000000000;000000010
04550456821200;000000100;000000000;000000010
04550456834439;000000200;000000100;000000010
05056416097009;000000000;000000100;000000010
05056416097238;000000100;000000100;000000010
05401043022137;000000200;000000000;000000010
05401043022144;000000300;000000000;000000010
05401043022168;000000200;000000000;000000010
05401043022175;000000200;000000000;000000010
05401043022199;000000200;000000000;000000010
05401043022700;000000500;000000000;000000010
05401043022717;000000300;000000000;000000010
05401043022731;000000500;000000000;000000010
05401043022748;000000200;000000000;000000010
05401043022755;000000200;000000000;000000010
05401043022762;000000200;000000000;000000010
05401128144150;000000300;000000100;000000010
05401128305346;000000000;000000100;000000010
05401128335800;000000200;000000100;000000010
09501993757427;000000200;000000000;000000010
09502141341956;000000100;000000200;000000010
09502171129890;000000300;000000000;000000010
09502196191360;000000000;000000100;000000010
09502227679416;000000100;000000000;000000010
09502275793935;000000100;000000000;000000010
09502611154338;000000200;000000000;000000010
09502715564644;000000100;000000000;000000010
09502955713659;000000100;000000200;000000010
09503577638771;000000100;000000000;000000010
09503759439578;000000000;000000100;000000010
09504732879169;000000200;000000000;000000010
09505294521121;000000100;000000000;000000010
09506464288660;000000100;000000000;000000010
09506528966350;000000200;000000000;000000010
09507353234683;000000100;000000000;000000010
09507421396596;000000200;000000000;000000010
09507828113390;000000100;000000000;000000010
09508147761453;000000100;000000000;000000010
09508354655583;000000100;000000000;000000010
09508665997587;000000200;000000000;000000010
09508993832321;000000100;000000000;000000010
09509118199381;000000200;000000000;000000010
09509515295259;000000100;000000000;000000010
09509572681316;000000100;000000000;000000010
09509867628446;000000100;000000000;000000010

View File

@ -1 +0,0 @@
Start FTP Übertragung : 19.09.2023 14:45:28

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,35 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20230927113630 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE `order` CHANGE data data LONGTEXT NOT NULL COMMENT \'(DC2Type:json)\', CHANGE change_date change_date DATETIME DEFAULT CURRENT_TIMESTAMP');
$this->addSql('ALTER TABLE product ADD update_time DATETIME DEFAULT CURRENT_TIMESTAMP, DROP change_date');
$this->addSql('ALTER TABLE stock ADD update_time DATETIME DEFAULT CURRENT_TIMESTAMP, DROP change_date');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE stock ADD change_date DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, DROP update_time');
$this->addSql('ALTER TABLE product ADD change_date DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, DROP update_time');
$this->addSql('ALTER TABLE `order` CHANGE data data LONGTEXT NOT NULL COLLATE `utf8mb4_bin`, CHANGE change_date change_date DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL');
}
}

View File

@ -1,124 +0,0 @@
<?php
namespace App\Command;
use App\Controller\ShopwareController;
use App\Entity\Order;
use App\Helper\Shopware;
use App\Repository\OrdersRepository;
use Doctrine\ORM\Mapping as ORM;
use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Vin\ShopwareSdk\Client\AdminAuthenticator;
use Vin\ShopwareSdk\Client\GrantType\ClientCredentialsGrantType;
use Vin\ShopwareSdk\Data\Context;
use Vin\ShopwareSdk\Data\Criteria;
use Vin\ShopwareSdk\Data\Entity\EntityCollection;
use Vin\ShopwareSdk\Data\Entity\Order\OrderDefinition;
use Vin\ShopwareSdk\Data\Filter\EqualsAnyFilter;
use Vin\ShopwareSdk\Data\Filter\EqualsFilter;
use Vin\ShopwareSdk\Factory\RepositoryFactory;
#[AsCommand(
name: 'sw:get-orders',
description: 'Holt alle offenen Bestellungen von Shopware ab',
)]
class SwGetOrdersCommand extends Command
{
private $orderRepository;
private $logger;
private $sw;
private $orderData;
public function __construct(OrdersRepository $orderRepository, LoggerInterface $logger)
{
$this->orderRepository = $orderRepository;
$this->logger = $logger;
$this->sw = new Shopware($logger);
parent::__construct();
}
protected function configure(): void
{
// $this
// ->addArgument('arg1', InputArgument::OPTIONAL, 'Argument description')
// ->addOption('option1', null, InputOption::VALUE_NONE, 'Option description')
// ;
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
// $arg1 = $input->getArgument('arg1');
//
// if ($arg1) {
// $io->note(sprintf('You passed an argument: %s', $arg1));
// }
//
// if ($input->getOption('option1')) {
// // ...
// }
//offene Bestellungen aus Datenbank holen
$this->orderData = $this->getOrders();
$this->getOrderDetails();
$io->success('Done!');
return Command::SUCCESS;
}
/**
* @return array
*/
private function getOrders():array
{
return $this->orderRepository->findAll();
}
/**
* @return void
*/
public function getOrderDetails(): void
{
//Bestelldetails aus SW holen
$this->getOrdersDataFromSW();
foreach ($this->orderData as $order) {
$this->saveOrdersData($order);
}
}
/**
* holt alle fehlende Bestelldetails aus SW
*/
private function getOrdersDataFromSW(): void
{
foreach ($this->orderData as $value) {
// Bei Shopware API anmelden
$value->setData((array)$this->sw->getOrders($value));
}
}
/**
* @param $orderData
* @return void
*/
private function saveOrdersData($orderData): void
{
$orderData->setStatus = 1;
$this->ordersRepository->add($orderData, true);
}
}

View File

@ -1,111 +0,0 @@
<?php
namespace App\Command;
use App\Helper\Shopware;
use App\Repository\ProductRepository;
use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
#[AsCommand(
name: 'sw:push-stock',
description: 'Übermittelt den Bestand an Shopware',
)]
class SwPushStockCommand extends Command
{
private $productRepository;
private $logger;
public function __construct(ProductRepository $productRepository, LoggerInterface $logger)
{
$this->productRepository = $productRepository;
$this->logger = $logger;
parent::__construct();
}
protected function configure(): void
{
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
// $arg1 = $input->getArgument('arg1');
// if ($arg1) {
// $io->note(sprintf('You passed an argument: %s', $arg1));
// }
//
// if ($input->getOption('option1')) {
// // ...
// }
$shopware = new Shopware($this->logger);
$products = $this->getProducts();
if (count($products) > 0) {
foreach ($products as $product) {
//prüfen ob Shopware ID vorhanden
if($product->getShopwareId() == null) {
$swID = $this->getShopwareId($product);
if($swID != null) {
$product->setShopwareId($swID->id);
}else{
continue;
}
}
$shopware->setProduct($product);
}
}
$io->success('Done.');
return Command::SUCCESS;
}
protected function getProducts()
{
$products = $this->productRepository->findAll();
$arrProducts = array();
foreach ($products as $product) {
$arrProducts[$product->getGtin()] = $product;
}
return $arrProducts;
}
/**
* @param Product $product
* @return int|null
*/
protected function getShopwareId($product)
{
$shopware = new Shopware($this->logger);
$shopwareProduct = $shopware->getShopwareIdbyGtin($product->getGtin());
if($shopwareProduct != null) {
//dump($shopwareProduct);
$product->setShopwareId($shopwareProduct->id);
$this->productRepository->save($product, true);
}
return $shopwareProduct;
}
}

View File

@ -20,14 +20,7 @@ class Product
#[ORM\Column(length: 255)] #[ORM\Column(length: 255)]
private ?string $gtin = null; private ?string $gtin = null;
// #[ORM\Column(length: 255)] #[ORM\Column(name: 'update_time', type: Types::DATETIME_MUTABLE, nullable: true, options: ['default' => 'CURRENT_TIMESTAMP'])]
// private ?string $shopwareId = null;
// #[ORM\Column(length: 255)]
// private ?string $modellnr = null;
// #[ORM\Column(length: 255)]
// private ?string $modellbez = null;
#[ORM\Column(name: 'change_date', type: Types::DATETIME_MUTABLE, nullable: true, options: ['default' => 'CURRENT_TIMESTAMP'])]
private ?\DateTimeInterface $updateTime = null; private ?\DateTimeInterface $updateTime = null;
@ -47,40 +40,6 @@ class Product
return $this; return $this;
} }
// public function getModellNr(): ?string
// {
// return $this->modellnr;
// }
//
// public function setModellNr(string $modellnr): self
// {
// $this->modellnr = $modellnr;
//
// return $this;
// }
// public function getModellBez(): ?string
// {
// return $this->modellbez;
// }
//
// public function setModellBez(string $modellbez): self
// {
// $this->modellbez = $modellbez;
//
// return $this;
// }
//
// public function getShopwareId(): ?string
// {
// return $this->shopwareId;
// }
//
// public function setShopwareId(string $shopwareId): self
// {
// $this->shopwareId = $shopwareId;
//
// return $this;
// }
public function getUpdateTime(): ?\DateTimeInterface public function getUpdateTime(): ?\DateTimeInterface
{ {

View File

@ -29,7 +29,7 @@ class Stock
#[ORM\ManyToOne(inversedBy: 'stocks')] #[ORM\ManyToOne(inversedBy: 'stocks')]
private ?Warehouse $warehouse = null; private ?Warehouse $warehouse = null;
#[ORM\Column(name: 'change_date',type: Types::DATETIME_MUTABLE, nullable: true, options: ['default' => 'CURRENT_TIMESTAMP'])] #[ORM\Column(name: 'update_time',type: Types::DATETIME_MUTABLE, nullable: true, options: ['default' => 'CURRENT_TIMESTAMP'])]
private ?\DateTimeInterface $update_time = null; private ?\DateTimeInterface $update_time = null;

View File

@ -73,30 +73,51 @@ class Ftp
} }
/** /**
* @param string $localFile * Uploads a local file to a remote FTP server.
* @return bool *
* @param string $localFile The local file path to upload.
*
* @throws \Exception If the upload fails or encounters an error.
*
* @return void
*/ */
public function uploadFile(string $localFile): bool public function uploadFile(string $localFile): void
{ {
$ftp = ftp_ssl_connect($this->getHost(),$this->getPort()); $ftp = ftp_ssl_connect($this->getHost(), $this->getPort());
$ftp_login = ftp_login($ftp,$this->getUser(), $this->getPassword());
if (!$ftp) {
throw new \Exception("Failed to connect to FTP server");
}
$ftp_login = ftp_login($ftp, $this->getUser(), $this->getPassword());
if (!$ftp_login) {
throw new \Exception("FTP login failed");
}
ftp_pasv($ftp, true); ftp_pasv($ftp, true);
$remoteFile = 'stock_hiltes.csv'; $remoteFile = 'stock_hiltes.csv';
if($ftp_login){ if (!file_exists($localFile)) {
$r = ftp_put($ftp,$this->getRemoteDir().$remoteFile, $localFile); throw new \Exception("Local file does not exist: $localFile");
ftp_close($ftp);
// dump(array('$r'=>$r,$this->getRemoteDir().$remoteFile, $localFile,'Line'=>__LINE__));
if($r){
// if(ftp_rename($ftp,$this->getRemoteDir().$remoteFile.'.tmp',$this->getRemoteDir().$remoteFile)){
// ftp_close($ftp);
return unlink($localFile); # löschen der datei
//}
}else
return false;
} }
return false; $r = ftp_nb_put($ftp, $this->getRemoteDir() . $remoteFile, $localFile, FTP_BINARY);
while ($r == FTP_MOREDATA) {
// Continue uploading...
$r = ftp_nb_continue($ftp);
}
if ($r != FTP_FINISHED) {
throw new \Exception("File upload failed");
}
ftp_close($ftp);
if (!unlink($localFile)) {
throw new \Exception("Failed to delete local file: $localFile");
}
} }
} }

View File

@ -12,7 +12,6 @@ use App\Repository\WarehouseRepository;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Symfony\Component\Finder\Finder; use Symfony\Component\Finder\Finder;
use App\Helper\App\Helper\SplFileInfo;
class HiltesImport class HiltesImport
{ {
@ -51,18 +50,19 @@ class HiltesImport
foreach ($this->arrData['orgFiles']['data'] as $file) { foreach ($this->arrData['orgFiles']['data'] as $file) {
if(is_file($file['realPath'])){ if(is_file($file['realPath'])){
$count += $this->loadFiles($file['realPath'],$file['fileSize']); $count += $this->loadFiles($file['realPath']);
}else{ }else{
throw new \RuntimeException("Error: File not found - " . $file['realPath']);
return array('error'=>1,'text'=>'Error is_file('.$file['realPath'].')');
} }
} }
dump("Imported $count stocks");
}else $this->logger->info("Imported $count stocks");
return array('success'=>1,'text'=>'No Files'); } else {
}else $this->logger->info('No Files');
return array('error'=>1,'text'=>'Error in getFiles or no file WS.FERTIG'); }
} else {
throw new \RuntimeException('Error in getFiles or no file WS.FERTIG');
}
} }
/** /**
@ -82,7 +82,6 @@ class HiltesImport
} }
if ($finder->hasResults()) { if ($finder->hasResults()) {
#dump($finder);
foreach ($finder as $file) { foreach ($finder as $file) {
if($file->getExtension() != 'Ende') { if($file->getExtension() != 'Ende') {
//prüfen ob Ende Datei vorhanden ist //prüfen ob Ende Datei vorhanden ist
@ -103,132 +102,92 @@ class HiltesImport
} }
protected function getStocks() protected function getStocks()
{ {
$r = $this->stockRepository->findAll(); $stocks = $this->stockRepository->findAll();
foreach ($r as $v) {
$this->cachedStockIds[$v->getProductId()][$v->getWarehouse()->getId()] = $v; foreach ($stocks as $stock) {
$this->cachedStockIds[$stock->getProductId()][$stock->getWarehouse()->getId()] = $stock;
} }
#dd($this->cachedStockIds);
} }
/** protected function loadFiles($srcFile)
* @param $srcFile
* @param $size
* @return int
*/
protected function loadFiles($srcFile,$size)
{ {
#*** Check File **** try {
#dd($srcFile);
$file = new \SplFileObject($srcFile); $file = new \SplFileObject($srcFile);
#dump($file->getRealPath());
$this->logger->info('Starte Import von ' . $file->getRealPath()); $this->logger->info('Starte Import von ' . $file->getRealPath());
dump('Starte Import von ' . $file->getRealPath()); $count = 0;
$c = 0;
while (!$file->eof()) { while (!$file->eof()) {
$this->processLine($file->fgets());
// #*** Convertiert die Zeile in UTF8 $count++;
// $data = iconv('ISO-8859-1','UTF-8',$file->fgets()); }
// }catch (\Exception $e) {
// #*** Überspringt die erste Zeile $this->logger->error($e->getMessage());
// if($c == 0){
// $c++;
// continue;
// }
#*** Speichert die Zeile
$this->switchSaveData($this->splitLine($file->fgets()));
$c++;
} }
//unlink($file->getRealPath()); unlink($srcFile);
unlink($srcFile . '.Ende');
dump($c . ' Datensätze importiert'); $this->logger->info($count . ' Datensätze importiert');
return $c;
} return $count;
protected function splitLine($str){
return str_getcsv($str,';','"');
} }
/** protected function processLine($line)
* Hier wird festgelegt wo und wie die Zeile gespeichert wird {
* $data = str_getcsv($line, ';', '"');
* @param array $arr
* @return void
*/
protected function switchSaveData(array $arr){
if(!empty($arr[0])){
#*** Leerzeichen löschen bei den einzelnen Einträgen **********
$this->trimArray($arr);
#***
$this->saveData($arr);
if (!empty($data[0])) {
$this->trimArray($data);
$this->saveData($data);
} }
} }
protected function trimArray(Array &$arr){
protected function trimArray(array &$arr)
{
foreach ($arr as $k=>$v) { foreach ($arr as $k=>$v) {
$arr[$k] = trim($v); $arr[$k] = trim($v);
} }
} }
protected function saveData(array $data)
{
$warehouse = $this->checkWarehouseName($data[3]);
$gtin = $this->checkProduct(substr($data[0], 1));
/** if (!empty($warehouse) && !empty($this->cachedStockIds[$gtin][$warehouse->getId()])) {
* @param array $arr $stock = $this->cachedStockIds[$gtin][$warehouse->getId()];
* @return void
*/
protected function saveData(Array $arr){
//dump($arr);
#*** Speichert und/oder Holt WareHouse ab
$wareHouse = $this->checkWareHouseName($arr[3]);
#*** PRodukt wird angelegt oder geholt ****
#filiale;etikettnr;menge;
$gtin = $this->checkProduct(substr($arr[0],1));
#*** Ermitteln ob schon ein ID vorhanden für ProdId und WareHouseId
if(!empty($wareHouse) && !empty($this->cachedStockIds[$gtin][$wareHouse->getId()])){
$stock = $this->cachedStockIds[$gtin][$wareHouse->getId()];
}else{ }else{
$stock = new Stock(); $stock = new Stock();
$stock->setProductId($gtin); $stock->setProductId($gtin);
$stock->setWarehouse($wareHouse); $stock->setWarehouse($warehouse);
} }
//dd('CHCEK');
$stock->setInstock((int)$arr[1]/100); $stock->setInstock((int) $data[1] / 100);
#$stock->setWarehouseId($wareHouseId);
//dump($stock);
$this->stockRepository->save($stock,true); $this->stockRepository->save($stock,true);
} }
/** private function checkWarehouseName(string $warehouseName)
* @param string $wareHouseName {
* @return Warehouse|false|int|mixed|null $warehouseName = ltrim($warehouseName, 0);
*/
private function checkWareHouseName(string $wareHouseName){
$wareHouseName = ltrim($wareHouseName,0); if (empty($this->cachedWarehouseIds[$warehouseName])) {
#*** WEnn keine geCached Id Vorhanden $warehouse = $this->warehouseRepository->findOneBy(['id' => (int) $warehouseName]);
if(empty($this->cachedWarehouseIds[$wareHouseName])){
#*** Check if (empty($warehouse)) {
$warehouse2 = $this->warehouseRepository->findOneBy(['id'=> (int)$wareHouseName]);
if(empty($warehouse2)){
$warehouse = new Warehouse(); $warehouse = new Warehouse();
$warehouse->setId((int)$wareHouseName); $warehouse->setId((int) $warehouseName);
$warehouse->setName($wareHouseName); $warehouse->setName($warehouseName);
#
$this->warehouseRepository->save($warehouse,true); $this->warehouseRepository->save($warehouse,true);
$this->cachedWarehouseIds[$warehouseName] = $warehouse;
$this->cachedWarehouseIds[$wareHouseName] = $warehouse;
#*****************
#$warehouse2 = $this->warehouseRepository->findOneBy(['id'=> (int)$wareHouseName]);
#dump($warehouse2);
}else{ }else{
$this->cachedWarehouseIds[$wareHouseName] = $warehouse2; $this->cachedWarehouseIds[$warehouseName] = $warehouse;
}
} }
if (!empty($this->cachedWarehouseIds[$warehouseName])) {
return $this->cachedWarehouseIds[$warehouseName];
} }
if(!empty($this->cachedWarehouseIds[$wareHouseName]))
return $this->cachedWarehouseIds[$wareHouseName];
return false; return false;
} }
@ -239,28 +198,21 @@ class HiltesImport
private function checkProduct(string $gtin){ private function checkProduct(string $gtin){
#*** WEnn keine geCached Id Vorhanden #*** WEnn keine geCached Id Vorhanden
if(empty($this->cachedProdIds[$gtin])){ if(empty($this->cachedProdIds[$gtin])){
#*** Check $product = $this->productRepository->findOneBy(['gtin' => $gtin]);
//dump($gtin);
$prod2 = $this->productRepository->findOneBy(['gtin'=> $gtin]); if (empty($product)) {
//dump($prod2); $product = new Product();
if(empty($prod2)){ $product->setGtin($gtin);
$prod = new Product(); $this->cachedProdIds[$gtin] = $this->productRepository->save($product, true);
$prod->setGtin($gtin);
// $prod->setModellNr($modellNr);
// $prod->setModellBez($modellBez);
// $prod->setShopwareId("");
#
$this->cachedProdIds[$gtin] = $this->productRepository->save($prod,true);
#*****************
//$prod2 = $this->productRepository->findOneBy(['gtin'=> $gtin]);
#dump($warehouse2);
}else{ }else{
$this->cachedProdIds[$gtin] = $prod2->getId(); $this->cachedProdIds[$gtin] = $product->getId();
}
} }
} if (!empty($this->cachedProdIds[$gtin])) {
if(!empty($this->cachedProdIds[$gtin]))
return $this->cachedProdIds[$gtin]; return $this->cachedProdIds[$gtin];
}
return false; return false;
} }
} }

View File

@ -1,132 +0,0 @@
<?php
namespace App\Helper;
use Psr\Log\LoggerInterface;
use Vin\ShopwareSdk\Client\AdminAuthenticator;
use Vin\ShopwareSdk\Client\GrantType\ClientCredentialsGrantType;
use Vin\ShopwareSdk\Data\Context;
use Vin\ShopwareSdk\Data\Criteria;
use Vin\ShopwareSdk\Data\Entity\Order\OrderDefinition;
use Vin\ShopwareSdk\Data\Entity\Product\ProductDefinition;
use Vin\ShopwareSdk\Data\Filter\EqualsFilter;
use Vin\ShopwareSdk\Factory\RepositoryFactory;
class Shopware
{
private $logger;
public function __construct(LoggerInterface $logger)
{
$this->logger = $logger;
//parent::__construct();
}
/**
* Anmeldung bei der Shopwar API
* @return \Vin\ShopwareSdk\Data\AccessToken|void
*/
public function shopwareAuth()
{
try {
$grantType = new ClientCredentialsGrantType($_ENV['SHOPWARE_API_ID'], $_ENV['SHOPWARE_API_KEY']);
$adminClient = new AdminAuthenticator($grantType, $_ENV['SHOPWARE_API_URL']);
return $adminClient->fetchAccessToken();
} catch (\Exception $e) {
dump($e->getMessage());
$this->logger->error($e->getMessage());
}
}
/**
* @param string $orderId
* @return OrderDefinition
*/
public function getOrders(string $orderId):OrderDefinition{
$context = new Context($_ENV['SHOPWARE_API_URL'], $this->shopwareAuth());
// Create the repository for the entity
$orderRepository = RepositoryFactory::create(OrderDefinition::ENTITY_NAME);
// Create the criteria
$criteria = new Criteria();
$criteria->addFilter(new EqualsFilter('id', $orderId));
//Beziehungen zu Produkten holen
$criteria->addAssociation('lineItems');
$orders = false;
try {
$orders = $orderRepository->search($criteria, $context);
//$value->setData((array)$orders->getEntities());
} catch (\Exception $e) {
$this->logger->error($e->getMessage());
}
return $orders->getEntities();
}
/**
* @param $prod
*/
public function setProduct($prod): void
{
$context = new Context($_ENV['SHOPWARE_API_URL'], $this->shopwareAuth());
//prüfen ob Shopware Produktid schon bekannt ist
if($prod->getShopwareId() == null){
$this->logger->error('Shopware Produkt ID ist nicht bekannt');
return;
}
$productRepository = RepositoryFactory::create(ProductDefinition::ENTITY_NAME);
#dump($prod->getShopwareId());
try {
$productRepository->update([
'id' => $prod->getShopwareId(),
'stock' => $prod->getStock()->getInStock()
], $context);
} catch (\ShopwareResponseException $e) {
$this->logger->error($e->getResponse());
}
}
public function getShopwareIdbyGtin($gtin)
{
$context = new Context($_ENV['SHOPWARE_API_URL'], $this->shopwareAuth());
// Create the repository for the entity
$productRepository = RepositoryFactory::create(ProductDefinition::ENTITY_NAME);
// Create the criteria
$criteria = new Criteria();
$criteria->addFilter(new EqualsFilter('ean', $gtin));
$products = $productRepository->search($criteria, $context);
//dump($products->getEntities()->first());
if($products->count() > 0){
$productCollection = $products->getEntities();
return $productCollection->first();
//$prod->setShopwareId($products->getEntities()->first()->getId());
//return $products->getEntities()->first();
}else{
return null;
}
}
}

View File

@ -1,15 +0,0 @@
<?php
namespace App\Tests\EventSubscriber;
use App\EventSubscriber\SlackNotifySubscriber;
use PHPUnit\Framework\TestCase;
class SlackNotifySubscriberTest extends TestCase
{
public function testSendSlack()
{
}
}

View File

@ -1,16 +0,0 @@
<?php
namespace App\Tests;
use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase;
class OrdersTest extends ApiTestCase
{
public function testSomething(): void
{
$response = static::createClient()->request('GET', '/');
$this->assertResponseIsSuccessful();
$this->assertJsonContains(['@id' => '/']);
}
}

View File

@ -1,13 +0,0 @@
<?php
namespace App\Tests\Shopware;
use PHPUnit\Framework\TestCase;
class OrdersTest extends TestCase
{
public function testSomething(): void
{
$this->assertTrue(true);
}
}