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,12 +7,6 @@ foreach ( $this -> apilo_carrier_account_list as $carrier_account )
|
||||
{
|
||||
$carrier_accounts[ $carrier_account['id'] ] = $carrier_account['name'];
|
||||
}
|
||||
// sellasist_shipments_methods
|
||||
$sellasist_shipments_methods[''] = '--- wybierz metodę wysyłki ---';
|
||||
foreach ( $this -> sellasist_shipments_methods as $sellasist_shipments_method )
|
||||
{
|
||||
$sellasist_shipments_methods[ $sellasist_shipments_method['id'] ] = $sellasist_shipments_method['title'];
|
||||
}
|
||||
ob_start();
|
||||
?>
|
||||
<div id="settings-tabs">
|
||||
@@ -90,14 +84,6 @@ ob_start();
|
||||
'values' => $carrier_accounts,
|
||||
'value' => $this -> transport_details['apilo_carrier_account_id']
|
||||
] );?>
|
||||
<!-- sellasist_shipments_methods -->
|
||||
<?= \Html::select( [
|
||||
'label' => 'Metoda wysyłki z Sellasist',
|
||||
'name' => 'sellasist_shipment_method_id',
|
||||
'id' => 'sellasist_shipment_method_id',
|
||||
'values' => $sellasist_shipments_methods,
|
||||
'value' => $this -> transport_details['sellasist_shipment_method_id']
|
||||
] );?>
|
||||
</div>
|
||||
<div>
|
||||
<? if ( is_array( $this -> payments_list ) ): foreach ( $this -> payments_list as $payment_method ):?>
|
||||
|
||||
@@ -5,12 +5,6 @@ foreach ( $this -> apilo_carrier_account_list as $carrier_account )
|
||||
{
|
||||
$carrier_accounts[ $carrier_account['id'] ] = $carrier_account['name'];
|
||||
}
|
||||
// sellasist_shipments_methods
|
||||
$sellasist_shipments_methods = [];
|
||||
foreach ( $this -> sellasist_shipments_methods as $sellasist_shipments_method )
|
||||
{
|
||||
$sellasist_shipments_methods[ $sellasist_shipments_method['id'] ] = $sellasist_shipments_method['title'];
|
||||
}
|
||||
|
||||
$grid = new \grid( 'pp_shop_transports' );
|
||||
$grid -> gdb_opt = $gdb;
|
||||
@@ -67,12 +61,6 @@ $grid -> columns_view = [
|
||||
'th' => [ 'class' => 'g-center' ],
|
||||
'td' => [ 'class' => 'g-center' ],
|
||||
'replace' => [ 'array' => $carrier_accounts ],
|
||||
], [
|
||||
'name' => 'Typ kuriera Sellasist',
|
||||
'db' => 'sellasist_shipment_method_id',
|
||||
'th' => [ 'class' => 'g-center' ],
|
||||
'td' => [ 'class' => 'g-center' ],
|
||||
'replace' => [ 'array' => $sellasist_shipments_methods ],
|
||||
], [
|
||||
'name' => 'Edytuj',
|
||||
'action' => [ 'type' => 'edit', 'url' => '/admin/shop_transport/transport_edit/id=[id]' ],
|
||||
|
||||
Reference in New Issue
Block a user