Ignore:
Timestamp:
Oct 4, 2012, 9:01:28 AM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Přejmenovaná tabulka network_device a hosts_topology.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/finance/index.php

    r407 r409  
    3535    $Output .= 'Počet platících klientů: <strong>'.$Row2[0].'</strong><br />';
    3636
    37     //$DbResult = $this->Database->query('SELECT SUM(price) FROM network_devices WHERE used=1');
     37    //$DbResult = $this->Database->query('SELECT SUM(Price) FROM Product WHERE Used=1');
    3838    //$Row4 = $DbResult->fetch_array();
    3939    //$Output .= 'Celková cena zařízení sítě: <strong>'.$Row4[0].' Kč</strong><br />';
     
    6060    $TotalGain = 0;
    6161    $TotalExpense = 0;
    62     $DbResult = $this->Database->query('SELECT SUM(consumption) FROM network_devices WHERE used=1');
     62    $DbResult = $this->Database->query('SELECT SUM(Consumption) FROM Product WHERE Used=1');
    6363    $Row = $DbResult->fetch_array();
    6464    $TotalConsumption = $this->System->Modules['Finance']->W2Kc($Row[0]);
Note: See TracChangeset for help on using the changeset viewer.