refactor(plugin): rename Plan to Program and add audience/UTM routes

Rename the Plan bundle to Program across config, routes, menus, and
controllers (Plan -> Initiative), bump version to 0.16.0, and introduce
new audience and UTM taxonomy routes and permissions to support the
expanded Programs feature set.
This commit is contained in:
Alexandre Gain committed 2026-11-13 22:01:32 +01:00
1 parent 8268fad886
commit 71ff11390b
121 files changed
+5011 -2874

No files matched your search

+5 -5
View File
@@ -2,22 +2,22 @@
declare(strict_types=1);
namespace MauticPlugin\PlanBundle\Service;
namespace MauticPlugin\ProgramBundle\Service;
use Mautic\CoreBundle\Helper\CoreParametersHelper;
use Symfony\Component\Intl\Currencies;
use Symfony\Contracts\Translation\TranslatorInterface;
/**
* The currency of all amounts in the plugin (plan budgets, allocation costs and totals).
* The currency of all amounts in the plugin (initiative budgets, allocation costs and totals).
*
* It is a general setting, chosen by an administrator in Settings > Configuration > Plan Settings and
* stored in the local.php parameter plan_currency; users don't pick a currency. Amounts aren't converted
* It is a general setting, chosen by an administrator in Settings > Configuration > Program Settings and
* stored in the local.php parameter program_currency; users don't pick a currency. Amounts aren't converted
* when it changes: they are simply shown with the new currency.
*/
class CurrencyProvider
{
public const CONFIG_PARAMETER = 'plan_currency';
public const CONFIG_PARAMETER = 'program_currency';
public const DEFAULT_CURRENCY = 'EUR';