Ignore:
Timestamp:
Apr 16, 2021, 9:57:28 PM (4 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

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

    r900 r907  
    1818    $this->Dependencies = array(ModuleModuleManager::GetName());
    1919    $this->Models = array(UnitOfMeasure::GetClassName(), ActionIcon::GetClassName(), ActionGroup::GetClassName(),
    20       ActionType::GetClassName(), Action::GetClassName(), Language::GetClassName(), Country::GetClassName());
     20      ActionType::GetClassName(), Action::GetClassName(), Language::GetClassName(), Country::GetClassName(), AddressPlace::GetClassName());
    2121  }
    2222
     
    9393      'Filter' => '1',
    9494    ));
     95    $this->System->FormManager->RegisterFormType('TAddressPlace', array(
     96      'Type' => 'Reference',
     97      'Table' => 'AddressPlace',
     98      'Id' => 'Id',
     99      'Name' => 'CONCAT_WS(" ", NULLIF(AddressPlace.Town, ""), NULLIF(AddressPlace.HouseNumber, ""))',
     100      'Filter' => '1',
     101    ));
    95102    $this->System->FormManager->RegisterFormType('TUnitOfMeasure', array(
    96103      'Type' => 'Reference',
Note: See TracChangeset for help on using the changeset viewer.