Merge branch 'master' of https://gitlab.com/online-sistem1/api_arrahn into adminapi
This commit is contained in:
@@ -1670,6 +1670,18 @@ class AdminPageController extends Controller
|
||||
return response()->json($detailslelong, 200);
|
||||
}
|
||||
|
||||
public function UpdateNotisLelong2($kodcaw,Request $request){
|
||||
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
|
||||
$detailslelong = Pelelong::on($cawangan['mysql'])->
|
||||
update(array(
|
||||
'para3'=>$request->content
|
||||
));
|
||||
|
||||
return response()->json($detailslelong, 200);
|
||||
}
|
||||
|
||||
public function paginate($items, $perPage = 5, $page = null, $options = [])
|
||||
{
|
||||
$page = $page ?: (Paginator::resolveCurrentPage() ?: 1);
|
||||
|
||||
Reference in New Issue
Block a user