Changeset 712 for trunk/Modules/Finance/Finance.php
- Timestamp:
- Dec 29, 2014, 12:56:55 AM (10 years ago)
- File:
-
- 1 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));
Note:
See TracChangeset
for help on using the changeset viewer.