|
|
@ -70,7 +70,7 @@ class DivisiController extends Controller |
|
|
|
return response()->json(['status'=>'success','message'=> 'Data deleted!','code'=> 200], 200); |
|
|
|
return response()->json(['status'=>'success','message'=> 'Data deleted!','code'=> 200], 200); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function search() |
|
|
|
public function search(Request $request) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$payload = $request->all(); |
|
|
|
$payload = $request->all(); |
|
|
|
$dataBuilder = $this->setUpPayload($payload, 'm_divisi'); |
|
|
|
$dataBuilder = $this->setUpPayload($payload, 'm_divisi'); |
|
|
|