فهرست منبع

course - cambiato messaggio errore tipologie pagamento duplicate

ferrari 2 ماه پیش
والد
کامیت
dee0eed40f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/Http/Livewire/Course.php

+ 2 - 2
app/Http/Livewire/Course.php

@@ -201,7 +201,7 @@ class Course extends Component
             $subscriptions = array_column($this->prices, 'course_subscription_id');
             $unique_subscriptions = array_unique($subscriptions);
             if (count($subscriptions) != count($unique_subscriptions))
-                $this->msgPrices = 'È possibile aggiungere solo un abbonamento per ciascun tipo';
+                $this->msgPrices = 'Non è possibile aggiungere più volte la stessa tipologia di pagamento';
 
             if ($this->msgPrices == '' &&  $this->msgWhen == '')
             {
@@ -373,7 +373,7 @@ class Course extends Component
             $subscriptions = array_column($this->prices, 'course_subscription_id');
             $unique_subscriptions = array_unique($subscriptions);
             if (count($subscriptions) != count($unique_subscriptions))
-                $this->msgPrices = 'È possibile aggiungere solo un abbonamento per ciascun tipo';
+                $this->msgPrices = 'Non è possibile aggiungere più volte la stessa tipologia di pagamento';
 
             if ($this->msgPrices == '' &&  $this->msgWhen == '')
             {