fix deposite and withdraw
This commit is contained in:
@@ -160,7 +160,7 @@ class AuthController extends Controller
|
||||
if (isset($data['referral_to_id'])) {
|
||||
$referrer = Customer::where('referral_id', $data['referral_to_id'])->first();
|
||||
if (!$referrer) {
|
||||
return response()->json(['message' => 'کد نامعتبره'], 422);
|
||||
return response()->json(['message' => 'کد نامعتبر می باشد'], 422);
|
||||
}
|
||||
} else {
|
||||
if ($this->Config('referral_id') == 'required') {
|
||||
|
||||
Reference in New Issue
Block a user