Changeset 765 for trunk/Modules/Customer/Customer.php
- Timestamp:
- Nov 6, 2015, 8:40:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Customer/Customer.php
r755 r765 34 34 'UserRel' => array('Type' => 'TUserCustomerRelListCustomer', 'Caption' => 'Přiřazení uživatelé', 'Default' => ''), 35 35 'ServiceRel' => array('Type' => 'TServiceCustomerRelListCustomer', 'Caption' => 'Placené služby', 'Default' => ''), 36 'SupportActivity' => array('Type' => 'TSupportActivityListCustomer', 'Caption' => 'Zákaznická podpora', 'Default' => ''), 36 37 'Consumption' => array('Type' => 'TCustomerStockSerialNumber', 'Caption' => 'Spotřeba zařízení', 'Default' => ''), 37 38 ), … … 148 149 'Filter' => '1', 149 150 )); 151 $this->System->FormManager->RegisterClass('SupportActivity', array( 152 'Title' => 'Zákaznická podpora', 153 'Table' => 'SupportActivity', 154 'DefaultSortColumn' => 'Time', 155 'Items' => array( 156 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => ''), 157 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''), 158 'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''), 159 'User' => array('Type' => 'TUser', 'Caption' => 'Pracovník', 'Default' => ''), 160 ), 161 )); 162 $this->System->FormManager->RegisterFormType('TSupportActivityListCustomer', array( 163 'Type' => 'ManyToOne', 164 'Table' => 'SupportActivity', 165 'Id' => 'Id', 166 'Ref' => 'Customer', 167 'Filter' => '1', 168 )); 150 169 151 170 $this->System->ModuleManager->Modules['IS']->RegisterDashboardItem('Customer',
Note:
See TracChangeset
for help on using the changeset viewer.