Ignore:
Timestamp:
Jul 3, 2015, 11:36:07 PM (9 years ago)
Author:
chronos
Message:

to group id instead of DocumentLine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/IS/IS.php

    r738 r740  
    101101    $Output .= 'Registrovaných zařízení: '.$DbRow['0'].'<br/>';
    102102
    103     $DbResult = $this->Database->select('FinanceOperation', 'SUM(`Value` * `Direction`)', '1');
     103    $DbResult = $this->Database->select('FinanceOperation', 'SUM(`Value` * `ValueSign`)', '1');
    104104    $DbRow = $DbResult->fetch_row();
    105105    $Output .= 'Stav placení: '.$DbRow['0'].'<br/>';
     
    423423    {
    424424      if($TypeFilter != '') $TypeFilter .= ' AND ';
    425       $TypeFilter .= '('.$ItemIndex.' = "'.$FormItem['Default'].'")';
     425      $TypeFilter .= '(`'.$ItemIndex.'` = "'.$FormItem['Default'].'")';
    426426    }
    427427    if($TypeFilter != '')
Note: See TracChangeset for help on using the changeset viewer.