= $activeSubscriptions ?>
= translate('active_subscriptions', $i18n) ?>
0) {
?>
= $inactiveSubscriptions ?>
= translate('inactive_subscriptions', $i18n) ?>
= CurrencyFormatter::format($totalCostPerMonth, $code) ?>
= translate('monthly_cost', $i18n) ?>
= CurrencyFormatter::format($totalCostPerYear, $code) ?>
= translate('yearly_cost', $i18n) ?>
= CurrencyFormatter::format($averageSubscriptionCost, $code) ?>
= translate('average_monthly', $i18n) ?>
= CurrencyFormatter::format($mostExpensiveSubscription, $code) ?>
= translate('most_expensive', $i18n) ?>
= CurrencyFormatter::format($amountDueThisMonth, $code) ?>
= translate('amount_due', $i18n) ?>
$category['name'],
"y" => $category["cost"],
];
}
}
$showCategoryCostGraph = count($categoryDataPoints) > 1;
$memberDataPoints = [];
foreach ($memberCost as $member) {
if ($member['cost'] != 0) {
$memberDataPoints[] = [
"label" => $member['name'],
"y" => $member["cost"],
];
}
}
$showMemberCostGraph = count($memberDataPoints) > 1;
$paymentMethodDataPoints = [];
foreach ($paymentMethodCount as $paymentMethod) {
if ($paymentMethod['count'] != 0) {
$paymentMethodDataPoints[] = [
"label" => $paymentMethod['name'],
"y" => $paymentMethod["count"],
];
}
}
$showPaymentMethodCountGraph = count($paymentMethodDataPoints) > 1;
if ($showMemberCostGraph) {
?>
= translate('household_split', $i18n) ?>
= translate('category_split', $i18n) ?>
= translate('payment_method_split', $i18n) ?>