Files
kupshop/bundles/External/VarioBundle/Admin/Tabs/DeliveryTab.php
2025-08-02 16:30:27 +02:00

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';
}
}