Changeset 502 for trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
- Timestamp:
- Mar 12, 2013, 10:58:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
r501 r502 2 2 3 3 include_once(dirname(__FILE__).'/FileImport.php'); 4 include_once(dirname(__FILE__).'/ImportPS.php'); 5 include_once(dirname(__FILE__).'/ImportFio.php'); 4 6 5 7 class ModuleFinanceBankAPI extends AppModule … … 27 29 { 28 30 parent::Start(); 29 $this->System->RegisterPage('finance', array('import' => 'PageFileImport')); 31 $FormClass = array( 32 'Title' => 'Import souborů s platbami', 33 'Table' => 'FinanceBank', 34 'SubmitText' => 'Načíst', 35 'Items' => array( 36 'BankAccount' => array('Type' => 'TBankAccount', 'Caption' => 'Bankovní účet', 'Default' => ''), 37 'File' => array('Type' => 'File', 'Caption' => 'Soubor', 'Default' => ''), 38 ), 39 ); 40 $this->System->FormManager->RegisterClass('ImportBankFile', $FormClass); 41 $this->System->RegisterPage('finance', array('import-api' => 'PageImportAPI', 42 'import-soubor' => 'PageImportFile')); 30 43 } 31 44
Note:
See TracChangeset
for help on using the changeset viewer.