diff --git a/app/services/administrateur_usage_statistics_service.rb b/app/services/administrateur_usage_statistics_service.rb index 5cefeaf68..6c98d954a 100644 --- a/app/services/administrateur_usage_statistics_service.rb +++ b/app/services/administrateur_usage_statistics_service.rb @@ -59,8 +59,8 @@ class AdministrateurUsageStatisticsService .max || 0, nb_dossiers_traite: nb_dossiers_by_synthetic_state['termine'], nb_dossiers_dossier_en_instruction: nb_dossiers_by_synthetic_state['en_instruction'], - admin_roi_low: nb_dossiers_roi * 7.04, - admin_roi_high: nb_dossiers_roi * 17.25 + admin_roi_low: nb_dossiers_roi * 7, + admin_roi_high: nb_dossiers_roi * 17 } if administrateur.current_sign_in_at.present? diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml index 2fe826508..6d4fa787f 100644 --- a/app/views/layouts/_navbar.html.haml +++ b/app/views/layouts/_navbar.html.haml @@ -10,7 +10,7 @@ #navbar-body .row %div{ style: "vertical-align: middle;float:left;position:absolute;line-height: 60px;z-index:2;" } - Besoin d'aide? #{CONTACT_PHONE} ou email ou prenez rendez-vous avec nous + 👉 Besoin d'aide? Contactez-nous par chat, email ou prenez rendez-vous avec nous. -# BEST WTF EVER -# this begin rescue hides potentials bugs by displaying another navbar - begin diff --git a/app/views/manager/demandes/index.html.erb b/app/views/manager/demandes/index.html.erb index 173185b86..6d4fb534a 100644 --- a/app/views/manager/demandes/index.html.erb +++ b/app/views/manager/demandes/index.html.erb @@ -7,7 +7,9 @@ <%= content_for(:title) %> - +

+Plus de 1000 dossiers et "le plus vite possible" 👉 c'est un VIP ❤️. Appelez-le 📞 pour répondre à ses questions. +

<% if @pending_demandes.present? %>
diff --git a/spec/services/administrateur_usage_statistics_service_spec.rb b/spec/services/administrateur_usage_statistics_service_spec.rb index a582c1281..be9b4ce2a 100644 --- a/spec/services/administrateur_usage_statistics_service_spec.rb +++ b/spec/services/administrateur_usage_statistics_service_spec.rb @@ -113,8 +113,8 @@ describe AdministrateurUsageStatisticsService do nb_dossiers_max: 21, nb_dossiers_traite: 7, nb_dossiers_dossier_en_instruction: 7, - admin_roi_low: 147.84, - admin_roi_high: 362.25 + admin_roi_low: 147, + admin_roi_high: 357 ) end end @@ -192,8 +192,8 @@ describe AdministrateurUsageStatisticsService do nb_dossiers_max: 3, nb_dossiers_traite: 1, nb_dossiers_dossier_en_instruction: 1, - admin_roi_low: 21.12, - admin_roi_high: 51.75 + admin_roi_low: 21, + admin_roi_high: 51 ) end end @@ -222,8 +222,8 @@ describe AdministrateurUsageStatisticsService do nb_dossiers_max: 21, nb_dossiers_traite: 7, nb_dossiers_dossier_en_instruction: 7, - admin_roi_low: 147.84, - admin_roi_high: 362.25 + admin_roi_low: 147, + admin_roi_high: 357 ) end end