Changeset 647 for trunk/Modules/Finance/Finance.php
- Timestamp:
- Mar 25, 2014, 7:09:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Finance.php
r646 r647 502 502 'BeforeInsert' => array($this, 'BeforeInsertFinanceOperation'), 503 503 )); 504 $this->System->FormManager->RegisterClass('Employee', array( 505 'Title' => 'Zaměstnanci', 506 'Table' => 'Employee', 507 'Items' => array( 508 'FirstName' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 509 'SecondName' => array('Type' => 'String', 'Caption' => 'Příjmení', 'Default' => ''), 510 'Salary' => array('Type' => 'Integer', 'Caption' => 'Pevná mzda', 'Default' => '0', 'Suffix' => 'Kč'), 511 'ValidFrom' => array('Type' => 'Date', 'Caption' => 'Platnost od', 'Default' => ''), 512 'ValidTo' => array('Type' => 'Date', 'Caption' => 'Platnost do', 'Default' => '', 'Null' => true), 513 'SalaryList' => array('Type' => 'TEmployeeSalaryList', 'Caption' => 'Mzda', 'Default' => ''), 514 ), 515 )); 516 $this->System->FormManager->RegisterClass('EmployeeSalary', array( 517 'Title' => 'Výplaty zaměstnanců', 518 'Table' => 'EmployeeSalary', 519 'Items' => array( 520 'Date' => array('Type' => 'Date', 'Caption' => 'Datum', 'Default' => ''), 521 'Employee' => array('Type' => 'TEmployee', 'Caption' => 'Zaměstnance', 'Default' => ''), 522 'Amount' => array('Type' => 'Integer', 'Caption' => 'Částka', 'Default' => '0', 'Suffix' => 'Kč'), 523 'Contract' => array('Type' => 'TContract', 'Caption' => 'Smlouva', 'Default' => ''), 524 ), 525 'BeforeInsert' => array($this, 'BeforeInsertFinanceOperation'), 526 )); 504 527 505 528 $this->System->AddModule(new Bill($this->System));
Note:
See TracChangeset
for help on using the changeset viewer.