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/manage.php

    r408 r409  
    6969        $Output .= '<a href="clenove.php">Seznam členů</a><br />';
    7070        $Output .= '<a href="zivnost.php">Živnost</a><br />';
     71        $Output .= '<a href="inventory.php">Stav skladu</a><br />';
    7172        $Output .= '<a href="?Operation=GenerateBills">Generovat chybějící doklady</a><br />';
    7273        $Output .= '<a href="import.php">Import plateb</a><br />';
     
    294295
    295296    // 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');
    297298    $Row = $DbResult->fetch_row();
    298299    $TotalDeviceCost = $Row[0];
     
    314315    $Output .= 'Stav pokladny: Členové('.$TotalMemberCash.')';   
    315316
    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');
    317318    $Row = $DbResult->fetch_row();
    318319    $TotalConsumption = $Row[0];
Note: See TracChangeset for help on using the changeset viewer.