ソースを参照

reducao minimo da contratacao para testes em producao (reverter no futuro)

Gustavo Zanatta 3 週間 前
コミット
60558f0e7a

+ 2 - 2
src/components/login/LoginStepFivePanel.vue

@@ -90,8 +90,8 @@ const priceError = computed(() => {
     return 'Valor inválido';
   }
 
-  if (numericValue < 100) {
-    return 'Valor mínimo R$ 100,00';
+  if (numericValue < 3) {
+    return 'Valor mínimo R$ 3,00';
   }
 
   if (numericValue > 500) {

+ 1 - 1
src/components/profile/ProfileServiceDataDialog.vue

@@ -174,7 +174,7 @@ const priceError = computed(() => {
   const value = Number(form.value.daily_price_8h);
   if (!form.value.daily_price_8h && form.value.daily_price_8h !== 0) return '';
   if (Number.isNaN(value)) return t('validation.rules.required');
-  if (value < 100) return t('profile.service_data.price_min_error');
+  if (value < 3) return t('profile.service_data.price_min_error');
   if (value > 500) return t('profile.service_data.price_max_error');
   return '';
 });

+ 3 - 3
src/i18n/locales/en.json

@@ -209,7 +209,7 @@
         },
         "step_5": {
           "daily_price_title": "What is the value of your daily rate for up to 8 hours?",
-          "daily_price_min_max": "Minimum value $ 100.00. Maximum value $ 500.00.",
+          "daily_price_min_max": "Minimum value $ 3.00. Maximum value $ 500.00.",
           "dont_worry": "Don't worry!",
           "change_anytime": "You can change your daily rate value whenever you want ;)",
           "shorter_services": "Based on the value above, the values for shorter services will be:",
@@ -532,8 +532,8 @@
       "pricing_title": "My rates",
       "pricing_subtitle": "Set your 8-hour daily rate. The others are calculated automatically.",
       "price_8h_label": "What is your rate for up to 8 hours?",
-      "price_min_max": "Minimum R$100.00. Maximum R$500.00.",
-      "price_min_error": "Minimum value R$ 100.00",
+      "price_min_max": "Minimum R$3.00. Maximum R$500.00.",
+      "price_min_error": "Minimum value R$ 3.00",
       "price_max_error": "Maximum value R$ 500.00",
       "shorter_services": "Based on the value above, the rates for shorter services will be:",
       "up_to_6h": "up to 6 hours",

+ 3 - 3
src/i18n/locales/es.json

@@ -209,7 +209,7 @@
         },
         "step_5": {
           "daily_price_title": "¿Cuál es el valor de su jornada de hasta 8 horas?",
-          "daily_price_min_max": "Valor mínimo R$ 100,00. Valor máximo R$ 500,00.",
+          "daily_price_min_max": "Valor mínimo R$ 3,00. Valor máximo R$ 500,00.",
           "dont_worry": "¡No se preocupe!",
           "change_anytime": "Puede cambiar el valor de su jornada cuando quiera ;)",
           "shorter_services": "Basado en el valor anterior, los valores de servicios más cortos serán:",
@@ -532,8 +532,8 @@
       "pricing_title": "Mis tarifas",
       "pricing_subtitle": "Define el valor de tu jornada de 8 horas. Los demás se calculan automáticamente.",
       "price_8h_label": "¿Cuál es tu tarifa por hasta 8 horas?",
-      "price_min_max": "Mínimo R$100,00. Máximo R$500,00.",
-      "price_min_error": "Valor mínimo R$ 100,00",
+      "price_min_max": "Mínimo R$3,00. Máximo R$500,00.",
+      "price_min_error": "Valor mínimo R$ 3,00",
       "price_max_error": "Valor máximo R$ 500,00",
       "shorter_services": "Basado en el valor anterior, las tarifas para servicios más cortos serán:",
       "up_to_6h": "hasta 6 horas",

+ 3 - 3
src/i18n/locales/pt.json

@@ -209,7 +209,7 @@
         },
         "step_5": {
             "daily_price_title": "Qual valor da sua diária de até 8 horas?",
-            "daily_price_min_max": "Valor mínimo R$ 100,00. Valor máximo R$ 500,00.",
+            "daily_price_min_max": "Valor mínimo R$ 3,00. Valor máximo R$ 500,00.",
             "dont_worry": "Não se preocupe!",
             "change_anytime": "Você pode alterar o valor da sua diária quando quiser ;)",
             "shorter_services": "Baseado no valor acima, os valores de serviços mais curtos serão:",
@@ -535,8 +535,8 @@
       "pricing_title": "Meus valores",
       "pricing_subtitle": "Defina o valor da sua diária de 8 horas. Os demais são calculados automaticamente.",
       "price_8h_label": "Qual valor da sua diária de até 8 horas?",
-      "price_min_max": "Valor mínimo R$100,00. Valor máximo R$ 500,00.",
-      "price_min_error": "Valor mínimo R$ 100,00",
+      "price_min_max": "Valor mínimo R$3,00. Valor máximo R$ 500,00.",
+      "price_min_error": "Valor mínimo R$ 3,00",
       "price_max_error": "Valor máximo R$ 500,00",
       "shorter_services": "Baseado no valor acima, os valores de serviços mais curtos serão:",
       "up_to_6h": "até 6 horas",