Ignore:
Timestamp:
Oct 4, 2012, 8:12:31 AM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Tabulky finance_monthly_overall a finance_carge přejmenovaný na názvy s velkými prvními písmeny.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/finance/finance.php

    r327 r407  
    9696      $this->BillingPeriods[$BillingPeriod['Id']] = $BillingPeriod;
    9797   
    98     $DbResult = $this->Database->query('SELECT * FROM finance_charge WHERE period='.$Period);
     98    $DbResult = $this->Database->query('SELECT * FROM FinanceCharge WHERE Period='.$Period);
    9999    $Row = $DbResult->fetch_array();
    100100    $this->kWh = $Row['kWh'];
    101     $this->Internet = $Row['internet'];
    102     $this->Sprava = $Row['administration_per_user'];
    103     $this->RealMaxSpeed = $Row['internet_speed'];
    104     $this->SpeedReserve = $Row['internet_speed_reserve'];
    105     $this->BaseSpeedElement = $Row['base_speed_element'];
     101    $this->Internet = $Row['Internet'];
     102    $this->Sprava = $Row['AdministrationPerUser'];
     103    $this->RealMaxSpeed = $Row['InternetSpeed'];
     104    $this->SpeedReserve = $Row['InternetSpeedReserve'];
     105    $this->BaseSpeedElement = $Row['BaseSpeedElement'];
    106106    $this->MaxSpeed = $this->RealMaxSpeed - $this->SpeedReserve;
    107107    $this->TopTariffPrice = $Row['TopTariffPrice'];
Note: See TracChangeset for help on using the changeset viewer.