diff --git a/crm/Core/Database/Migration.php b/crm/Core/Database/Migration.php index 99510e9..5fa9537 100644 --- a/crm/Core/Database/Migration.php +++ b/crm/Core/Database/Migration.php @@ -38,7 +38,7 @@ abstract class Migration /** * Set the connection profile for this migration - * Available profiles: 'crm', 'wdmi_importer', 'legacy' + * Available profiles: 'crm', 'moneyflix_importer', 'legacy' */ protected function setConnectionProfile(string $profile): void { diff --git a/crm/Core/Database/Migrations/AddRawRequestToRedirectStats.php b/crm/Core/Database/Migrations/AddRawRequestToRedirectStats.php index 66c5953..73ff294 100644 --- a/crm/Core/Database/Migrations/AddRawRequestToRedirectStats.php +++ b/crm/Core/Database/Migrations/AddRawRequestToRedirectStats.php @@ -42,5 +42,6 @@ class AddRawRequestToRedirectStats extends Migration + diff --git a/crm/Modules/Advertising/Module.php b/crm/Modules/Advertising/Module.php index 58452e8..b441bd8 100644 --- a/crm/Modules/Advertising/Module.php +++ b/crm/Modules/Advertising/Module.php @@ -11,7 +11,7 @@ class Module return [ 'name' => 'Advertising', 'version' => '1.0.0', - 'description' => 'Sistema completo de publicidade e tracking para BetZoo CRM', + 'description' => 'Sistema completo de publicidade e tracking para MoneyFlix', 'author' => 'BitReport Unip. LDA', 'enabled' => true, 'dependencies' => ['Core', 'Analytics', 'GeoAnalytics'], diff --git a/crm/Modules/Advertising/Services/GoogleSheetsService.php b/crm/Modules/Advertising/Services/GoogleSheetsService.php index 76d73d1..af85c70 100644 --- a/crm/Modules/Advertising/Services/GoogleSheetsService.php +++ b/crm/Modules/Advertising/Services/GoogleSheetsService.php @@ -50,8 +50,8 @@ class GoogleSheetsService private function initializeGoogleClient(): void { try { - // Use the same Google Sheets setup as script-builder - $credentialsPath = __DIR__ . '/../../../../projects/script-builder/_offline/betzoobimby-f78a5a64b868.json'; + // Google Sheets credentials path (configure in environment if needed) + $credentialsPath = getenv('GOOGLE_CREDENTIALS_PATH') ?: __DIR__ . '/../../../../config/google-credentials.json'; $credentialsPath = realpath($credentialsPath); if (!$credentialsPath || !file_exists($credentialsPath)) { diff --git a/crm/Modules/Advertising/config.php b/crm/Modules/Advertising/config.php index 7b4b74e..3edab23 100644 --- a/crm/Modules/Advertising/config.php +++ b/crm/Modules/Advertising/config.php @@ -45,8 +45,8 @@ return [ 'cdn' => [ 'provider' => 'cloudflare', 's3_compatible' => true, - 'endpoint' => 'https://cdn.betzoo.app', - 'bucket' => 'betzoo-creatives', + 'endpoint' => 'https://cdn.moneyflix.com', + 'bucket' => 'moneyflix-creatives', 'region' => 'us-east-1' ], 'google_sheets' => [ diff --git a/crm/Modules/ErrorMonitoring/Views/errors.php b/crm/Modules/ErrorMonitoring/Views/errors.php index 0ddddbe..45c98a4 100644 --- a/crm/Modules/ErrorMonitoring/Views/errors.php +++ b/crm/Modules/ErrorMonitoring/Views/errors.php @@ -36,7 +36,7 @@ use App\Core\View; diff --git a/crm/Views/layouts/main.php b/crm/Views/layouts/main.php index 32de052..dbf5898 100644 --- a/crm/Views/layouts/main.php +++ b/crm/Views/layouts/main.php @@ -38,7 +38,7 @@ $branding = Branding::get(); - +