Changeset 409 for trunk/finance/index.php
- Timestamp:
- Oct 4, 2012, 9:01:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/index.php
r407 r409 35 35 $Output .= 'Počet platících klientů: <strong>'.$Row2[0].'</strong><br />'; 36 36 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'); 38 38 //$Row4 = $DbResult->fetch_array(); 39 39 //$Output .= 'Celková cena zařízení sítě: <strong>'.$Row4[0].' Kč</strong><br />'; … … 60 60 $TotalGain = 0; 61 61 $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'); 63 63 $Row = $DbResult->fetch_array(); 64 64 $TotalConsumption = $this->System->Modules['Finance']->W2Kc($Row[0]);
Note:
See TracChangeset
for help on using the changeset viewer.