Changeset 581 for trunk/Modules/Network/Network.php
- Timestamp:
- Oct 14, 2013, 12:26:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r572 r581 132 132 133 133 $this->System->FormManager->RegisterClass('Subject', array( 134 'Title' => 'Subjekty', 135 'Table' => 'Subject', 136 'DefaultSortColumn' => 'Name', 137 'Items' => array( 138 'Id' => array('Type' => 'Integer', 'Caption' => 'Identifikace', 'Default' => '', 'ReadOnly' => true), 139 'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''), 140 'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => ''), 141 'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => ''), 142 'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => ''), 143 'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''), 144 'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''), 145 'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''), 146 'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '', 'Null' => true), 147 'WWW' => array('Type' => 'Hyperlink', 'Caption' => 'WWW', 'Default' => ''), 148 'Note' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''), 149 'Customer' => array('Type' => 'TMemberListSubject', 'Caption' => 'Členové', 'Default' => ''), 150 'Operations' => array('Type' => 'TFinanceOperationListSubject', 'Caption' => 'Platby', 'Default' => ''), 151 'Invoices' => array('Type' => 'TFinanceInvoiceListSubject', 'Caption' => 'Faktury', 'Default' => ''), 152 ), 134 'Title' => 'Subjekty', 135 'Table' => 'Subject', 136 'DefaultSortColumn' => 'Name', 137 'Items' => array( 138 'Id' => array('Type' => 'Integer', 'Caption' => 'Identifikace', 'Default' => '', 'ReadOnly' => true), 139 'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''), 140 'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => ''), 141 'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => ''), 142 'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => ''), 143 'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''), 144 'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''), 145 'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''), 146 'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '', 'Null' => true), 147 'WWW' => array('Type' => 'Hyperlink', 'Caption' => 'WWW', 'Default' => ''), 148 'Note' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''), 149 'Customer' => array('Type' => 'TMemberListSubject', 'Caption' => 'Členové', 'Default' => ''), 150 'Operations' => array('Type' => 'TFinanceOperationListSubject', 'Caption' => 'Platby', 'Default' => ''), 151 'Invoices' => array('Type' => 'TFinanceInvoiceListSubject', 'Caption' => 'Faktury', 'Default' => ''), 152 'Payment' => array('Type' => 'Float', 'Caption' => 'Placení', 'Default' => '', 153 'ReadOnly' => true, 'Suffix' => 'Kč', 'SQL' => '(SELECT SUM(`FinanceOperation`.`Value`) FROM `FinanceOperation` '. 154 'WHERE `FinanceOperation`.`Subject`=#Id) - (SELECT SUM(`FinanceInvoice`.`Value`) FROM `FinanceInvoice` '. 155 'WHERE `FinanceInvoice`.`Subject`=#Id)'), 156 ), 153 157 )); 154 158 $this->System->FormManager->RegisterClass('NetworkDomainAlias', array(
Note:
See TracChangeset
for help on using the changeset viewer.