34 lines
667 B
PHP
34 lines
667 B
PHP
<?php
|
|
|
|
namespace External\VarioBundle\Admin\Tabs;
|
|
|
|
use KupShop\AdminBundle\Admin\WindowTab;
|
|
|
|
class DeliveryTab extends WindowTab
|
|
{
|
|
protected $title = 'flapAdditional';
|
|
protected $template = 'window/deliveryDelivery.vario.tpl';
|
|
|
|
public static function getTypes()
|
|
{
|
|
return [
|
|
'deliveryDelivery' => 1,
|
|
];
|
|
}
|
|
|
|
public function handleUpdate()
|
|
{
|
|
$data = $this->getData();
|
|
|
|
$customData = $this->window->getCustomData();
|
|
$customData['vario_name'] = $data['vario_name'];
|
|
|
|
$this->window->setCustomData($customData);
|
|
}
|
|
|
|
public function getLabel()
|
|
{
|
|
return 'Vario';
|
|
}
|
|
}
|