GROUP BY week_name ORDER BY week_name DESC LIMIT 0, $weeks) b
GROUP BY week_name ORDER BY week_name ASC";
$result = db_query($sql, "Transactions could not be calculated");
- $title = _("Last $weeks weeks Performance");
+ $title = sprintf(_("Last %s weeks Performance"), $weeks);
check_page_security('SA_GLANALYTIC');
$week_names = $sales = $costs = $results = array();
while ($myrow = db_fetch($result))
GROUP BY month_name ORDER BY month_name DESC LIMIT 0, $months) b
GROUP BY month_name ORDER BY month_name ASC";
$result = db_query($sql, "Transactions could not be calculated");
- $title = _("Last $months Months Performance");
+ $title = sprintf(_("Last %s Months Performance"), $months);
check_page_security('SA_GLANALYTIC');
$month_names = $sales = $costs = $results = array();
while ($myrow = db_fetch($result))
$date[$i] = $y.$sep.$m;
$total[$i] = round($total[$i]);
}
- $title = _("Last $months Months Cash Flow");
+ $title = sprintf(_("Last %s Months Cash Flow"), $months);
check_page_security('SA_BANKREP');
$pg->setLabels($date);
$pg->addSerie(_('Balances'), $total, false, true);
case 'GRAPHIC':
$sel = array(_("No Graphics"), _("Vertical bars"), _("Horizontal bars"),
- _("Dots"), _("Lines"), _("Pie"), _("Donut"), _("Half donut"), _("Spline"));
+ _("Dots"), _("Lines"), _("Pie"), _("Donut"), _("Half Donut"), _("Splines"));
return array_selector($name, null, $sel);
case 'SYS_TYPES':