logic($request); return Excel::download( $customClearancelogic->getExcelCollection(), $filename.'.xlsx'); } }