update
This commit is contained in:
@@ -124,29 +124,6 @@ return static function (Application $app): void {
|
||||
$apaczkaIntegrationRepository,
|
||||
$apaczkaApiClient
|
||||
);
|
||||
$allegroIntegrationController = new AllegroIntegrationController(
|
||||
$template,
|
||||
$translator,
|
||||
$auth,
|
||||
$allegroIntegrationRepository,
|
||||
$allegroStatusMappingRepository,
|
||||
$allegroPullStatusMappingRepository,
|
||||
$app->orderStatuses(),
|
||||
$cronRepository,
|
||||
$allegroOAuthClient,
|
||||
new AllegroOrderImportService(
|
||||
$allegroIntegrationRepository,
|
||||
$allegroTokenManager,
|
||||
new AllegroApiClient(),
|
||||
new OrderImportRepository($app->db()),
|
||||
$allegroStatusMappingRepository,
|
||||
new OrdersRepository($app->db()),
|
||||
new AllegroPullStatusMappingRepository($app->db())
|
||||
),
|
||||
$allegroStatusDiscoveryService,
|
||||
(string) $app->config('app.url', ''),
|
||||
$allegroDeliveryMappingController
|
||||
);
|
||||
$apaczkaIntegrationController = new ApaczkaIntegrationController(
|
||||
$template,
|
||||
$translator,
|
||||
@@ -277,6 +254,30 @@ return static function (Application $app): void {
|
||||
$shipmentPackageRepositoryForOrders,
|
||||
$receiptService
|
||||
);
|
||||
$allegroIntegrationController = new AllegroIntegrationController(
|
||||
$template,
|
||||
$translator,
|
||||
$auth,
|
||||
$allegroIntegrationRepository,
|
||||
$allegroStatusMappingRepository,
|
||||
$allegroPullStatusMappingRepository,
|
||||
$app->orderStatuses(),
|
||||
$cronRepository,
|
||||
$allegroOAuthClient,
|
||||
new AllegroOrderImportService(
|
||||
$allegroIntegrationRepository,
|
||||
$allegroTokenManager,
|
||||
new AllegroApiClient(),
|
||||
new OrderImportRepository($app->db()),
|
||||
$allegroStatusMappingRepository,
|
||||
new OrdersRepository($app->db()),
|
||||
new AllegroPullStatusMappingRepository($app->db()),
|
||||
$automationService
|
||||
),
|
||||
$allegroStatusDiscoveryService,
|
||||
(string) $app->config('app.url', ''),
|
||||
$allegroDeliveryMappingController
|
||||
);
|
||||
$printJobRepository = new PrintJobRepository($app->db());
|
||||
$ordersController = new OrdersController($template, $translator, $auth, $app->orders(), $shipmentPackageRepositoryForOrders, $receiptRepository, $receiptConfigRepository, $emailSendingService, $emailTemplateRepository, $emailMailboxRepository, $app->basePath('storage'), $printJobRepository, $shopproIntegrationsRepository, $automationService);
|
||||
$receiptController = new ReceiptController(
|
||||
|
||||
Reference in New Issue
Block a user