Changeset 409 for trunk/finance/manage.php
- Timestamp:
- Oct 4, 2012, 9:01:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/manage.php
r408 r409 69 69 $Output .= '<a href="clenove.php">Seznam členů</a><br />'; 70 70 $Output .= '<a href="zivnost.php">Živnost</a><br />'; 71 $Output .= '<a href="inventory.php">Stav skladu</a><br />'; 71 72 $Output .= '<a href="?Operation=GenerateBills">Generovat chybějící doklady</a><br />'; 72 73 $Output .= '<a href="import.php">Import plateb</a><br />'; … … 294 295 295 296 // Celkovy prehled 296 $DbResult = $this->Database->query('SELECT SUM( price) FROM network_devices WHERE used = 1');297 $DbResult = $this->Database->query('SELECT SUM(Price) FROM Product WHERE Used = 1'); 297 298 $Row = $DbResult->fetch_row(); 298 299 $TotalDeviceCost = $Row[0]; … … 314 315 $Output .= 'Stav pokladny: Členové('.$TotalMemberCash.')'; 315 316 316 $DbResult = $this->Database->query('SELECT SUM( consumption) FROM network_devices WHERE used=1');317 $DbResult = $this->Database->query('SELECT SUM(Consumption) FROM Product WHERE Used=1'); 317 318 $Row = $DbResult->fetch_row(); 318 319 $TotalConsumption = $Row[0];
Note:
See TracChangeset
for help on using the changeset viewer.