diff --git a/app/jobs/internal/check_new_versions_job.rb b/app/jobs/internal/check_new_versions_job.rb index a78d952e8..be51e7530 100644 --- a/app/jobs/internal/check_new_versions_job.rb +++ b/app/jobs/internal/check_new_versions_job.rb @@ -9,6 +9,7 @@ class Internal::CheckNewVersionsJob < ApplicationJob ::Redis::Alfred.set(::Redis::Alfred::LATEST_CHATWOOT_VERSION, instance_info['version']) update_installation_config(key: 'INSTALLATION_PRICING_PLAN', value: instance_info['plan']) + update_installation_config(key: 'INSTALLATION_PRICING_PLAN_QUANTITY', value: instance_info['plan_quantity']) update_installation_config(key: 'CHATWOOT_SUPPORT_WEBSITE_TOKEN', value: instance_info['chatwoot_support_website_token']) update_installation_config(key: 'CHATWOOT_SUPPORT_IDENTIFIER_HASH', value: instance_info['chatwoot_support_identifier_hash']) update_installation_config(key: 'CHATWOOT_SUPPORT_SCRIPT_URL', value: instance_info['chatwoot_support_script_url']) diff --git a/app/views/super_admin/settings/show.html.erb b/app/views/super_admin/settings/show.html.erb index 7609575a2..45dd46c47 100644 --- a/app/views/super_admin/settings/show.html.erb +++ b/app/views/super_admin/settings/show.html.erb @@ -22,7 +22,7 @@ Refresh -
You are currently on the <%= ChatwootHub.pricing_plan %> edition plan.
+<%= SuperAdmin::FeaturesHelper.plan_details.html_safe %>
You are currently on the <%= ChatwootHub.pricing_plan %> edition plan.
+<%= SuperAdmin::FeaturesHelper.plan_details.html_safe %>
You have <%= User.count %> agents. Please add more licenses.
+