Changeset 605 for trunk/Modules/Finance/Finance.php
- Timestamp:
- Dec 8, 2013, 4:38:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Finance.php
r604 r605 325 325 $this->System->RegisterPage(array('finance', 'zivnost'), 'PageFinanceTaxFiling'); 326 326 327 $this->System->FormManager->RegisterClass('NewPayment', array(328 'Title' => 'Nová platba',329 'Items' => array(330 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => 3),331 'Time' => array('Type' => 'Date', 'Caption' => 'Čas', 'Default' => 'Now'),332 'Subject' => array('Type' => 'TFinanceSubject', 'Caption' => 'Subjekt', 'Default' => 0),333 'Value' => array('Type' => 'Float', 'Caption' => 'Částka [Kč]', 'Default' => '0', 'Suffix' => 'Kč'),334 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Vklad'),335 'Cash' => array('Type' => 'Boolean', 'Caption' => 'Hotovost', 'Default' => '0'),336 'Taxable' => array('Type' => 'Boolean', 'Caption' => 'Ovlivňující daňový základ', 'Default' => '1'),337 //'BankAccount' => array('Type' => 'TBankAccount', 'Caption' => 'Bankovní účet', 'Default' => '1'),338 ),339 ));340 $this->System->FormManager->RegisterClass('NewInvoice', array(341 'Title' => 'Nová faktura',342 'Items' => array(343 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => 5),344 'TimeCreation' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => 'Now'),345 'TimeDue' => array('Type' => 'Date', 'Caption' => 'Čas splatnosti', 'Default' => 'Now'),346 'Subject' => array('Type' => 'TFinanceSubject', 'Caption' => 'Subjekt', 'Default' => 0),347 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Nákup zařízení'),348 'Value' => array('Type' => 'Float', 'Caption' => 'Částka [Kč]', 'Default' => '0', 'Suffix' => 'Kč'),349 //'Items' => array('Type' => 'Array', 'Caption' => 'Položky', 'ItemClass' => 'FinanceInvoiceItem'),350 ),351 ));352 327 $this->System->FormManager->RegisterClass('FinanceOperation', array( 353 328 'Title' => 'Finanční operace',
Note:
See TracChangeset
for help on using the changeset viewer.