Ignore:
Timestamp:
Jan 1, 2015, 2:18:20 PM (10 years ago)
Author:
chronos
Message:
  • Removed: Unused table NetworkSegment which was previously used to compute exact member participation on device and consumption payment. Now consumption is handled with customer Service table.
File:
1 edited

Legend:

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

    r712 r715  
    262262      ),
    263263    ));
    264     $this->System->FormManager->RegisterClass('NetworkSegment', array(
    265       'Title' => 'Úsek sítě',
    266       'Table' => 'NetworkSegment',
    267       'Items' => array(
    268         'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
    269         'Price' => array('Type' => 'Integer', 'Caption' => 'Cena', 'Default' => '0', 'Suffix' => 'Kč', 'ReadOnly' => true),
    270         'Parent' => array('Type' => 'TNetworkSegment', 'Caption' => 'Nadřazený', 'Default' => '', 'Null' => true),
    271         'Users' => array('Type' => 'Integer', 'Caption' => 'Uživatelů', 'Default' => '0', 'ReadOnly' => true),
    272         'Consumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba', 'Default' => '0', 'ReadOnly' => true, 'Suffix' => 'Wattů'),
    273         'UsersOverheads' => array('Type' => 'Integer', 'Caption' => 'Podílníků', 'Default' => '0', 'ReadOnly' => true),
    274       ),
    275     ));
    276264    $this->System->FormManager->RegisterClass('DeviceAPIType', array(
    277265      'Title' => 'Typ API zařízení',
     
    406394      'Filter' => '1',
    407395    ));
    408     $this->System->FormManager->RegisterFormType('TNetworkSegment', array(
    409         'Type' => 'Reference',
    410         'Table' => 'NetworkSegment',
    411         'Id' => 'Id',
    412         'Name' => 'Name',
    413         'Filter' => '1',
    414     ));
    415    
    416396  }
    417397
Note: See TracChangeset for help on using the changeset viewer.