Changeset 160 for devel/www/finance/monthly_overall.php
- Timestamp:
- Feb 18, 2009, 12:16:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/www/finance/monthly_overall.php
r87 r160 12 12 global $MonthNames; 13 13 14 $Output = '<table cellspacing="0" cellpadding="2" border="1"><tr><th>Rok</th><th>Měsíc</th><th>Internet [Kč]</th><th>Účastníků</th><th>Správa [Kč/účastníka]</th><th>Správa [Kč]</th><th>Spotřeba [Kč/kWh]</th><th>Spotřeba [Kč]</th><th>Obrat [Kč]</th><th>Průměrná cena [Kč/účastníka]</th>< /tr>';14 $Output = '<table cellspacing="0" cellpadding="2" border="1"><tr><th>Rok</th><th>Měsíc</th><th>Internet [Kč]</th><th>Účastníků</th><th>Správa [Kč/účastníka]</th><th>Správa [Kč]</th><th>Spotřeba [Kč/kWh]</th><th>Spotřeba [Kč]</th><th>Obrat [Kč]</th><th>Průměrná cena [Kč/účastníka]</th><td align="center">'.$Month['investment'].'</td></tr>'; 15 15 $Total = array('money' => 0, 'administration_total' => 0, 'consumption_total' => 0, 'total_paid' => 0); 16 16 $DbResult = $this->Database->select('finance_monthly_overall', '*', '1 ORDER BY date DESC'); … … 24 24 $Total['consumption_total'] += $Month['consumption_total']; 25 25 $Total['total_paid'] += $Month['total_paid']; 26 $Total['investment'] += $Month['investment']; 26 27 //if($DateParts[1] == '01') echo('<tr><td style="font-size: 4;" colspan="10"> </td></tr>'); 27 28 }
Note:
See TracChangeset
for help on using the changeset viewer.