فهرست منبع

inserimento rata - fix selezione mesi

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

+ 1 - 1
app/Http/Livewire/Rate.php

@@ -160,7 +160,7 @@ class Rate extends Component
             else
             {
 
-                if ($this->type > 1 && $this->type != sizeof($this->months))
+                if ($this->type > 1 && $this->type < sizeof($this->months))
                 {
                     // $this->errorMsg = 'Hai selezionato un numero di mesi errato in base all\'abbonamento selezionato' . $this->type .'.'. sizeof($this->months);
                     $this->errorMsg = 'Mesi selezionati superiori a quelli previsti dall’abbonamento';