Changeset 407 for trunk/finance/finance.php
- Timestamp:
- Oct 4, 2012, 8:12:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/finance.php
r327 r407 96 96 $this->BillingPeriods[$BillingPeriod['Id']] = $BillingPeriod; 97 97 98 $DbResult = $this->Database->query('SELECT * FROM finance_charge WHERE period='.$Period);98 $DbResult = $this->Database->query('SELECT * FROM FinanceCharge WHERE Period='.$Period); 99 99 $Row = $DbResult->fetch_array(); 100 100 $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']; 106 106 $this->MaxSpeed = $this->RealMaxSpeed - $this->SpeedReserve; 107 107 $this->TopTariffPrice = $Row['TopTariffPrice'];
Note:
See TracChangeset
for help on using the changeset viewer.