Ignore:
Timestamp:
Apr 1, 2020, 12:43:07 AM (5 years ago)
Author:
chronos
Message:
  • Added: New SpeedLimit table to support network speed limit groups.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Customer/Customer.php

    r831 r869  
    9999    ));
    100100    $this->System->FormManager->RegisterClass('ServiceCustomerRel', array(
    101       'Title' => 'Vztahy služba - zákazník',
     101      'Title' => 'Služby zákazníka',
    102102      'Table' => 'ServiceCustomerRel',
    103103      'Items' => array(
    104104        'Service' => array('Type' => 'TService', 'Caption' => 'Služba', 'Default' => ''),
    105105        'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''),
     106        'SpeedLimit' => array('Type' => 'TNetworkSpeedLimit', 'Caption' => 'Omezení rychlosti', 'Default' => null, 'Null' => true),
     107        'Devices' => array('Type' => 'TNetworkDeviceListService', 'Caption' => 'Zařízení', 'Default' => ''),
    106108        'ChangeAction' => array('Type' => 'TActionEnum', 'Caption' => 'Změna - akce', 'Default' => '', 'Null' => true),
    107109        'ChangeTime' => array('Type' => 'DateTime', 'Caption' => 'Změna - čas', 'Default' => '', 'Null' => true, 'NotInList' => true),
     
    135137      'Id' => 'Id',
    136138      'Ref' => 'Customer',
     139      'Filter' => '1',
     140    ));
     141    $this->System->FormManager->RegisterFormType('TNetworkDeviceListService', array(
     142      'Type' => 'ManyToOne',
     143      'Table' => 'NetworkDevice',
     144      'Id' => 'Id',
     145      'Ref' => 'Service',
    137146      'Filter' => '1',
    138147    ));
Note: See TracChangeset for help on using the changeset viewer.