Changeset 419 for trunk/finance/tarify.php
- Timestamp:
- Oct 8, 2012, 11:17:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/tarify.php
r221 r419 25 25 $Output .= '<tr><td style="color: blue;">'.$Tariff['Name'].'</td><td align="center">'.round($Tariff['SpeedMin'] / 1024).'</td><td align="center" style="color: blue;">'.round($Tariff['SpeedMax'] / 1024).'</td><td align="center">'.$Tariff['Aggregation'].'</td><td align="center">'.$Tariff['MemberCount'].'</td><td align="center" style="color: blue;">'.$Tariff['Price'].'</td><td align="center">'.$Tariff['MemberCount'] * $Tariff['Price'].'</td></tr>'; 26 26 $TotalPrice = $TotalPrice + $Tariff['Price'] * $Tariff['MemberCount']; 27 $TotalMemberCount = $TotalMemberCount + $Tariff['MemberCount']; 27 28 } 28 $Output .= '<tr><td>Součty</td><td colspan="3"> </td><td align="center">'.$ Finance->InternetUsers.'</td><td> </td><td align="center">'.$TotalPrice.'</td></tr>';29 $Output .= '<tr><td>Součty</td><td colspan="3"> </td><td align="center">'.$TotalMemberCount.'</td><td> </td><td align="center">'.$TotalPrice.'</td></tr>'; 29 30 $Output .= '</table>'; 30 31 return($Output); … … 34 35 { 35 36 $Finance = &$this->System->Modules['Finance']; 36 $Output = 'Počet členů s internetovým připojením: <strong>'.$Finance->InternetUsers.'</strong><br /><br />';37 $Output = 'Počet platících členů s internetovým připojením: <strong>'.$Finance->PayingUsers.'</strong><br /><br />'; 37 38 /* 38 39 $Output .= '<table><tr><td valign="top">';
Note:
See TracChangeset
for help on using the changeset viewer.