private function consultarCogExternos()
 {
     $cogs_importados = Cog::lists('cog')->all();
     if (count($cogs_importados) > 0) {
         $cogs_externos = \DB::connection($this->db_origen)->table('tbl_cuentas')->whereNotIn('cta', $cogs_importados)->get();
     } else {
         $cogs_externos = \DB::connection($this->db_origen)->table('tbl_cuentas')->get();
     }
     return $cogs_externos;
 }