app/Http/Controllers/API/TransController.php
/**
     * get json data to render to frontend
     *
     * @param Request $request
     * @return false|string
     */
get json data to render to frontend
@param Request $request
@return false|string
get json data to render to frontend @param Request $request @return false|string
public function list(Request $request)
    {
        $queryData = $request->get('querydata');
        $qb = new QueryBuilder();
        $transData = [];
        $data = $qb->buildDBQuery($queryData);
        return $qb->getJsonResult($data);
    }
public function list ( Request $ request ) { $ queryData = $ request -> get ( 'querydata' ) ; $ qb = new QueryBuilder ( ) ; $ transData = [ ] ; $ data = $ qb -> buildDBQuery ( $ queryData ) ; return $ qb -> getJsonResult ( $ data ) ; }
get json data to render to frontend
 @param Request $request
 @return false|string
get json data to render to frontend @param Request $request @return false|string