public function filterPaginate($type) { return Project::type($type)->where('customer_id', Session::get('customer_id'))->paginate(15); }