Changeset 6 for www/finance/prepocet.php


Ignore:
Timestamp:
Jan 16, 2008, 8:40:08 PM (17 years ago)
Author:
george
Message:

Upraveno: Aktualizace výpočtů tarifů ve financích.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/finance/prepocet.php

    r4 r6  
    152152  //print_r($Charge);
    153153  $DbResult = $Database->insert('finance_charge', array('period' => 0, 'internet' => $Charge['internet'],
    154     'internet_speed' => $Charge['internet_speed'], 'internet_speed_reserve' => $Charge['internet_speed_reserve'],
    155     'administration_per_user' => $Charge['administration_per_user'], 'kWh' => $Charge['kWh']));
     154    'internet_speed' => $Charge['internet_speed'], 'internet_speed_reserve' => $Charge['internet_speed_reserve'], 'administration_per_user' => $Charge['administration_per_user'], 'kWh' => $Charge['kWh'], 'base_speed_element' => $Charge['base_speed_element']));
    156155 
    157156 
     
    164163  {
    165164    $Database->insert('finance_tariffs', array('period' => 0, 'name' => $Tariff['name'], 'id' => $Tariff['id'],
    166       'speed_factor' => $Tariff['speed_factor'], 'price_units' => $Tariff['price_units']));
     165      'speed_factor' => $Tariff['speed_factor'], 'price_units' => $Tariff['price_units'], 'group_id' => $Tariff['group_id'], 'min_speed' => $Tariff['min_speed'], 'max_speed' => $Tariff['max_speed'], 'price' => $Tariff['price']));
    167166  }
    168167 
Note: See TracChangeset for help on using the changeset viewer.