ver. 0.276: ShopOrder migration, Integrations cleanup, global admin search
This commit is contained in:
@@ -3,6 +3,7 @@ namespace admin\Controllers;
|
||||
|
||||
use Domain\Transport\TransportRepository;
|
||||
use Domain\PaymentMethod\PaymentMethodRepository;
|
||||
use Domain\Integrations\IntegrationsRepository;
|
||||
use admin\ViewModels\Common\PaginatedTableViewModel;
|
||||
use admin\ViewModels\Forms\FormAction;
|
||||
use admin\ViewModels\Forms\FormEditViewModel;
|
||||
@@ -314,7 +315,10 @@ class ShopTransportController
|
||||
|
||||
private function getApiloCarrierAccounts(): array
|
||||
{
|
||||
$rawSetting = \admin\factory\Integrations::apilo_settings('carrier-account-list');
|
||||
global $mdb;
|
||||
|
||||
$integrationsRepository = new IntegrationsRepository( $mdb );
|
||||
$rawSetting = $integrationsRepository -> getSetting( 'apilo', 'carrier-account-list' );
|
||||
$raw = null;
|
||||
|
||||
if (is_array($rawSetting)) {
|
||||
|
||||
Reference in New Issue
Block a user