Ver código fonte

OrderAssign: fixes can not assign two year & three year plan

Signed-off-by: Beta Soft <betaxab@gmail.com>
Beta Soft 4 anos atrás
pai
commit
342415d1db
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Http/Requests/Admin/OrderAssign.php

+ 1 - 1
app/Http/Requests/Admin/OrderAssign.php

@@ -17,7 +17,7 @@ class OrderAssign extends FormRequest
             'plan_id' => 'required',
             'email' => 'required',
             'total_amount' => 'required',
-            'cycle' => 'required|in:month_price,quarter_price,half_year_price,year_price,onetime_price,reset_price'
+            'cycle' => 'required|in:month_price,quarter_price,half_year_price,year_price,two_year_price,three_year_price,onetime_price,reset_price'
         ];
     }