Changeset 720 for trunk/Application
- Timestamp:
- Jan 3, 2015, 5:55:34 PM (10 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/FormClasses.php
r719 r720 96 96 'AND (`FinanceOperation`.`Time` >= `DateStart`) AND (`FinanceOperation`.`Taxable` = 1))'), 97 97 'Claims' => array('Type' => 'Integer', 'Caption' => 'Pohledávky', 'Default' => '0', 'Suffix' => 'Kč', 'ReadOnly' => true, 98 'SQL' => '(SELECT ROUND(SUM(`FinanceInvoice`.`Value` )) FROM `FinanceInvoice` WHERE (`FinanceInvoice`.`Time` <= `DateEnd`) '.99 'AND (`FinanceInvoice`.`Time` >= `DateStart`) AND (`FinanceInvoice`.` Value` > 0))'),98 'SQL' => '(SELECT ROUND(SUM(`FinanceInvoice`.`Value` * `FinanceInvoice`.`Direction`)) FROM `FinanceInvoice` WHERE (`FinanceInvoice`.`Time` <= `DateEnd`) '. 99 'AND (`FinanceInvoice`.`Time` >= `DateStart`) AND (`FinanceInvoice`.`Direction` = 1))'), 100 100 'Liabilities' => array('Type' => 'Integer', 'Caption' => 'Závazky', 'Default' => '0', 'Suffix' => 'Kč', 'ReadOnly' => true, 101 'SQL' => '(SELECT -ROUND(SUM(`FinanceInvoice`.`Value` )) FROM `FinanceInvoice` WHERE (`FinanceInvoice`.`Time` <= `DateEnd`) '.102 'AND (`FinanceInvoice`.`Time` >= `DateStart`) AND (`FinanceInvoice`.` Value` < 0))'),101 'SQL' => '(SELECT -ROUND(SUM(`FinanceInvoice`.`Value` * `FinanceInvoice`.`Direction`)) FROM `FinanceInvoice` WHERE (`FinanceInvoice`.`Time` <= `DateEnd`) '. 102 'AND (`FinanceInvoice`.`Time` >= `DateStart`) AND (`FinanceInvoice`.`Direction` = -1))'), 103 103 'InvoiceBalance' => array('Type' => 'Integer', 'Caption' => 'Fakturační rozdíl', 'Default' => '0', 'Suffix' => 'Kč', 'ReadOnly' => true, 104 'SQL' => '(SELECT ROUND(SUM(`FinanceInvoice`.`Value` )) FROM `FinanceInvoice` WHERE (`FinanceInvoice`.`Time` <= `DateEnd`) '.104 'SQL' => '(SELECT ROUND(SUM(`FinanceInvoice`.`Value` * `FinanceInvoice`.`Direction`)) FROM `FinanceInvoice` WHERE (`FinanceInvoice`.`Time` <= `DateEnd`) '. 105 105 'AND (`FinanceInvoice`.`Time` >= `DateStart`))'), 106 106 ), -
trunk/Application/Version.php
r719 r720 1 1 <?php 2 2 3 $Revision = 7 19; // Subversion revision4 $DatabaseRevision = 7 19; // SQL structure revision3 $Revision = 720; // Subversion revision 4 $DatabaseRevision = 720; // SQL structure revision 5 5 $ReleaseTime = strtotime('2015-01-02');
Note:
See TracChangeset
for help on using the changeset viewer.