Changeset 712 for trunk/Modules
- Timestamp:
- Dec 29, 2014, 12:56:55 AM (10 years ago)
- Location:
- trunk/Modules
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Finance.php
r711 r712 416 416 ), 417 417 )); 418 $this->System->FormManager->RegisterFormType('TFinanceTreasury', array( 419 'Type' => 'Reference', 420 'Table' => 'FinanceTreasury', 421 'Id' => 'Id', 422 'Name' => 'Name', 423 'Filter' => '1', 424 )); 418 425 $this->System->FormManager->RegisterClass('FinanceBankAccount', array( 419 426 'Title' => 'Účty', … … 442 449 ), 443 450 )); 451 $this->System->FormManager->RegisterFormType('TFinanceBankAccount'. array( 452 'Type' => 'Reference', 453 'Table' => 'FinanceBankAccount', 454 'Id' => 'Id', 455 'Name' => 'Comment', 456 'Filter' => '1', 457 )); 444 458 $this->System->FormManager->RegisterClass('FinanceBank', array( 445 459 'Title' => 'Banky', … … 451 465 'Country' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''), 452 466 ), 467 )); 468 $this->System->FormManager->RegisterFormType('TFinanceBank', array( 469 'Type' => 'Reference', 470 'Table' => 'FinanceBank', 471 'Id' => 'Id', 472 'Name' => 'CONCAT(Name, " (", Code, ")")', 473 'Filter' => '1', 453 474 )); 454 475 $this->System->FormManager->RegisterClass('Currency', array( … … 507 528 'BeforeInsert' => array($this, 'BeforeInsertFinanceOperation'), 508 529 )); 530 $this->System->FormManager->RegisterFormType('TContract', array( 531 'Type' => 'Reference', 532 'Table' => 'Contract', 533 'Id' => 'Id', 534 'Name' => 'BillCode', 535 'Filter' => '1', 536 )); 509 537 $this->System->FormManager->RegisterFormType('TFinanceVAT', array( 510 538 'Type' => 'Reference', … … 521 549 'Filter' => '1', 522 550 )); 523 551 $this->System->FormManager->RegisterFormType('TBankAccount', array( 552 'Type' => 'Reference', 553 'Table' => 'FinanceBankAccount', 554 'Id' => 'Id', 555 'Name' => 'CONCAT(`Comment`, " (", `Number`, "/", '. 556 '(SELECT `FinanceBank`.`Code` FROM `FinanceBank` WHERE `FinanceBank`.`Id`=`FinanceBankAccount`.`Bank`), ")")', 557 'Filter' => '1', 558 )); 524 559 525 560 $this->System->AddModule(new Bill($this->System)); -
trunk/Modules/Map/Map.php
r586 r712 224 224 ), 225 225 )); 226 $this->System->FormManager->RegisterFormType('TMapPosition', array( 227 'Type' => 'Reference', 228 'Table' => 'MapPosition', 229 'Id' => 'Id', 230 'Name' => 'Name', 231 'Filter' => '1', 232 )); 226 233 227 234 } -
trunk/Modules/Network/Network.php
r711 r712 406 406 'Filter' => '1', 407 407 )); 408 $this->System->FormManager->RegisterFormType('TNetworkSegment', array( 409 'Type' => 'Reference', 410 'Table' => 'NetworkSegment', 411 'Id' => 'Id', 412 'Name' => 'Name', 413 'Filter' => '1', 414 )); 415 408 416 } 409 417 -
trunk/Modules/System/System.php
r711 r712 252 252 ), 253 253 )); 254 $this->System->FormManager->RegisterFormType('TCountry', array( 255 'Type' => 'Reference', 256 'Table' => 'Country', 257 'Id' => 'Id', 258 'Name' => 'Name', 259 'Filter' => '1', 260 )); 254 261 $this->System->FormManager->RegisterFormType('TUnitOfMeasure', array( 255 262 'Type' => 'Reference', -
trunk/Modules/TV/TV.php
r604 r712 154 154 ), 155 155 )); 156 156 $this->System->FormManager->RegisterFormType('TTVGroup', array( 157 'Type' => 'Reference', 158 'Table' => 'TVGroup', 159 'Id' => 'Id', 160 'Name' => 'Name', 161 'Filter' => '1', 162 )); 163 $this->System->FormManager->RegisterFormType('TTVListCategory', array( 164 'Type' => 'ManyToOne', 165 'Table' => 'TV', 166 'Id' => 'Id', 167 'Ref' => 'Category', 168 'Filter' => '1', 169 )); 157 170 } 158 171 -
trunk/Modules/Task/Task.php
r711 r712 60 60 ), 61 61 )); 62 $this->System->FormManager->RegisterFormType('TTask', array( 63 'Type' => 'Reference', 64 'Table' => 'Task', 65 'Id' => 'Id', 66 'Name' => 'Name', 67 'Filter' => '1', 68 )); 62 69 $this->System->FormManager->RegisterFormType('TWorkListTask', array( 63 70 'Type' => 'ManyToOne', … … 67 74 'Filter' => '1', 68 75 )); 76 $this->System->FormManager->RegisterFormType('TTaskList', array( 77 'Type' => 'ManyToOne', 78 'Table' => 'Task', 79 'Id' => 'Id', 80 'Ref' => 'Group', 81 'Filter' => '1', 82 )); 83 $this->System->FormManager->RegisterFormType('TTaskGroup', array( 84 'Type' => 'Reference', 85 'Table' => 'TaskGroup', 86 'Id' => 'Id', 87 'Name' => 'Name', 88 'Filter' => '1', 89 )); 69 90 70 91 }
Note:
See TracChangeset
for help on using the changeset viewer.