Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // validasi upline id harus valid
- if($input['upline_id']!=""){
- $findUplineId = \DB::table('mlm_member')->where('upline_id', $input['upline_id'])->first();
- if($findUplineId == null){
- return \Response::json([
- "status" => "FAIL",
- "errorKey" => "Upline ID tidak terdaftar"
- ]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement