Changeset 425 for branches/Modular/Modules/Finance/Finance.php
- Timestamp:
- Oct 10, 2012, 12:21:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Modular/Modules/Finance/Finance.php
r424 r425 451 451 $Cash = $Cash[0]; 452 452 453 $DbResult2 = $this->Database->query('SELECT SUM( consumption) FROM network_devices WHERE (user='.$Member['Id'].') AND (used = 1)');453 $DbResult2 = $this->Database->query('SELECT SUM(Consumption) FROM Product WHERE (User='.$Member['Id'].') AND (Used = 1)'); 454 454 $ConsumptionPlus = $DbResult2->fetch_row(); 455 455 $ConsumptionPlus = $ConsumptionPlus[0];
Note:
See TracChangeset
for help on using the changeset viewer.