Ignore:
Timestamp:
May 11, 2022, 12:14:42 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Removed commended out print_r and echo commands used only for debugging.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Finance/Trade.php

    r912 r929  
    2323      'LEFT JOIN `FinanceOperationGroup` ON `FinanceOperationGroup`.`Id` = `FinanceOperation`.`Group` '.
    2424      'WHERE (Time <= "'.TimeToMysqlDateTime($EndTime).'") AND (Time >= "'.TimeToMysqlDateTime($this->StartEvidence).'") AND (Taxable = 1) AND (`FinanceOperationGroup`.`ValueSign` = 1)');
    25     //echo('SELECT SUM(Value) FROM FinanceCashFlow WHERE Time <= "'.TimeToMysqlDateTime($EndTime).'" AND Value > 0 AND Taxable = 1'.'<br />');
    2625    $Row = $DbResult->fetch_array();
    2726    $Balance['Income']['End'] = $Row[0] + 0;
     
    3534      'LEFT JOIN `FinanceOperationGroup` ON `FinanceOperationGroup`.`Id` = `FinanceOperation`.`Group` '.
    3635      'WHERE (Time <= "'.TimeToMysqlDateTime($EndTime).'") AND (Time >= "'.TimeToMysqlDateTime($this->StartEvidence).'") AND (Taxable = 1) AND (`FinanceOperationGroup`.`ValueSign` = -1)');
    37           //echo('SELECT -SUM(Value) FROM FinanceCashFlow WHERE Time <= "'.TimeToMysqlDateTime($EndTime).'" AND Value < 0 AND Taxable = 1'.'<br />');
    3836    $Row = $DbResult->fetch_array();
    3937    $Balance['Spend']['End'] = $Row[0] + 0;
Note: See TracChangeset for help on using the changeset viewer.