Changeset 660 for trunk/Modules/Finance/Finance.php
- Timestamp:
- May 31, 2014, 12:08:52 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Finance.php
r652 r660 293 293 return($Output); 294 294 } 295 295 296 296 function GetVATByType($TypeId) 297 297 { … … 345 345 'Table' => 'FinanceOperation', 346 346 'DefaultSortColumn' => 'Time', 347 'DefaultSortOrder' => 1, 347 348 'Items' => array( 348 349 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''), … … 367 368 'Table' => 'FinanceInvoice', 368 369 'DefaultSortColumn' => 'Time', 370 'DefaultSortOrder' => 1, 369 371 'Items' => array( 370 372 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''), … … 378 380 'Generate' => array('Type' => 'Boolean', 'Caption' => 'Generovat', 'Default' => ''), 379 381 'PeriodFrom' => array('Type' => 'Date', 'Caption' => 'Období od', 'Default' => '', 'Null' => true), 380 'PeriodTo' => array('Type' => 'Date', 'Caption' => 'Období do', 'Default' => '', 'Null' => true), 382 'PeriodTo' => array('Type' => 'Date', 'Caption' => 'Období do', 'Default' => '', 'Null' => true), 381 383 'Items' => array('Type' => 'TFinanceInvoiceItemListInvoice', 'Caption' => 'Položky', 'Default' => ''), 382 384 'OperationRel' => array('Type' => 'TFinanceInvoiceOperationRelListInvoice', 'Caption' => 'Platba', 'Default' => ''), 383 'OperationRelCount' => array('Type' => 'Integer', 'Caption' => 'Plateb', 385 'OperationRelCount' => array('Type' => 'Integer', 'Caption' => 'Plateb', 384 386 'ReadOnly' => true, 'SQL' => '(SELECT COUNT(`FinanceInvoiceOperationRel`.`Id`) FROM `FinanceInvoiceOperationRel` '. 385 387 'WHERE `FinanceInvoiceOperationRel`.`Invoice`=#Id)'), … … 396 398 'Quantity' => array('Type' => 'Integer', 'Caption' => 'Množství', 'Default' => '1'), 397 399 'VAT' => array('Type' => 'Integer', 'Caption' => 'Daň', 'Default' => '21', 'Suffix' => '%'), 398 'Total' => array('Type' => 'Integer', 'Caption' => 'Celkem', 'Default' => '', 'Suffix' => 'Kč', 400 'Total' => array('Type' => 'Integer', 'Caption' => 'Celkem', 'Default' => '', 'Suffix' => 'Kč', 399 401 'ReadOnly' => true, 'SQL' => '`Price` * `Quantity`'), 400 402 ),
Note:
See TracChangeset
for help on using the changeset viewer.