Changeset 761 for trunk/Modules/Subject/Subject.php
- Timestamp:
- Nov 4, 2015, 9:00:41 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Subject/Subject.php
r755 r761 36 36 'Invoices' => array('Type' => 'TFinanceInvoiceListSubject', 'Caption' => 'Faktury', 'Default' => ''), 37 37 'Payment' => array('Type' => 'Float', 'Caption' => 'Placení', 'Default' => '', 38 'ReadOnly' => true, 'Suffix' => 'Kč', 'SQL' => ' IFNULL((SELECT SUM(`FinanceOperation`.`Value`) FROM `FinanceOperation` '.38 'ReadOnly' => true, 'Suffix' => 'Kč', 'SQL' => 'ROUND(IFNULL((SELECT SUM(`FinanceOperation`.`Value`) FROM `FinanceOperation` '. 39 39 'WHERE `FinanceOperation`.`Subject`=#Id), 0) - IFNULL((SELECT SUM(`FinanceInvoice`.`Value`) FROM `FinanceInvoice` '. 40 'WHERE `FinanceInvoice`.`Subject`=#Id), 0) '),41 'BankAccounts' => array('Type' => 'TFinanceBankAccountListSubject', 'Caption' => 'Bankovní úč ety', 'Default' => ''),40 'WHERE `FinanceInvoice`.`Subject`=#Id), 0))'), 41 'BankAccounts' => array('Type' => 'TFinanceBankAccountListSubject', 'Caption' => 'Bankovní účty', 'Default' => ''), 42 42 ), 43 43 ));
Note:
See TracChangeset
for help on using the changeset viewer.