wip: booking process

This commit is contained in:
Björn Fromme committed 2025-07-14 17:15:15 +02:00
1 parent a55e30e12d
commit bef18971c3
45 files changed
+688 -270

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
namespace App\BusProNet\XmlParser;
use App\BusProNet\Constants;
use App\BusProNet\Model\Service;
use Symfony\Component\DomCrawler\Crawler;
@@ -30,7 +31,7 @@ class ServicesParser extends AbstractParser
}, $this->stringToArray($node->attr('einzelpreis', ''), '/')
);
$service->individualPrice = array_combine($mapping, $individualPrices);
if (Service::CATEGORY_TRANSPORTATION === $category) {
if (Constants::CATEGORY_TRANSPORTATION === $category) {
$service->direction = $node->attr('richtung');
}