Integrations DI refactor, remove Sellasist/Baselinker, fix product-edit encoding (0.263)
- New: Domain\Integrations\IntegrationsRepository + admin\Controllers\IntegrationsController (DI) - Cleanup: removed all Sellasist and Baselinker integrations from entire project - Fix: product-edit.php Polish characters (UTF-8/CP1250 double-encoding) - Update: factory\Integrations as facade (Apilo + ShopPRO only) - Tests: 212 tests, 577 assertions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,19 +7,6 @@ foreach ( $this -> apilo_order_status_list as $apilo_status )
|
||||
{
|
||||
$apilo_status_types_list[ $apilo_status['id'] ] = $apilo_status['name'];
|
||||
}
|
||||
// statusy sellasist
|
||||
$sellasist_status_types_list[''] = '--- wybierz status sellasist ---';
|
||||
foreach ( $this -> sellasist_status_types_list as $sellasist_status )
|
||||
{
|
||||
$sellasist_status_types_list[ $sellasist_status['id'] ] = $sellasist_status['name'];
|
||||
}
|
||||
|
||||
// baselinker order_status_list
|
||||
$baselinker_order_status_list[''] = '--- wybierz status baselinker ---';
|
||||
foreach ( $this -> baselinker_order_status_list as $baselinker_status )
|
||||
{
|
||||
$baselinker_order_status_list[ $baselinker_status['id'] ] = $baselinker_status['name'];
|
||||
}
|
||||
ob_start();
|
||||
?>
|
||||
<div id="settings-tabs">
|
||||
@@ -49,22 +36,6 @@ ob_start();
|
||||
'values' => $apilo_status_types_list,
|
||||
'value' => $this -> status['apilo_status_id']
|
||||
] );?>
|
||||
<!-- statust sellasist -->
|
||||
<?= \Html::select( [
|
||||
'label' => 'Status z Sellasist',
|
||||
'name' => 'sellasist_status_id',
|
||||
'id' => 'sellasist_status_id',
|
||||
'values' => $sellasist_status_types_list,
|
||||
'value' => $this -> status['sellasist_status_id']
|
||||
] );?>
|
||||
<!-- status baselinker -->
|
||||
<?= \Html::select( [
|
||||
'label' => 'Status z Baselinker',
|
||||
'name' => 'baselinker_status_id',
|
||||
'id' => 'baselinker_status_id',
|
||||
'values' => $baselinker_order_status_list,
|
||||
'value' => $this -> status['baselinker_status_id']
|
||||
] );?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user